Python package manager Poetry now supported

Change effective on 06 November 2024

The Python buildpack now supports using the package manager Poetry to install app dependencies during the build.

To use Poetry, ensure your app has a pyproject.toml + poetry.lock file and no other package manager files (such as requirements.txt, Pipfile or Pipfile.lock) otherwise pip/Pipenv will take precedence for backwards compatibility.

If you are using a third-party Poetry buildpack that exports a requirements.txt file, you will need to remove that buildpack otherwise the requirements file it generates will take precedence.

For more details, see our Python Support docs or the Python buildpack GitHub PR.