Poetry v1.2.0.b3 Release Notes

Release Date: 2022-07-13 // almost 2 years ago
  • 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 to poetry 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 through poetry config (#5818)
    • ๐Ÿ›  Fixed uninstallation of git dependencies on Windows (#5836)
    • ๐Ÿ›  Fixed an issue where ~ was not correctly expanded in virtualenvs.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)