Update setuptools to 75.4.* (#13002)

This commit is contained in:
Danny Yang
2024-11-13 23:01:23 -05:00
committed by GitHub
parent 51d0f0194c
commit 8f21da5bee
4 changed files with 6 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
version = "75.3.*"
version = "75.4.*"
upstream_repository = "https://github.com/pypa/setuptools"
extra_description = """\
If using `setuptools >= 71.1` *only* for `pkg_resources`,

View File

@@ -1,5 +1,5 @@
from _typeshed import ExcInfo, Incomplete, Unused
from collections.abc import Callable, Iterable
from _typeshed import Incomplete
from collections.abc import Iterable
from typing import ClassVar, Final, Literal
from setuptools import Command
@@ -17,8 +17,6 @@ def get_flag(var: str, fallback: bool, expected: bool = True, warn: bool = True)
def get_abi_tag() -> str | None: ...
def safer_name(name: str) -> str: ...
def safer_version(version: str) -> str: ...
def remove_readonly(func: Callable[[str], Unused], path: str, excinfo: ExcInfo) -> None: ...
def remove_readonly_exc(func: Callable[[str], Unused], path: str, exc: BaseException) -> None: ...
class bdist_wheel(Command):
description: ClassVar[str]

View File

@@ -1,6 +1,6 @@
from _typeshed import Incomplete
from collections.abc import Callable, Iterable, Iterator
from typing import Any, ClassVar, Literal, TypedDict, TypeVar, type_check_only
from collections.abc import Iterable, Iterator
from typing import Any, ClassVar, Literal, TypedDict
from typing_extensions import Self
from pkg_resources import Environment
@@ -8,8 +8,6 @@ from setuptools.package_index import PackageIndex
from .. import Command, SetuptoolsDeprecationWarning
_T = TypeVar("_T")
__all__ = ["easy_install", "PthDistributions", "extract_wininst_cfg", "get_exe_prefixes"]
class easy_install(Command):
@@ -114,9 +112,6 @@ class RewritePthDistributions(PthDistributions):
prelude: str
postlude: str
# Must match shutil._OnExcCallback
def auto_chmod(func: Callable[..., _T], arg: str, exc: BaseException) -> _T: ...
@type_check_only
class _SplitArgs(TypedDict, total=False):
comments: bool
posix: bool

View File

@@ -1,5 +1,5 @@
import sys
from typing import Final, TypedDict, overload, type_check_only
from typing import Final, TypedDict, overload
from typing_extensions import LiteralString, NotRequired
if sys.platform == "win32":
@@ -106,7 +106,6 @@ class SystemInfo:
@property
def FrameworkVersion64(self) -> tuple[str, ...] | None: ...
@type_check_only
class _EnvironmentDict(TypedDict):
include: str
lib: str