Announcing Poetry 1.2.0rc2

Published on August 26, 2022 in Releases with tags 1.X 1.2

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

If you have a previous version of Poetry installed via the official installer, getting Poetry 1.2.0rc2 is as easy as:

$ 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.

Documentation for Poetry 1.2 is available here. 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.

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.

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.

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.

Pool.remove_repository() had some inconsistencies that made it hard to create plugins. This is now fixed with #6231.