Poetry 1.2.0 has been officially released. During the 2-year development cycle, the new version contains many changes, new features and bugfixes.

Poetry is a Python dependency management and packaging tool.

Major changes

  • Adopt the new standalone installer

old versionget-poetry.pyThe install script has been replaced with install.python-poetry.org. The installer is now a separate project with its own issue tracker.

The new installer includes the following improvements:

  • Install distributions from standard wheels, not platform-specific special archives.therefore supportpipxand manual installation, and prevent distros from needing to use newer dependency versions.
  • Standard mounting locations for Poetry itself andpoetryCLI wrapper.
  • Installation from local paths or Git repositories (including references such as branches or commits) is supported.
  • Modification guidance provided$PATHbut the user’s configuration will not be changed by automated tools.
  • Poetry will install using the Python interpreter that invokes the installer.

# Linux, macOS, Windows (WSL)
$ curl -sSL https://install.python-poetry.org | python3 -

# Windows (Powershell)
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
  • Administering Python 2.7 projects is no longer supported

Poetry 1.2 no longer supports managing Python 2.7 projects for reasons including:

  • It increased technical debt and slowed down Poetry’s development.
  • Project has enough time to migrate to Python 3.

If users still rely on Poetry to manage Python 2.7 projects, they can continue to use the Poetry 1.1 branch, but they will no longer be officially maintained.

  • Python 2.7, 3.5 and 3.6 are no longer supported as runtime environments

Poetry 1.2 dropped runtime environment support for Python 2.7, 3.5, and 3.6. Running Poetry on these versions is now untested and unsupported. This change is about installing and running Poetry itself, Poetry still supports managing projects that require Python 3.5 and 3.6 and older Python 3 versions.

See the release announcement for details.

#Poetry #released #Python #dependency #management #packaging #tool #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *