This repository was archived by the owner on Nov 19, 2025. It is now read-only.
chore(deps): update dependency poetry to v2#23
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
4ca4b91 to
2b2136d
Compare
7f4ed90 to
5965f65
Compare
5965f65 to
7992452
Compare
7992452 to
5462bd2
Compare
5462bd2 to
b8dfb62
Compare
b488bf5 to
12e14e1
Compare
12e14e1 to
6f862fe
Compare
6f862fe to
7a0ff49
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
1.7.0->2.2.1Release Notes
python-poetry/poetry (poetry)
v2.2.1Compare Source
Fixed
poetry self showfailed with a message about an invalid output format (#10560).Docs
poetry-core (
2.2.1)v2.2.0Compare Source
Added
--formatoption topoetry showto alternatively output json format (#10487).Changed
installer.no-binaryandinstaller.only-binaryso that explicit package names will take precedence over:all:(#10278).poetry installwhen a wheel is built from source (#10404).dulwich>=0.24.0(#10492).virtualenv>=20.33again (#10506).findpython>=0.7(#10510).importlib-metadata>=8.7(#10511).Fixed
poetry newdid not create the project structure in an existing empty directory (#10431).poetry-core (
2.2.0)[project.license](#870)..gitignorewere not included in the distribution (#874).v2.1.4Compare Source
Changed
virtualenv<20.33to work around an issue where Poetry uses the wrong Python version (#10491).pyproject.tomlfile (#10471).Fixed
poetry installwas called with--no-plugins(#10405).Docs
poetry addif no version constraint is explicitly specified (#10445).v2.1.3Compare Source
Changed
importlib-metadata<8.7for Python 3.9 because of a breaking change in importlib-metadata 8.7 (#10374).Fixed
--directoryoption did not work if a plugin, which accesses the poetry instance during its activation, was installed (#10352).poetry env activate -vprinted additional information to stdout instead of stderr so that the output could not be used as designed (#10353).poetry-core (
2.1.3)projectsection were treated as non-optional when a source was defined for them in thetool.poetrysection (#857).===were not parsed correctly (#860).extramarkers with a value starting with "in" were not validated correctly (#862).v2.1.2Compare Source
Changed
Fixed
poetry lockwas not deterministic (#10276).poetry env activatereturned the wrong command fortcsh(#10243).poetry env activatereturned the wrong command forpwshon Linux (#10256).Docs
poetry-core (
2.1.2)#846).
extramarkers were not simplified (#842,#845,
#847).
python_versionmarkers was not recognized as empty (#849).python_versionmarkers were not simplified (#848,#851).
v2.1.1Compare Source
Fixed
poetry env use pythondoes not choose the Python from the PATH (#10187).poetry-core (
2.1.1)python_versionmarker resulted in an invalid marker (#838).v2.1.0Compare Source
Added
buildcommand build-system agnostic (#10059,#10092).
--config-settingsoption topoetry build(#10059).config-settingswhen building dependencies (#10129).findpythonto find the Python interpreters (#10097).--no-truncateoption topoetry show(#9580).#10065,
#10126,
#10127,
#10132).
Changed
poetry newdefaults to "src" layout by default (#10135).#10114,
#10138,
#10146).
--priority(#10134).Fixed
#10067,
#10128).
poetry initwas not able to find a package on PyPI while adding dependencies interactively (#10055).@latestdescriptor was incorrectly passed to the core requirement parser (#10069).True(in contrast totrue) were interpreted asfalse(#10080).poetry env activatereported a misleading error message (#10087).poetry add --optionalwould not correctly update the lock file (#10076).pipwas not installed/updated before other dependencies resulting in a race condition (#10102).keyringsimultaneously (#10062).zipapp(#10074).Docs
envcommands (#10027).nameandversionfields are always required if theprojectsection is specified (#10033).project.gui-scripts#10121.#10133).
poetry-core (
2.1.0)__pycache__directory and*.pycfiles were included in sdists and wheels (#835).v2.0.1Compare Source
Added
poetry searchin legacy sources (#9949).poetry source showoutput when PyPI is implicitly enabled (#9974).Changed
Fixed
poetry syncdid not remove packages that were not requested (#9946).poetry checkfailed even though there were just warnings and add a--strictoption to fail on warnings (#9983).poetry update,poetry addandpoetry removewith--onlyuninstalled packages from other groups (#10014).poetry update,poetry addandpoetry removeuninstalled all extra packages (#10016).poetry self updatedid not recognize Poetry's own environment (#9995).poetry installstarted withWarning:instead ofError:(#9945).Command.set_poetry, which is used by plugins, was removed (#9981).poetry build --cleanshowed a malformed short option instead of the description (#9994).Docs
projectsection (#9996).project.readmeandproject.urls(#9948).poetry install --syncwithpoetry syncin the section about synchronizing dependencies (#9944).poetry shellwithpoetry env activatein the basic usage section (#9963).project.nameis always required when theprojectsection is used (#9989).poetry-plugin-exportin the section aboutpoetry export(#9954).poetry-core (
2.0.1)Home-pagewithProject-URL: Homepage(#807).tool.poetry.packageswithout a specifiedformatwere not initialized with the default value resulting in aKeyError(#805).project.urlsentries were not processed correctly resulting in aKeyError(#807).project.dependenciesviatool.poetry.dependencieswere ignored ifproject.optional-dependencieswere defined (#811).v2.0.0Compare Source
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).--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).#9227).
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-updateas 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).#769).
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).v1.8.5Compare Source
Changed
pkginfo>=1.12to fix an issue with an unknown metadata version 2.4 (#9888).v1.8.4Compare Source
Added
Changed
virtualenv>=20.26.6to mitigate potential command injection when runningpoetry shellin untrusted projects (#9757).poetry-core (
1.9.1)3.13to the list of available Python versions (#747).v1.8.3Compare Source
Added
+(#9207).Changed
pkginfo>=1.10to ensure support for packages with metadata version 2.3 (#9130).Fixed
#9226).
poetry selfcommands printed a warning that the current project cannot be installed (#9302).poetry installsporadically failed with aKeyErrordue to a race condition (#9335).Docs
poetry shell(#9060).poetry add(#9080).publish(#9110).pyproject.tomlexample for a dependency with multiple extras (#9138).poetry add(#9230).poetry publish(#9255).--readmeoption inpoetry new(#9260).dependencies(#9256).pipx(#9320).v1.8.2Compare Source
Fixed
lazy-wheelerror handling if the index server is behaving badly in an unexpected way (#9051).lazy-wheelerror handling if the index server does not handle HTTP range requests correctly (#9082).lazy-wheelerror handling if the index server pretends to support HTTP range requests but does not respect them (#9084).lazy-wheelto allow redirects for HEAD requests (#9087).lazy-wheelerrors (#9059).poetry addfailed in non-package mode if no project name was set (#9046).v1.8.1Compare Source
Fixed
packaging(#9031).Docs
masterbranch tomain(#9022).v1.8.0Compare Source
Added
non-packagemode for use cases where Poetry is only used for dependency management (#8650).lazy-wheelconfig option (default:true) to reduce wheel downloads during dependency resolution (#8815,#8941).
poetry checkvalidates that no unknown sources are referenced in dependencies (#8709).tokey intool.poetry.packagesto allow custom subpackage names (#8791).keyring(#8910).--syncoption topoetry update(#8931).--outputoption topoetry build(#8828).--dist-diroption topoetry publish(#8828).Changed
default(#8771).installer.modern-installationtofalse(#8988).pip<19(#8894).requests-toolbelt>=1(#8680).platformdirs4.x (#8668).xattr1.x on macOS (#8801).fish(#8804).systemtobasein output ofpoetry env info(#8832).poetry version(#8849).tool.poetry.scripts(#8898).Fixed
poetry shellfailed when Python has been installed with MSYS2 (#8644).sdistpath dependency (#8682).poetry installfailed because an unused extra was not available (#8548).poetry install --syncdid not remove an unrequested extra (#8621).poetry initdid not allow specific characters in the author field (#8779).sdistsfrom misconfigured servers (#8701).poetry shellfailed inzshif a space was in the venv path (#7245).setup.pywere ignored silently (#9000).virtualenv.optionswere ignored (#9015).virtualenvs.options.no-pipandvirtualenvs.options.no-setuptoolswere not normalized (#9015).Docs
--no-devwith--without devin the FAQ (#8659).poetry-checkinstead of the deprecatedpoetry-lockpre-commit hook (#8675).poetry show --why(#8817).poetry update(#8706).poetry runand externally managed environments (#8748).toxfortox4.x (#8658).formatoption forincludeandexcludevalue (#8852).toxand configured credentials (#8888).pipx(#8878).poetry addwith git dependencies over ssh (#8911).--only maininstead of--without dev(#8921).developattribute is a Poetry-specific feature and not propagated to other tools (#8971).poetry-core ([
1.9.0](https://redirect.githConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.