Added
- Add support for
poetry search
in legacy sources (#9949). - Add a message in the
poetry source show
output when PyPI is implicitly enabled (#9974).
Changed
- Improve performance for merging markers from overrides at the end of dependency resolution (#10018).
Fixed
- Fix an issue where
poetry sync
did not remove packages that were not requested (#9946). - Fix an issue where
poetry check
failed even though there were just warnings and add a--strict
option to fail on warnings (#9983). - Fix an issue where
poetry update
,poetry add
andpoetry remove
with--only
uninstalled packages from other groups (#10014). - Fix an issue where
poetry update
,poetry add
andpoetry remove
uninstalled all extra packages (#10016). - Fix an issue where
poetry self update
did not recognize Poetry's own environment (#9995). - Fix an issue where read-only system site-packages were not considered when loading an environment with system site-packages (#9942).
- Fix an issue where an error message in
poetry install
started withWarning:
instead ofError:
(#9945). - Fix an issue where
Command.set_poetry
, which is used by plugins, was removed (#9981). - Fix an issue where the help text of
poetry build --clean
showed a malformed short option instead of the description (#9994).
Docs
- Add a FAQ entry for the migration from Poetry-specific fields to the
project
section (#9996). - Fix examples for
project.readme
andproject.urls
(#9948). - Add a warning that package sources are a Poetry-specific feature that is not included in core metadata (#9935).
- Replace
poetry install --sync
withpoetry sync
in the section about synchronizing dependencies (#9944). - Replace
poetry shell
withpoetry env activate
in the basic usage section (#9963). - Mention that
project.name
is always required when theproject
section is used (#9989). - Fix the constraint of
poetry-plugin-export
in the section aboutpoetry export
(#9954).
poetry-core (2.0.1
)
- Replace the deprecated core metadata field
Home-page
withProject-URL: Homepage
(#807). - Fix an issue where includes from
tool.poetry.packages
without a specifiedformat
were not initialized with the default value resulting in aKeyError
(#805). - Fix an issue where some
project.urls
entries were not processed correctly resulting in aKeyError
(#807). - Fix an issue where dynamic
project.dependencies
viatool.poetry.dependencies
were ignored ifproject.optional-dependencies
were defined (#811).