Bump setuptools to 69.1.* (#11423)

This commit is contained in:
Avasam
2024-02-14 13:58:21 -05:00
committed by GitHub
parent 4664986cea
commit 48a0497b23
6 changed files with 13 additions and 17 deletions

View File

@@ -1,17 +1,3 @@
# These are used like protocols, but forgot to specify "self" as the first method param
pkg_resources.IResourceProvider.get_resource_filename
pkg_resources.IResourceProvider.get_resource_stream
pkg_resources.IResourceProvider.get_resource_string
pkg_resources.IResourceProvider.has_resource
pkg_resources.IResourceProvider.resource_isdir
pkg_resources.IResourceProvider.resource_listdir
pkg_resources.IMetadataProvider.get_metadata
pkg_resources.IMetadataProvider.get_metadata_lines
pkg_resources.IMetadataProvider.has_metadata
pkg_resources.IMetadataProvider.metadata_isdir
pkg_resources.IMetadataProvider.metadata_listdir
pkg_resources.IMetadataProvider.run_script
# Is always set in __init__
pkg_resources.PathMetadata.egg_info
pkg_resources.EggMetadata.loader

View File

@@ -1,6 +1,7 @@
version = "69.0.*"
version = "69.1.*"
upstream_repository = "https://github.com/pypa/setuptools"
[tool.stubtest]
# darwin is equivalent to linux for OS-specific methods
platforms = ["linux", "win32"]
stubtest_requirements = ["tomli"]

View File

@@ -33,7 +33,7 @@ class test(Command):
@NonDataProperty
def test_args(self) -> list[str]: ...
def with_project_on_sys_path(self, func) -> None: ...
def project_on_sys_path(self, include_dists=[]): ...
def project_on_sys_path(self, include_dists=()): ...
@staticmethod
def paths_on_pythonpath(paths) -> None: ...
@staticmethod

View File

@@ -0,0 +1,9 @@
import sys
__all__ = ["tomllib"]
if sys.version_info >= (3, 11):
import tomllib
else:
# This is actually vendored
import tomli as tomllib # type: ignore[import-not-found] # pyright: ignore[reportMissingImports]

View File

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