Update dependency poetry to v2 #197
Open
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.1->^2.0.0Release 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).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.