Skip to content

Commit 353e0e4

Browse files
authored
Bump keyring to >=21.2.0 (#1229)
Resolve issue where older versions do not have exceptions that newer versions have and which we rely on Signed-off-by: William Woodruff <william@yossarian.net>
1 parent d9e4b08 commit 353e0e4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

changelog/1229.bugfix.rst

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
``twine`` now enforces ``keyring >= 21.2.0``, which was previously
2+
implicitly required by API usage.

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
"urllib3 >= 1.26.0",
3838
"importlib-metadata >= 3.6; python_version < '3.10'",
3939
# workaround for missing binaries on these platforms, see #1158
40-
"keyring >= 15.1; platform_machine != 'ppc64le' and platform_machine != 's390x'",
40+
"keyring >= 21.2.0; platform_machine != 'ppc64le' and platform_machine != 's390x'",
4141
"rfc3986 >= 1.4.0",
4242
"rich >= 12.0.0",
4343
"packaging >= 24.0",
@@ -61,7 +61,7 @@ upload = "twine.commands.upload:main"
6161
register = "twine.commands.register:main"
6262

6363
[project.optional-dependencies]
64-
keyring = ["keyring >= 15.1"]
64+
keyring = ["keyring >= 21.2.0"]
6565

6666
[project.scripts]
6767
twine = "twine.__main__:main"

0 commit comments

Comments
 (0)