chore(deps): update dependency poetry to v2 #110
+1
−1
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.4.2
->2.1.2
Release Notes
python-poetry/poetry (poetry)
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).virtualenvs.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).v1.8.5
Compare Source
Changed
pkginfo>=1.12
to fix an issue with an unknown metadata version 2.4 (#9888).v1.8.4
Compare Source
Added
Changed
virtualenv>=20.26.6
to mitigate potential command injection when runningpoetry shell
in untrusted projects (#9757).poetry-core (
1.9.1
)3.13
to the list of available Python versions (#747).v1.8.3
Compare Source
Added
+
(#9207).Changed
pkginfo>=1.10
to ensure support for packages with metadata version 2.3 (#9130).Fixed
#9226).
poetry self
commands printed a warning that the current project cannot be installed (#9302).poetry install
sporadically failed with aKeyError
due to a race condition (#9335).Docs
poetry shell
(#9060).poetry add
(#9080).publish
(#9110).pyproject.toml
example for a dependency with multiple extras (#9138).poetry add
(#9230).poetry publish
(#9255).--readme
option inpoetry new
(#9260).dependencies
(#9256).pipx
(#9320).v1.8.2
Compare Source
Fixed
lazy-wheel
error handling if the index server is behaving badly in an unexpected way (#9051).lazy-wheel
error handling if the index server does not handle HTTP range requests correctly (#9082).lazy-wheel
error handling if the index server pretends to support HTTP range requests but does not respect them (#9084).lazy-wheel
to allow redirects for HEAD requests (#9087).lazy-wheel
errors (#9059).poetry add
failed in non-package mode if no project name was set (#9046).v1.8.1
Compare Source
Fixed
packaging
(#9031).Docs
master
branch tomain
(#9022).v1.8.0
Compare Source
Added
non-package
mode for use cases where Poetry is only used for dependency management (#8650).lazy-wheel
config option (default:true
) to reduce wheel downloads during dependency resolution (#8815,#8941).
poetry check
validates that no unknown sources are referenced in dependencies (#8709).to
key intool.poetry.packages
to allow custom subpackage names (#8791).keyring
(#8910).--sync
option topoetry update
(#8931).--output
option topoetry build
(#8828).--dist-dir
option topoetry publish
(#8828).Changed
default
(#8771).installer.modern-installation
tofalse
(#8988).pip<19
(#8894).requests-toolbelt>=1
(#8680).platformdirs
4.x (#8668).xattr
1.x on macOS (#8801).fish
(#8804).system
tobase
in output ofpoetry env info
(#8832).poetry version
(#8849).tool.poetry.scripts
(#8898).Fixed
poetry shell
failed when Python has been installed with MSYS2 (#8644).sdist
path dependency (#8682).poetry install
failed because an unused extra was not available (#8548).poetry install --sync
did not remove an unrequested extra (#8621).poetry init
did not allow specific characters in the author field (#8779).sdists
from misconfigured servers (#8701).poetry shell
failed inzsh
if a space was in the venv path (#7245).setup.py
were ignored silently (#9000).virtualenv.options
were ignored (#9015).virtualenvs.options.no-pip
andvirtualenvs.options.no-setuptools
were not normalized (#9015).Docs
--no-dev
with--without dev
in the FAQ (#8659).poetry-check
instead of the deprecatedpoetry-lock
pre-commit hook (#8675).poetry show --why
(#8817).poetry update
(#8706).poetry run
and externally managed environments (#8748).tox
fortox
4.x (#8658).format
option forinclude
andexclude
value (#8852).tox
and configured credentials (#8888).pipx
(#8878).poetry add
with git dependencies over ssh (#8911).--only main
instead of--without dev
(#8921).develop
attribute is a Poetry-specific feature and not propagated to other tools (#8971).poetry-core (
1.9.0
)#669,
#678,
#694).
v1.7.1
Compare Source
Fixed
poetry init
failed when trying to add dependencies (#8655).poetry install
failed ifvirtualenvs.create
was set tofalse
(#8672).v1.7.0
Compare Source
Added
poetry-plugin-export
will not be installed by default anymore (#8562).poetry-install
pre-commit hook (#8327).--next-phase
option topoetry version
(#8089).Changed
user-agent
for all HTTP requests (#8394).setuptools
per default in Python 3.12 (#7803).wheel
per default (#7803).setuptools
andwheel
when runningpoetry install --sync
if they are not required by the project (#8600).keyring
handling (#8227).description
field when extracting metadata fromsetup.py
files (#8545).Fixed
virtualenvs.options.system-site-packages
was set (#8359).poetry shell
did not work completely withnushell
(#8478).poetry config pypi-token.pypi
without a value (#8502).Docs
pipx
the preferred (first mentioned) installation method (#8090).poetry self
on Windows (#8090).poetry add
with a git dependency (#8438).POETRY_REPOSITORIES_
variables docs (#8492).CITATION.cff
file (#8510).poetry-core (
1.8.1
)extra
markers (#636).lib
folder was added to the wheel (#634).poetry-plugin-export (
^1.6.0
)--all-extras
option (#241).[
v1.6.1
](https://github.com/python-poetry/Configuration
📅 Schedule: Branch creation - "every weekday,after 9am and before 5pm" in timezone America/Los_Angeles, 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.