Skip to content

Commit 6ddef43

Browse files
authored
Bump setuptools to 71.1.* and mark pkg_resources as obsolete (#12397)
1 parent 964d1d7 commit 6ddef43

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

stubs/setuptools/METADATA.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
version = "71.0.*"
1+
version = "71.1.*"
22
upstream_repository = "https://github.com/pypa/setuptools"
3+
extra_description = """\
4+
If using `setuptools >= 71.1` *only* for `pkg_resources`,
5+
you don't need `types-setuptools` since `pkg_resources` is now typed.\
6+
"""
37

48
[tool.stubtest]
59
# darwin is equivalent to linux for OS-specific methods

stubs/setuptools/pkg_resources/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# `pkg_resources` package of `types-setuptools` is now obsolete.
2+
# Changes here should be mirrored to https://github.com/pypa/setuptools/tree/main/pkg_resources
3+
14
import types
25
import zipimport
36
from _typeshed import BytesPath, Incomplete, StrOrBytesPath, StrPath, Unused

0 commit comments

Comments
 (0)