Skip to content

Releases: python-poetry/poetry

0.11.1

29 Jun 16:41
0.11.1
86d76e3
Compare
Choose a tag to compare

Fixed

  • Fixed an error when locking dependencies on Python 2.7.

0.11.0

28 Jun 23:49
0.11.0
3b04676
Compare
Choose a tag to compare

Added

  • Added support for packages, include and exclude properties.
  • Added a new shell command. (Thanks to @cauebs)
  • Added license validation in init command.

Changed

  • Changed the dependency installation order, deepest dependencies are now installed first.
  • Improved solver error messages.
  • poetry now always reads/writes the pyproject.toml file with the utf-8 encoding.
  • config --list now lists all available settings.
  • init no longer adds pytest to development dependencies.

Fixed

  • Fixed handling of duplicate dependencies with different constraints.
  • Fixed system requirements in lock file for sub dependencies.
  • Fixed detection of new prereleases.
  • Fixed unsafe packages being locked.
  • Fixed versions detection in custom repositories.
  • Fixed package finding with multiple custom repositories.
  • Fixed handling of root incompatibilities.
  • Fixed an error where packages from custom repositories would not be found.
  • Fixed wildcard Python requirement being wrongly set in distributions metadata.
  • Fixed installation of packages from a custom repository.
  • Fixed remove command's case sensitivity. (Thanks to @cauebs)
  • Fixed detection of .egg-info directory for non-poetry projects. (Thanks to @gtors)
  • Fixed only-wheel builds. (Thanks to @gtors)
  • Fixed key and array order in lock file to avoid having differences when relocking.
  • Fixed errors when git could not be found.

0.10.3

04 Jun 21:05
0.10.3
a5186e6
Compare
Choose a tag to compare

Fixed

  • Fixed self:update command on Windows.
  • Fixed self:update not picking up new versions.
  • Fixed a RuntimeError on Python 3.7.
  • Fixed bad version number being picked with private repositories.
  • Fixed handling of duplicate dependencies with same constraint.
  • Fixed installation from custom repositories.
  • Fixed setting an explicit version in version command.
  • Fixed parsing of wildcards version constraints.

0.10.2

31 May 22:13
0.10.2
8e3692c
Compare
Choose a tag to compare

Fixed

  • Fixed handling of in environment markers with commas.
  • Fixed a UnicodeDecodeError when an error occurs in venv.
  • Fixed Python requirements not properly set when resolving dependencies.
  • Fixed terminal coloring being activated even if not supported.
  • Fixed wrong executable being picked up on Windows in poetry run.
  • Fixed error when listing distribution links for private repositories.
  • Fixed handling of PEP 440 ~= version constraint.

0.10.1

29 May 02:01
0.10.1
0e0a261
Compare
Choose a tag to compare

Fixed

  • Fixed packages not found for prerelease version constraints when resolving dependencies.
  • Fixed init and add commands.

0.10.0

28 May 17:12
0.10.0
1ec6a02
Compare
Choose a tag to compare

Added

  • Added a new, more efficient dependency resolver.
  • Added a new init command to generate a pyproject.toml file in existing projects.
  • Added a new setting settings.virtualenvs.in-project to make poetry create the project's virtualenv inside the project's directory.
  • Added the --extras and --python options to debug:resolve to help debug dependency resolution.
  • Added a --src option to new command to create an src layout.
  • Added support for specifying the platform for dependencies.
  • Added the --python option to the add command.
  • Added the --platform option to the add command.
  • Added a --develop option to the install command to install path dependencies in development/editable mode.
  • Added a develop command to install the current project in development mode.

Changed

  • Improved the show command to make it easier to check if packages are properly installed.
  • The script command has been deprecated, use run instead.
  • The publish command no longer build packages by default. Use --build to retrieve the previous behavior.
  • Improved support for private repositories.
  • Expanded version constraints now keep the original version's precision.
  • The lock file hash no longer uses the project's name and version.
  • The LICENSE file, or similar, is now automatically added to the built packages.

Fixed

  • Fixed the dependency resolver selecting incompatible packages.
  • Fixed override of dependency with dependency with extras in dev-dependencies.

0.9.1

18 May 22:02
0.9.1
3240acc
Compare
Choose a tag to compare

Fixed

  • Fixed handling of package names with dots. (Thanks to bertjwregeer)
  • Fixed path dependencies being resolved from the current path instead of the pyproject.toml file. (Thanks to radix)

0.9.0

07 May 17:08
0.9.0
87c4aaf
Compare
Choose a tag to compare

Added

  • Added the cache:clear command.
  • Added support for git dependencies in the add command.
  • Added support for path dependencies in the add command.
  • Added support for extras in the add command.
  • Added support for directory dependencies.
  • Added support for src/ layout for packages.
  • Added automatic detection of .venv virtualenvs.

Changed

  • Drastically improved dependency resolution speed.
  • Dependency resolution caches now use sha256 hashes.
  • Changed CLI error style.
  • Improved debugging of dependency resolution.
  • Poetry now attempts to find pyproject.toml not only in the directory it was
    invoked in, but in all its parents up to the root. This allows to run Poetry
    commands in project subdirectories.
  • Made the email address for authors optional.

Fixed

  • Fixed handling of extras when resolving dependencies.
  • Fixed self:update command for some installation.
  • Fixed handling of extras when building projects.
  • Fixed handling of wildcard dependencies wen packaging/publishing.
  • Fixed an error when adding a new packages with prereleases in lock file.
  • Fixed packages name normalization.

0.8.6

30 Apr 16:00
0.8.6
4829967
Compare
Choose a tag to compare

Fixed

  • Fixed config files not being created.

0.8.5

19 Apr 18:57
0.8.5
8708540
Compare
Choose a tag to compare

Fixed

  • Fixed a bug in dependency resolution which led to installation errors.
  • Fixed a bug where malformed sdists would lead to dependency resolution failing.