Bump setuptools to 71.1.* and mark pkg_resources as obsolete (#12397)

This commit is contained in:
Avasam
2024-07-22 07:23:39 -04:00
committed by GitHub
parent 964d1d73ae
commit 6ddef4333d
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
version = "71.0.*"
version = "71.1.*"
upstream_repository = "https://github.com/pypa/setuptools"
extra_description = """\
If using `setuptools >= 71.1` *only* for `pkg_resources`,
you don't need `types-setuptools` since `pkg_resources` is now typed.\
"""
[tool.stubtest]
# darwin is equivalent to linux for OS-specific methods

View File

@@ -1,3 +1,6 @@
# `pkg_resources` package of `types-setuptools` is now obsolete.
# Changes here should be mirrored to https://github.com/pypa/setuptools/tree/main/pkg_resources
import types
import zipimport
from _typeshed import BytesPath, Incomplete, StrOrBytesPath, StrPath, Unused