Skip to content

Commit

Permalink
Add 1.2.0rc2 announcement (#70)
Browse files Browse the repository at this point in the history
* doc(history): add changelog for `1.2.0rc2`

* doc(blog): add Poetry `1.2.0rc2` announcement

* doc(blog): mention `ProjectPackage.version`
  • Loading branch information
mkniewallner committed Aug 28, 2022
1 parent 76d734c commit c21eff7
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 1 deletion.
47 changes: 47 additions & 0 deletions content/blog/2022-08-26-announcing-poetry-1-2-0rc2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
layout: single
title: "Announcing Poetry 1.2.0rc2"
date: 2022-08-26 00:00:00
categories: ["releases"]
tags: ["1.x", "1.2"]
---

The Poetry team is pleased to announce the immediate availability of Poetry **1.2.0rc2**.

<!--more-->

If you have a previous version of Poetry installed via the [official installer]({{< relref "docs/#installation" >}}),
getting Poetry **1.2.0rc2** is as easy as:

```bash
$ poetry self update --preview
```

This release fixes a few issues that were discovered by Poetry users on 1.2.0rc1.

Since 1.2.0rc2 is a near-exact representation of 1.2.0, we invite users to test this release and
report issues using the [issue tracker](https://github.com/python-poetry/poetry/issues "Poetry's issue tracker").

Documentation for Poetry 1.2 is available [here](https://python-poetry.org/docs/1.2/). We also invite users to report
any issue found in the documentation, whether it's typos, unclear definitions or missing things.

For a complete list of changes, you can refer to the [change log](/history).

## Lock file consistency between 1.1 and 1.2

Because of a regression in Poetry 1.2 pre-releases, in some conditions, lock files generated with 1.2 were not usable on
1.1. This is now fixed with [#6243](https://github.com/python-poetry/poetry/pull/6243).

## Avoid creating virtual environment on `poetry self`

Running `poetry self` was creating a virtual environment, which was unnecessary and could lead to issues. This is not
the case anymore with [#6226](https://github.com/python-poetry/poetry/pull/6226).

## Better support for plugins

`ProjectPackage.set_version()` has been removed in poetry 1.2.0b2 due to hashing issues. That broke plugins setting the
project's version dynamically. In order to cover this use case again, hashing issues have been resolved and
`ProjectPackage.version` can be set now with [#447](https://github.com/python-poetry/poetry-core/pull/447).

`Pool.remove_repository()` had some inconsistencies that made it hard to create plugins. This is now fixed
with [#6231](https://github.com/python-poetry/poetry/pull/6231).
22 changes: 21 additions & 1 deletion content/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ layout: single
title: History
---

## [1.2.0rc2] - 2022-08-26

### Fixed

- Fixed an issue where virtual environments were created unnecessarily when running `poetry self` commands ([#6226](https://github.com/python-poetry/poetry/pull/6226))
- Ensure that packages' `pretty_name` are written to the lock file ([#6243](https://github.com/python-poetry/poetry/pull/6243))

### Improvements

- Improved the consistency of `Pool().remove_repository()` to make it easier to write poetry plugins ([#6231](https://github.com/python-poetry/poetry/pull/6231))

### Docs

- Removed mentions of Python 2.7 from docs ([#6235](https://github.com/python-poetry/poetry/pull/6235))
- Added note about the difference between groups and extras ([#6232](https://github.com/python-poetry/poetry/pull/6232))

## [1.2.0rc1] - 2022-08-22

### Added
Expand Down Expand Up @@ -1421,9 +1437,13 @@ This release **must** be downloaded via the `get-poetry.py` script and not via t

Initial release

[unreleased]: https://github.com/python-poetry/poetry/compare/1.2.0b1...master
[unreleased]: https://github.com/python-poetry/poetry/compare/1.2.0rc2...master
[1.2.0rc2]: https://github.com/python-poetry/poetry/releases/tag/1.2.0rc2
[1.2.0rc1]: https://github.com/python-poetry/poetry/releases/tag/1.2.0rc1
[1.1.15]: https://github.com/python-poetry/poetry/releases/tag/1.1.15
[1.2.0b3]: https://github.com/python-poetry/poetry/releases/tag/1.2.0b3
[1.1.14]: https://github.com/python-poetry/poetry/releases/tag/1.1.14
[1.2.0b2]: https://github.com/python-poetry/poetry/releases/tag/1.2.0b2
[1.2.0b1]: https://github.com/python-poetry/poetry/releases/tag/1.2.0b1
[1.1.13]: https://github.com/python-poetry/poetry/releases/tag/1.1.13
[1.1.12]: https://github.com/python-poetry/poetry/releases/tag/1.1.12
Expand Down

0 comments on commit c21eff7

Please sign in to comment.