Skip to content

Releases: python-poetry/poetry

1.0.1

10 Jan 12:47
1.0.1
01ec4a1
Compare
Choose a tag to compare

Fixed

  • Fixed an error in env use where the wrong Python executable was being used to check compatibility (#1736).
  • Fixed an error where VCS dependencies were not properly categorized as development dependencies (#1725).
  • Fixed an error where some shells would no longer be usable after using the shell command (#1673).
  • Fixed an error where explicitly included files where not included in wheel distributions (#1750).
  • Fixed an error where some Git dependencies url were not properly parsed (#1756).
  • Fixed an error in the env commands on Windows if the path to the executable contained a space (#1774).
  • Fixed several errors and UX issues caused by keyring on some systems (#1788).
  • Fixed errors when trying to detect installed packages (#1786).
  • Fixed an error when packaging projects where Python packages were not properly detected (#1592).
  • Fixed an error where local file dependencies were exported as editable when using the export command (#1840).
  • Fixed the way environment markers are propagated and evaluated when resolving dependencies (#1829, #1789).
  • Fixed an error in the PEP-508 compliant representation of directory and file dependencies (#1796).
  • Fixed an error where invalid virtual environments would be silently used. They will not be recreated and a warning will be displayed (#1797).
  • Fixed an error where dependencies were not properly detected when reading the setup.py file in some cases (#1764).

1.0.0

12 Dec 20:11
1.0.0
794dac5
Compare
Choose a tag to compare

Added

  • Added an export command to export the lock file to other formats (only requirements.txt is currently supported).
  • Added a env info command to get basic information about the current environment.
  • Added a env use command to control the Python version used by the project.
  • Added a env list command to list the virtualenvs associated with the current project.
  • Added a env remove command to delete virtualenvs associated with the current project.
  • Added support for POETRY_HOME declaration within get-poetry.py.
  • Added support for declaring a specific source for dependencies.
  • Added support for disabling PyPI and making another repository the default one.
  • Added support for declaring private repositories as secondary.
  • Added the ability to specify packages on a per-format basis.
  • Added support for custom urls in metadata.
  • Full environment markers are now supported for dependencies via the markers property.
  • Added the ability to specify git dependencies directly in add, it no longer requires the --git option.
  • Added the ability to specify path dependencies directly in add, it no longer requires the --path option.
  • Added support for url dependencies (#1260).
  • Publishing to PyPI using API tokens is now supported (#1275).
  • Licenses can now be identified by their full name.
  • Added support for custom certificate authority and client certificates for private repositories.
  • Poetry can now detect and use Conda environments.

Changed

  • Slightly changed the lock file, making it potentially incompatible with previous Poetry versions.
  • The cache:clear command has been renamed to cache clear.
  • The debug:info command has been renamed to debug info.
  • The debug:resolve command has been renamed to debug resolve.
  • The self:update command has been renamed to self update.
  • Changed the way virtualenvs are stored (names now depend on the project's path).
  • The --git option of the add command has been removed.
  • The --path option of the add command has been removed.
  • The add command will now automatically select the latest prerelease if only prereleases are available.
  • The add command can now update a dependencies if an explicit constraint is given (#1221).
  • Removed the --develop option from the install command.
  • Improved UX when searching for packages in the init command.
  • The shell command has been improved.
  • The poetry run command now uses os.execvp() rather than spawning a new subprocess.
  • Specifying dependencies with allows-prereleases in the pyproject.toml file is deprecated for consistency with the add command. Use allow-prereleases instead.
  • Improved the error message when the lock file is invalid.
  • Whenever Poetry needs to use the "system" Python, it will now call sys.executable instead of the python command.
  • Improved the error message displayed on conflicting Python requirements (#1681).
  • Improved the site-packages directory detection (#1683).

Fixed

  • Fixed transitive extra dependencies being removed when updating a specific dependency.
  • The pyproject.toml configuration is now properly validated.
  • Fixed installing Poetry-based packages breaking with pip.
  • Fixed packages with empty markers being added to the lock file.
  • Fixed invalid lock file generation in some cases.
  • Fixed local version identifier handling in wheel file names.
  • Fixed packages with invalid metadata triggering an error instead of being skipped.
  • Fixed the generation of invalid lock files in some cases.
  • Git dependencies are now properly locked to a specific revision when specifying a branch or a tag.
  • Fixed the behavior of the ~= operator.
  • Fixed dependency resolution for conditional development dependencies.
  • Fixed generated dependency constraints when they contain inequality operators.
  • The run command now properly handles the -- separator.
  • Fixed some issues with path dependencies being seen as git dependencies.
  • Fixed various issues with the way extra markers in dependencies were handled.
  • Fixed the option conflicts in the run command.
  • Fixed wrong latest version being displayed when executing show -l.
  • Fixed TooManyRedirects errors being raised when resolving dependencies.
  • Fixed custom indices dependencies being constantly updated.
  • Fixed the behavior of the --install option of the debug resolve command.
  • Fixed an error in show when using the -o/--outdated option.
  • Fixed PEP 508 url dependency handling.
  • Fixed excluded files via the exclude being included in distributions.
  • Fixed an error in env use if the virtualenvs.in-project setting is activated (#1682)
  • Fixed handling of empty and any markers in unions of markers (#1650).

1.0.0b9

07 Dec 13:33
1.0.0b9
e943a4e
Compare
Choose a tag to compare
1.0.0b9 Pre-release
Pre-release

Changed

  • Improved the error message displayed on conflicting Python requirements (#1681).
  • Improved the site-packages directory detection (#1683).

Fixed

  • Fixed an error in env use if the virtualenvs.in-project setting is activated (#1682)
  • Fixed handling of empty and any markers in unions of markers (#1650).

1.0.0b8

26 Nov 20:05
1.0.0b8
a7188a1
Compare
Choose a tag to compare
1.0.0b8 Pre-release
Pre-release

Fixed

  • Fixed source references not being locked for private indices

1.0.0b7

22 Nov 16:53
1.0.0b7
c77b442
Compare
Choose a tag to compare
1.0.0b7 Pre-release
Pre-release

Fixed

  • Fixed PEP 508 url dependency handling.
  • Fixed excluded files via the exclude being included in distributions.
  • Fixed duplicated indices when exporting a requirement.txt file.

1.0.0b6

20 Nov 21:54
1.0.0b6
8131859
Compare
Choose a tag to compare
1.0.0b6 Pre-release
Pre-release

Changed

  • Improved the error message when the lock file is invalid
  • Simplified output for poetry version
  • Made installation text more clear on dependencies
  • Whenever Poetry needs to use the "system" Python, it will now call sys.executable instead of the python command.

Fixed

  • Fixed importlib-metadata being installed for Python 3.8
  • Fixed an error in show when using the -o/--outdated option.

1.0.0b5

15 Nov 10:38
1.0.0b5
481d81d
Compare
Choose a tag to compare
1.0.0b5 Pre-release
Pre-release

Fixed

  • Fixed wrong latest version being displayed when executing show -l.
  • Fixed TooManyRedirects errors being raised when resolving dependencies.
  • Fixed custom indices dependencies being constantly updated.
  • Fixed the behavior of the --install option of the debug resolve command.
  • Fixed a recursion error for duplicate constraints with only extras.
  • Fixed an invalid git url error when solving with installed and locked git dependencies.
  • Fixed support for egg files in InstalledRepository.

1.0.0b4

08 Nov 14:53
1.0.0b4
51c7042
Compare
Choose a tag to compare
1.0.0b4 Pre-release
Pre-release

Changed

  • Specifying dependencies with allows-prereleases in the pyproject.toml file is deprecated for consistency with the add command. Use allow-prereleases instead.

Fixed

  • Fixed some issues with path dependencies being seen as git dependencies.
  • Fixed various issues with the way extra markers in dependencies were handled.
  • Fixed the option conflicts in the run command.

1.0.0b3

25 Oct 15:38
1.0.0b3
9addba4
Compare
Choose a tag to compare
1.0.0b3 Pre-release
Pre-release

Added

  • Added support for support for custom certificate authority and client certificates for private repositories.
  • Poetry can now detect and use Conda environments.

Fixed

  • Fixed the behavior of the ~= operator.
  • Fixed dependency resolution for conditional development dependencies.
  • Fixed generated dependency constraints when they contain inequality operators.
  • The run command now properly handles the -- separator.

1.0.0b2

11 Oct 16:18
1.0.0b2
21ed84e
Compare
Choose a tag to compare
1.0.0b2 Pre-release
Pre-release

Changed

  • Improved files metadata in lock files
  • Improved UX when searching for packages in the init command.
  • The shell has been improved.
  • The poetry run command now uses os.execvp() rather than spawning a new subprocess.

Fixed

  • Fixed local version identifier handling in wheel file names.
  • Fixed packages with invalid metadata triggering an error instead of being skipped.
  • Fixed the generation of invalid lock files in some cases.
  • Git dependencies are now properly locked to a specific revision when specifying a branch or a tag.