Skip to content

Commit 8ce1e85

Browse files
authored
[passlib] Fix stubtest (#15404)
1 parent a6fba4f commit 8ce1e85

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

stubs/passlib/@tests/stubtest_allowlist.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ passlib.tests.*
4949
# This is only available when the crypt module is available. This module
5050
# was dropped from the standard library of Python 3.13, but is still available
5151
# in some environments.
52-
passlib.hosts.__all__
52+
(passlib.hosts.__all__)?
5353
(passlib.hosts.host_context)?
5454

5555
# Fields differs at runtime:

stubs/passlib/METADATA.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ version = "1.7.*"
22
upstream_repository = "https://foss.heptapod.net/python-libs/passlib"
33

44
[tool.stubtest]
5-
# The runtime package has an undeclared dependency on setuptools
6-
stubtest_requirements = ["setuptools"]
5+
# The runtime package has an undeclared dependency on setuptools.
6+
# setuptools 82 dropped pkg_resources, which passlib relies on.
7+
stubtest_requirements = ["setuptools<82"]

0 commit comments

Comments
 (0)