release: bump version to 2.0.0 #9893
Draft
+105
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
project
section in thepyproject.toml
file according to PEP 621 (#9135).installer.re-resolve
option (default:true
) to allow installation without re-resolving (#9427).--local-version
option topoetry build
(#9064).--clean
option topoetry build
(#9067).poetry publish
(#9101).poetry new
interactively and configure more fields (#9101).installer.only-binary
to enforce the use of binary distribution formats (#9150).poetry search
in legacy sources (#9132).--all-groups
option topoetry install
(#9744).poetry env activate
command as replacement ofpoetry shell
(#9763).--markers
option topoetry add
to add a dependency with markers (#9814).--migrate
option topoetry config
to migrate outdated configs (#9830).--project
option to search thepyproject.toml
file in another directory without switching the directory (#9831).Changed
poetry lock
to--no-update
and introduce a--regenerate
option for the old default behavior (#9327).poetry-plugin-export
so thatpoetry export
is not included per default (#5980).poetry shell
intopoetry-plugin-shell
(#9763).poetry add --optional
to require an extra the optional dependency is added to (#9135).--directory
/-C
(#9831).experimental.system-git-client
toexperimental.system-git
(#9787, #9795).virtualenvs.prefer-active-python
by the inverse settingvirtualenvs.use-poetry-python
and prefer the active Python by default (#9786).tool.poetry
section in favor of the respective fields in theproject
section in thepyproject.toml
file (#9135).platformdirs 2.0
macOS config directory (#8916).#9227).
Requires-Dist
with modern metadata (#9078).setup.py
to determine dependencies (#9099).>=
instead of^
for the Python requirement when initializing a new project (#9558).build-system
to the current major version ofpoetry-core
when initializing a new project (#9812).installer.modern-installation = false
(#9392).virtualenvs.options.no-setuptools
config option and never includesetuptools
per default (#9331).Error
suffix (#9705).--dev
(#9732).poetry show <package>
(#9750).crashtest
(#9108).keyring>=23.3.1
(#9167).build>=1.2.1
(#9283).dulwich>=0.22.6
(#9748).Fixed
poetry env remove
failed ifvirtualenvs.in-project
was set totrue
(#9118).poetry add
resulted in a brokenpyproject.toml
(#9277).envs.toml
(#9286).poetry build --directory
(#9433).poetry install
without an existing lock file (#9345).poetry-check
pre-commit hook did not trigger if onlypoetry.lock
has changed (#9504).virtualenvs.prefer-active-python
was not respected (#9278).direct_url.json
with vcs URLs not compliant with PEP 610 was written (#9007).installer.max-workers
was ignored for the implicit PyPI source (#9815).poetry.toml
) were ignored for the implicit PyPI source (#9816).dulwich
versions resulted in different hashes for a git dependency from a tag (#9849).IndexError
(#9505).allow-prereleases = false
still allowed pre-releases if no other solution was found (#9798).poetry check
falsely reported that an invalid source "pypi" is referenced in dependencies (#9475).poetry install --sync
tried to uninstall system site packages if the virtual environment was created withvirtualenvs.options.system-site-packages = true
(#9863).Docs
pre-commit-autoupdate
as an alternative topre-commit autoupdate
(#9716).exclude
andinclude
(#9734).~=
(#9783).poetry-core (
2.0.0
)TODO