GitHub
01/06/2025, 12:36 PMpoetry from 1.8.5 to 2.0.0
Release notes
Sourced from poetry's releases.
2.0.0
Added
• Add support for thesection in theprojectfile according to PEP 621 (#9135, #9917).pyproject.toml
• Add support for defining Poetry plugins that are required by the project and automatically installed if not present (#9547).
• Lock resulting markers and groups and add aoption (default:installer.re-resolve) to allow installation without re-resolving (#9427).true
• Add aoption to--local-version(#9064).poetry build
• Add aoption to--clean(#9067).poetry build
• Add FIPS support for(#9101).poetry publish
• Add the option to useinteractively and configure more fields (#9101).poetry new
• Add a config optionto enforce the use of binary distribution formats (#9150).installer.only-binary
• Add support forin legacy sources (#9132).poetry search
• Add support to resume downloads from connection resets (#9422).
• Add the option to define a constraint for the required Poetry version to manage the project (#9547).
• Add anoption to--all-groups(#9744).poetry install
• Add ancommand as replacement ofpoetry env activate(#9763).poetry shell
• Add aoption to--markersto add a dependency with markers (#9814).poetry add
• Add aoption to--migrateto migrate outdated configs (#9830).poetry config
• Add aoption to search the--projectfile in another directory without switching the directory (#9831).pyproject.toml
• Add support for shortened hashes to define git dependencies (#9748).
• Add partial support for conflicting extras (#9553).
• Add acommand as replacement ofpoetry sync(#9801).poetry install --sync
Changed
• Change the default behavior oftopoetry lockand introduce a--no-updateoption for the old default behavior (#9327).--regenerate
• Remove the dependency onso thatpoetry-plugin-exportis not included per default (#5980).poetry export
• Outsourceintopoetry shell(#9763).poetry-plugin-shell
• Change the interface ofto require an extra the optional dependency is added to (#9135).poetry add --optional
• Actually switch the directory when using `--directory`/`-C` (#9831).
• Drop support for Python 3.8 (#9692).
• Renametoexperimental.system-git-client(#9787, #9795).experimental.system-git
• Replaceby the inverse settingvirtualenvs.prefer-active-pythonand prefer the active Python by default (#9786).virtualenvs.use-poetry-python
• Deprecate several fields in thesection in favor of the respective fields in thetool.poetrysection in theprojectfile (#9135).pyproject.toml
• Deprecatein favor ofpoetry install --sync(#9801).poetry sync
• Upgrade the warning if the current project cannot be installed to an error (#9333).
• Remove special handling formacOS config directory (#8916).platformdirs 2.0
• Tweak PEP 517 builds (#9094).
• Use Poetry instead of pip to manage dependencies in isolated build environments (#9168, #9227).
• Trust emptywith modern metadata (#9078).Requires-Dist
• Do PEP 517 builds instead of parsingto determine dependencies (#9099).setup.py
• Drop support for reading lock files prior version 1.0 (created with Poetry prior 1.1) (#9345).
• Default toinstead of>=for the Python requirement when initializing a new project (#9558).^
• Limitto the current major version ofbuild-systemwhen initializing a new project (#9812).poetry-core
• Remove pip-based installation, i.e.(#9392).installer.modern-installation = false
• Removeconfig option and never includevirtualenvs.options.no-setuptoolsper default (#9331).setuptools
• Rename exceptions to have ansuffix (#9705).Error
• Remove deprecated CLI options and methods and revoke the deprecation of(#9732).--dev
• Ignore installed packages during dependency resolution (#9851).
• Improve the error message on upload failure (#9701).... (truncated) Changelog Sourced from poetry's changelog.
[2.0.0] - 2025-01-05
Added
• Add support for thesection in theprojectfile according to PEP 621 (#9135,#9917).pyproject.toml
• Add support for defining Poetry plugins that are required by the project and automatically installed if not present (#9547).
• Lock resulting markers and groups and add ameltano/sdk GitHub Actions: Upload files to release GitHub Actions: PyPI GitHub Actions: Provenance GitHub Actions: Check tag ✅ 25 other checks have passed 25/29 successful checksoption (default:installer.re-resolve) to allow installation without re-resolving (<https:…true
GitHub
01/06/2025, 12:41 PM