Skip to content

Commit

Permalink
Bump keyring to >=21.2.0 (#1229)
Browse files Browse the repository at this point in the history
Resolve issue where older versions do not have exceptions that newer versions have and which we rely on

Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw authored Feb 5, 2025
1 parent d9e4b08 commit 353e0e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelog/1229.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
``twine`` now enforces ``keyring >= 21.2.0``, which was previously
implicitly required by API usage.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
"urllib3 >= 1.26.0",
"importlib-metadata >= 3.6; python_version < '3.10'",
# workaround for missing binaries on these platforms, see #1158
"keyring >= 15.1; platform_machine != 'ppc64le' and platform_machine != 's390x'",
"keyring >= 21.2.0; platform_machine != 'ppc64le' and platform_machine != 's390x'",
"rfc3986 >= 1.4.0",
"rich >= 12.0.0",
"packaging >= 24.0",
Expand All @@ -61,7 +61,7 @@ upload = "twine.commands.upload:main"
register = "twine.commands.register:main"

[project.optional-dependencies]
keyring = ["keyring >= 15.1"]
keyring = ["keyring >= 21.2.0"]

[project.scripts]
twine = "twine.__main__:main"
Expand Down

0 comments on commit 353e0e4

Please sign in to comment.