main: Update dependency poetry to v2 #873
Closed
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.8.5->==2.0.1Release Notes
python-poetry/poetry (poetry)
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).Configuration
📅 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 becomes conflicted, 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.