-
Notifications
You must be signed in to change notification settings - Fork 31
Update dependency poetry to v2 #1266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
712381b
to
94ec468
Compare
See fedora-infra/kerneltest#36 (comment). Hold up. |
gridhead
requested changes
Jan 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See fedora-infra/kerneltest#36 (comment).
Hold up.
4a76269
to
e642958
Compare
75a91aa
to
af34178
Compare
42db9eb
to
570b474
Compare
32f5566
to
b93c804
Compare
d0bd8b1
to
0eeac87
Compare
d9e1837
to
cf10973
Compare
c4454e4
to
81ed19e
Compare
c448d10
to
deecdd1
Compare
94911b0
to
ce61d9d
Compare
165f0e5
to
02ca744
Compare
870a7e0
to
47d8140
Compare
2eec67a
to
c87b086
Compare
7a1f1d3
to
bf1a796
Compare
bf1a796
to
a95ef3e
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
a95ef3e
to
0716c77
Compare
So this has been held up for a while… I think this is fixed in 2.0.1 and we can use 1.x alternatively, too, so I’ll merge. |
nphilipp
approved these changes
Jun 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
python
Pull requests that update Python code
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.2.0b2
->^1.2.0-beta.2 || ^2.0.0
Release Notes
python-poetry/poetry (poetry)
v2.1.3
Compare Source
Changed
importlib-metadata<8.7
for Python 3.9 because of a breaking change in importlib-metadata 8.7 (#10374).Fixed
--directory
option did not work if a plugin, which accesses the poetry instance during its activation, was installed (#10352).poetry env activate -v
printed additional information to stdout instead of stderr so that the output could not be used as designed (#10353).poetry-core (
2.1.3
)project
section were treated as non-optional when a source was defined for them in thetool.poetry
section (#857).===
were not parsed correctly (#860).extra
markers with a value starting with "in" were not validated correctly (#862).v2.1.2
Compare Source
Changed
Fixed
poetry lock
was not deterministic (#10276).poetry env activate
returned the wrong command fortcsh
(#10243).poetry env activate
returned the wrong command forpwsh
on Linux (#10256).Docs
poetry-core (
2.1.2
)#846).
extra
markers were not simplified (#842,#845,
#847).
python_version
markers was not recognized as empty (#849).python_version
markers were not simplified (#848,#851).
v2.1.1
Compare Source
Fixed
poetry env use python
does not choose the Python from the PATH (#10187).poetry-core (
2.1.1
)python_version
marker resulted in an invalid marker (#838).v2.1.0
Compare Source
Added
build
command build-system agnostic (#10059,#10092).
--config-settings
option topoetry build
(#10059).config-settings
when building dependencies (#10129).findpython
to find the Python interpreters (#10097).--no-truncate
option topoetry show
(#9580).#10065,
#10126,
#10127,
#10132).
Changed
poetry new
defaults to "src" layout by default (#10135).#10114,
#10138,
#10146).
--priority
(#10134).Fixed
#10067,
#10128).
poetry init
was not able to find a package on PyPI while adding dependencies interactively (#10055).@latest
descriptor was incorrectly passed to the core requirement parser (#10069).True
(in contrast totrue
) were interpreted asfalse
(#10080).poetry env activate
reported a misleading error message (#10087).poetry add --optional
would not correctly update the lock file (#10076).pip
was not installed/updated before other dependencies resulting in a race condition (#10102).keyring
simultaneously (#10062).zipapp
(#10074).Docs
env
commands (#10027).name
andversion
fields are always required if theproject
section is specified (#10033).project.gui-scripts
#10121.#10133).
poetry-core (
2.1.0
)__pycache__
directory and*.pyc
files were included in sdists and wheels (#835).v2.0.1
Compare Source
Added
poetry search
in legacy sources (#9949).poetry source show
output when PyPI is implicitly enabled (#9974).Changed
Fixed
poetry sync
did not remove packages that were not requested (#9946).poetry check
failed even though there were just warnings and add a--strict
option to fail on warnings (#9983).poetry update
,poetry add
andpoetry remove
with--only
uninstalled packages from other groups (#10014).poetry update
,poetry add
andpoetry remove
uninstalled all extra packages (#10016).poetry self update
did not recognize Poetry's own environment (#9995).poetry install
started withWarning:
instead ofError:
(#9945).Command.set_poetry
, which is used by plugins, was removed (#9981).poetry build --clean
showed a malformed short option instead of the description (#9994).Docs
project
section (#9996).project.readme
andproject.urls
(#9948).poetry install --sync
withpoetry sync
in the section about synchronizing dependencies (#9944).poetry shell
withpoetry env activate
in the basic usage section (#9963).project.name
is always required when theproject
section is used (#9989).poetry-plugin-export
in the section aboutpoetry export
(#9954).poetry-core (
2.0.1
)Home-page
withProject-URL: Homepage
(#807).tool.poetry.packages
without a specifiedformat
were not initialized with the default value resulting in aKeyError
(#805).project.urls
entries were not processed correctly resulting in aKeyError
(#807).project.dependencies
viatool.poetry.dependencies
were ignored ifproject.optional-dependencies
were defined (#811).v2.0.0
Compare Source
Added
project
section in thepyproject.toml
file according to PEP 621 (#9135,#9917).
installer.re-resolve
option (default:true
) to allow installation without re-resolving (#9427).--local-version
option topoetry build
(#9064).--clean
option topoetry build
(#9067).poetry publish
(#9101).poetry new
interactively and configure more fields (#9101).installer.only-binary
to enforce the use of binary distribution formats (#9150).--all-groups
option topoetry install
(#9744).poetry env activate
command as replacement ofpoetry shell
(#9763).--markers
option topoetry add
to add a dependency with markers (#9814).--migrate
option topoetry config
to migrate outdated configs (#9830).--project
option to search thepyproject.toml
file in another directory without switching the directory (#9831).poetry sync
command as replacement ofpoetry install --sync
(#9801).Changed
poetry lock
to--no-update
and introduce a--regenerate
option for the old default behavior (#9327).poetry-plugin-export
so thatpoetry export
is not included per default (#5980).poetry shell
intopoetry-plugin-shell
(#9763).poetry add --optional
to require an extra the optional dependency is added to (#9135).--directory
/-C
(#9831).experimental.system-git-client
toexperimental.system-git
(#9787, #9795).virtualenvs.prefer-active-python
by the inverse settingvirtualenvs.use-poetry-python
and prefer the active Python by default (#9786).tool.poetry
section in favor of the respective fields in theproject
section in thepyproject.toml
file (#9135).poetry install --sync
in favor ofpoetry sync
(#9801).platformdirs 2.0
macOS config directory (#8916).#9227).
Requires-Dist
with modern metadata (#9078).setup.py
to determine dependencies (#9099).>=
instead of^
for the Python requirement when initializing a new project (#9558).build-system
to the current major version ofpoetry-core
when initializing a new project (#9812).installer.modern-installation = false
(#9392).virtualenvs.options.no-setuptools
config option and never includesetuptools
per default (#9331).Error
suffix (#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 remove
failed ifvirtualenvs.in-project
was set totrue
(#9118).poetry add
resulted in a brokenpyproject.toml
(#9277).envs.toml
(#9286).poetry build --directory
(#9433).poetry install
without an existing lock file (#9345).poetry-check
pre-commit hook did not trigger if onlypoetry.lock
has changed (#9504). 8000virtualenvs.prefer-active-python
was not respected (#9278).direct_url.json
with vcs URLs not compliant with PEP 610 was written (#9007).installer.max-workers
was ignored for the implicit PyPI source (#9815).poetry.toml
) were ignored for the implicit PyPI source (#9816).dulwich
versions resulted in different hashes for a git dependency from a tag (#9849).IndexError
(#9505).allow-prereleases = false
still allowed pre-releases if no other solution was found (#9798).poetry check
falsely reported that an invalid source "pypi" is referenced in dependencies (#9475).poetry install --sync
tried to uninstall system site packages if the virtual environment was created withvirtualenvs.options.system-site-packages = true
(#9863).Docs
pre-commit-update
as an alternative topre-commit autoupdate
(#9716).exclude
andinclude
(#9734).~=
(#9783).poetry-core (
2.0.0
)platform_release
marker (#722).in
/not in
in generic constraints (#722).SOURCE_DATE_EPOCH
when building packages (#766,#781).
METADATA
files with version 2.3 instead of 2.2 (#707).x
in version constraints (#770).#769).
tool.poetry.dev-dependencies
in favor oftool.poetry.group.dev.dependencies
(#754).platlib
directory of the wrong Python was used (#726).+
was not allowed in git URL paths (#765).Configuration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), 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.