release: bump version to 2.0.0 #9893
Merged
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
projectsection in thepyproject.tomlfile according to PEP 621 (#9135, #9917).installer.re-resolveoption (default:true) to allow installation without re-resolving (#9427).--local-versionoption topoetry build(#9064).--cleanoption topoetry build(#9067).poetry publish(#9101).poetry newinteractively and configure more fields (#9101).installer.only-binaryto enforce the use of binary distribution formats (#9150).poetry searchin legacy sources (#9132).--all-groupsoption topoetry install(#9744).poetry env activatecommand as replacement ofpoetry shell(#9763).--markersoption topoetry addto add a dependency with markers (#9814).--migrateoption topoetry configto migrate outdated configs (#9830).--projectoption to search thepyproject.tomlfile in another directory without switching the directory (#9831).poetry synccommand as replacement ofpoetry install --sync(#9801).Changed
poetry lockto--no-updateand introduce a--regenerateoption for the old default behavior (#9327).poetry-plugin-exportso thatpoetry exportis not included per default (#5980).poetry shellintopoetry-plugin-shell(#9763).poetry add --optionalto require an extra the optional dependency is added to (#9135).--directory/-C(#9831).experimental.system-git-clienttoexperimental.system-git(#9787, #9795).virtualenvs.prefer-active-pythonby the inverse settingvirtualenvs.use-poetry-pythonand prefer the active Python by default (#9786).tool.poetrysection in favor of the respective fields in theprojectsection in thepyproject.tomlfile (#9135).poetry install --syncin favor ofpoetry sync(#9801).platformdirs 2.0macOS config directory (#8916).Requires-Distwith modern metadata (#9078).setup.pyto determine dependencies (#9099).>=instead of^for the Python requirement when initializing a new project (#9558).build-systemto the current major version ofpoetry-corewhen initializing a new project (#9812).installer.modern-installation = false(#9392).virtualenvs.options.no-setuptoolsconfig option and never includesetuptoolsper default (#9331).Errorsuffix (#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 removefailed ifvirtualenvs.in-projectwas set totrue(#9118).poetry addresulted in a brokenpyproject.toml(#9277).envs.toml(#9286).poetry build --directory(#9433).poetry installwithout an existing lock file (#9345).poetry-checkpre-commit hook did not trigger if onlypoetry.lockhas changed (#9504).virtualenvs.prefer-active-pythonwas not respected (#9278).direct_url.jsonwith vcs URLs not compliant with PEP 610 was written (#9007).installer.max-workerswas ignored for the implicit PyPI source (#9815).poetry.toml) were ignored for the implicit PyPI source (#9816).dulwichversions resulted in different hashes for a git dependency from a tag (#9849).IndexError(#9505).allow-prereleases = falsestill allowed pre-releases if no other solution was found (#9798).poetry checkfalsely reported that an invalid source "pypi" is referenced in dependencies (#9475).poetry install --synctried to uninstall system site packages if the virtual environment was created withvirtualenvs.options.system-site-packages = true(#9863).Docs
pre-commit-autoupdateas an alternative topre-commit autoupdate(#9716).excludeandinclude(#9734).~=(#9783).poetry-core (
2.0.0)platform_releasemarker (#722).in/not inin generic constraints (#722).SOURCE_DATE_EPOCHwhen building packages (#766, #781).METADATAfiles with version 2.3 instead of 2.2 (#707).xin version constraints (#770).tool.poetry.dev-dependenciesin favor oftool.poetry.group.dev.dependencies(#754).platlibdirectory of the wrong Python was used (#726).+was not allowed in git URL paths (#765).