Update dependency poetry to v2 - #123
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/poetry-2.x
branch
from
September 19, 2026 20:25
3c65a34 to
82cccfa
Compare
renovate
Bot
force-pushed
the
renovate/poetry-2.x
branch
from
September 20, 2026 10:45
82cccfa to
3730a69
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.5.1→2.5.1Release Notes
python-poetry/poetry (poetry)
v2.5.1Compare Source
Fixed
installer.builtin-uninstallset failed with aTypeError(#11077).v2.5.0Compare Source
Added
installer.builtin-uninstallsetting to uninstall packages with a built-in uninstaller instead of invokingpip uninstall(#10931).Changed
httpsrepository viahttp(#11073).virtualenvs.createisfalse(#10941).poetry init(#10909).pyproject.tomlfile in the message about already present packages inpoetry add(#10908).#10896,
#10903,
#10949,
#10951,
#10953).
#10954).
#10958).
poetry searchfor single-token queries (#10906).requests(#11004).Fixed
KeyError(#11008).pyproject.tomlfile (#10987).developsetting changed (#11022).filewere not installed when installing the project (#10736).direct_url.jsonfor path dependencies (#10917).poetry show <package>showed a version that was not relevant for the current environment if there were multiple versions of the package in the lock file (#11003).poetry show --outdateddid not find newer versions of packages from sources withexplicitpriority (#10982).poetry env activateignored the environment that was determined by the application, e.g. when using--directory(#10916).poetry initproposed an invalid package name if the directory name was not a valid package name (#10975).Docs
--licenseoption ofpoetry initandpoetry new(#11064).poetry updatewith dependency groups (#11024).poetry runwith console scripts (#10984).--no-cachedisables (#10915).poetry self update(#10923).#10938,
#11000,
#11043).
poetry-core (
2.5.0)<Vversion constraint wrongly allowed pre-releases ofVin some cases (#939).!= <value>constraint was wrongly considered to allow all values of a<value> not inconstraint (#955).platform_releasemarkers with incompatible constraint types failed (#956).IndexError(#964).IndexError(#971).~=constraint was wrong for versions with more than three release segments (#973).v2.4.3Compare Source
Fixed
v2.4.2Compare Source
Fixed
v2.4.1Compare Source
Changed
installer==0.7.0(#10887).Fixed
poetry update <package>failed when<package>was a transitive dependency (#10885).v2.4.0Compare Source
Added
solver.min-release-agesetting to require package releases to be a certain number of days old before they are considered during dependency resolution (#10824).solver.min-release-age-excludeto exclude selected packages from age filtering (#10824).solver.min-release-age-exclude-sourceto exclude all packages from selected package indexes from age filtering (#10824).Changed
poetry update(#10721).installer>=1.0.0(#10869).findpython>=0.8(#10874).Fixed
requires-pluginsfails on Windows if scheme paths are on different drives (#10869).poetry selfcommands failed due to an outdated lock file (#10715).poetry env activatedid not work for bash on Windows (#10716).poetry debug resolvefailed when there was a package with a marker (#10807).--config-settings(#10804).poetry publish --buildignored failing builds and uploaded stale artifacts (#10802).poetry publishwas aborted instead of retrying after package registration (#10801).lazy-wheel(#10800).lazy-wheelwas corrupted when part of it had already been cached (#10806).METADATAfile caused an exception on Python 3.15+ (#10860).http-basiccould not be set for repository names with periods (#10845).Docs
.gitignoreontool.poetry.packages(#10835).poetry-core (
2.4.0)packagingto26.2(#936).v2.3.4Compare Source
Fixed
v2.3.3Compare Source
Fixed
gitdependencies from annotated tags could not be updated (#10719).VIRTUAL_ENVorCONDA_PREFIXenvironment variables (e.g., afterconda deactivate) would cause Poetry to incorrectly detect an active virtualenv (#10784)..venvwas a file instead of a directory (#10777).poetry publish --no-interaction --buildrequested user interaction (#10769).poetry initandpoetry newcreated a deprecatedproject.licenseformat (#10787).Docs
poetry installandpoetry update(#10713).pyproject.tomlexamples (#10753).poetry cache clearexample (#10749).pipxinstallation instructions (#10783).poetry-core (
2.3.2)platform_releasecould not be parsed on Debian Trixie (#930).project.readme.textin thepyproject.tomlfile resulted in broken metadata (#914).include-groupentries were lost when[tool.poetry.group]also definedinclude-groupsfor the same group (#924).<value> not in <marker>constraints was wrongly treated as always satisfied (#925).>version constraint (#921).0was treated as equal to the corresponding public version (#920).!= <version>constraint wrongly disallowed pre releases and post releases of the specified version (#929).inandnot inconstraints were wrongly not allowed by specific compound constraints (#927).v2.3.2Compare Source
Changed
dulwich>=1.0(#10701).poetry-core (
2.3.1)platform_releasecould not be parsed on Windows Server (#911).v2.3.1Compare Source
Fixed
Docs
v2.3.0Compare Source
Added
pylock.tomlfiles withpoetry-plugin-export(#10677).requires-poetrybefore any other validation (#10593).project.readmewhen runningpoetry check(#10604).poetry cache clearoptional (#10627).--no-cachesolves an issue (#10585).poetry initwhen tryingpoetry newfor an existing directory (#10563).poetry publish --skip-existingfor new Nexus OSS versions (#10603).poetry debug info(#10588).Changed
installer.re-resolvefromtruetofalse(#10622).poetry.utils._compat.metadata, which is sometimes used in plugins, in favor ofimportlib.metadata(#10634).poetry python(#10606).poetry init, only add the readme field in thepyproject.tomlif the readme file exists (#10679).dulwich>=0.25.0(#10674).Fixed
poetry removedid not work for PEP 735 dependency groups withinclude-groupitems (#10587).poetry removecaused danglinginclude-groupreferences in PEP 735 dependency groups (#10590).poetry adddid not work for PEP 735 dependency groups withinclude-groupitems (#10636).poetry-plugin-export(#10667).poetry publishused the metadata of the project instead of the metadata of the build artifact (#10624).poetry env usejust used another Python version instead of failing when the requested version was not supported by the project (#10685).poetry env activatereturned the wrong command fordash(#10696).data-dirandpython.installation-dircould not be set (#10595).virtualenvs.promptcaused an incomprehensible error message (#10648).Docs
~/.netrcfor Poetry credential configuration (#10630).packagesare automatically detected (#10680).poetry-core (
2.3.0)python_full_versionmarkers with pre-release versions were parsed incorrectly (#893).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](https://Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.