Skip to content

Commit 48a0497

Browse files
authored
Bump setuptools to 69.1.* (#11423)
1 parent 4664986 commit 48a0497

File tree

6 files changed

+13
-17
lines changed

6 files changed

+13
-17
lines changed

stubs/setuptools/@tests/stubtest_allowlist.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# These are used like protocols, but forgot to specify "self" as the first method param
2-
pkg_resources.IResourceProvider.get_resource_filename
3-
pkg_resources.IResourceProvider.get_resource_stream
4-
pkg_resources.IResourceProvider.get_resource_string
5-
pkg_resources.IResourceProvider.has_resource
6-
pkg_resources.IResourceProvider.resource_isdir
7-
pkg_resources.IResourceProvider.resource_listdir
8-
pkg_resources.IMetadataProvider.get_metadata
9-
pkg_resources.IMetadataProvider.get_metadata_lines
10-
pkg_resources.IMetadataProvider.has_metadata
11-
pkg_resources.IMetadataProvider.metadata_isdir
12-
pkg_resources.IMetadataProvider.metadata_listdir
13-
pkg_resources.IMetadataProvider.run_script
14-
151
# Is always set in __init__
162
pkg_resources.PathMetadata.egg_info
173
pkg_resources.EggMetadata.loader

stubs/setuptools/METADATA.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
version = "69.0.*"
1+
version = "69.1.*"
22
upstream_repository = "https://github.com/pypa/setuptools"
33

44
[tool.stubtest]
55
# darwin is equivalent to linux for OS-specific methods
66
platforms = ["linux", "win32"]
7+
stubtest_requirements = ["tomli"]

stubs/setuptools/setuptools/command/test.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class test(Command):
3333
@NonDataProperty
3434
def test_args(self) -> list[str]: ...
3535
def with_project_on_sys_path(self, func) -> None: ...
36-
def project_on_sys_path(self, include_dists=[]): ...
36+
def project_on_sys_path(self, include_dists=()): ...
3737
@staticmethod
3838
def paths_on_pythonpath(paths) -> None: ...
3939
@staticmethod

stubs/setuptools/setuptools/compat/__init__.pyi

Whitespace-only changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import sys
2+
3+
__all__ = ["tomllib"]
4+
5+
if sys.version_info >= (3, 11):
6+
import tomllib
7+
else:
8+
# This is actually vendored
9+
import tomli as tomllib # type: ignore[import-not-found] # pyright: ignore[reportMissingImports]
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from _typeshed import Incomplete, StrOrBytesPath
22

3-
def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: Incomplete | None = None) -> None: ...
3+
def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: Incomplete | None = None): ...

0 commit comments

Comments
 (0)