Important: This release fixes a critical issue that prevented hashes from being retrieved when locking dependencies, due to a breaking change on PyPI JSON API (see #5972 and the upstream change for more details).
After upgrading, you have to clear Poetry cache manually to get that feature working correctly again:
$ poetry cache clear pypi --all
Added
- Added
--only-root
topoetry install
to install a project without its dependencies (#5783)
Changed
- Improved user experience of
poetry init
(#5838) - Added default timeout for all HTTP requests, to avoid hanging requests (#5881)
- Updated
poetry init
to better specify how to skip adding dependencies (#5946) - Updated Poetry repository names to avoid clashes with user-defined repositories (#5910)
Fixed
- Fixed an issue where extras where not handled if they did not match the case-sensitive name of the packages (#4122)
- Fixed configuration of
experimental.system-git-client
option throughpoetry config
(#5818) - Fixed uninstallation of git dependencies on Windows (#5836)
- Fixed an issue where
~
was not correctly expanded invirtualenvs.path
(#5848) - Fixed an issue where installing/locking dependencies would hang when setting an incorrect git repository (#5880)
- Fixed an issue in
poetry publish
when keyring was not properly configured (#5889) - Fixed duplicated line output in console (#5890)
- Fixed an issue where the same wheels where downloaded multiple times during installation (#5871)
- Fixed an issue where dependencies hashes could not be retrieved when locking due to a breaking change on PyPI JSON API (#5973)
- Fixed an issue where a dependency with non-requested extras could not be installed if it is requested with extras by another dependency (#5770)
- Updated git backend to correctly read local/global git config when using dulwich as a git backend (#5935)
- Fixed an issue where optional dependencies where not correctly exported when defining groups (#5819)
Docs
- Fixed configuration instructions for repositories specification (#5809)
- Added a link to dependency specification from
pyproject.toml
(#5815) - Improved
zsh
autocompletion instructions (#5859) - Improved installation and update documentations (#5857)
- Improved exact requirements documentation (#5874)
- Added documentation for
@
operator (#5822) - Improved autocompletion documentation (#5879)
- Improved
scripts
definition documentation (#5884)