Bump setuptools to 75.6.* (#13089)

This commit is contained in:
Avasam
2024-11-25 10:56:38 -05:00
committed by GitHub
parent 927302347f
commit d23f4caac3
8 changed files with 13 additions and 14 deletions

View File

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

View File

@@ -1,7 +1,7 @@
from _typeshed import GenericPath, Incomplete, StrPath
from collections.abc import Iterator
from types import CodeType
from typing import AnyStr, ClassVar, Final, TypeVar
from typing import AnyStr, ClassVar, Final, Literal, TypeVar
from zipfile import _ZipFileMode
from .. import Command
@@ -33,7 +33,7 @@ class bdist_egg(Command):
def run(self) -> None: ...
def zap_pyfiles(self) -> None: ...
def zip_safe(self): ...
def gen_header(self): ...
def gen_header(self) -> Literal["w"]: ...
def copy_metadata_to(self, target_dir) -> None: ...
def get_ext_outputs(self): ...

View File

@@ -25,7 +25,7 @@ class bdist_wheel(Command):
boolean_options: ClassVar[list[str]]
bdist_dir: str | None
data_dir: str | None
data_dir: str
plat_name: str | None
plat_tag: str | None
format: str

View File

@@ -26,12 +26,11 @@ class build_py(orig.build_py):
def run(self) -> None: ...
data_files: list[tuple[str, str, str, list[str]]]
def __getattr__(self, attr: str): ...
def build_module(self, module, module_file, package): ...
def get_data_files_without_manifest(self) -> list[tuple[str, str, str, list[str]]]: ...
def find_data_files(self, package, src_dir) -> list[str]: ...
def get_outputs(self, include_bytecode: bool = True) -> list[str]: ... # type: ignore[override] # Using a real boolean instead of 0|1
def build_package_data(self) -> None: ...
manifest_files: dict[Incomplete, Incomplete]
manifest_files: dict[str, list[str]]
def get_output_mapping(self) -> dict[str, str]: ...
def analyze_manifest(self) -> None: ...
def get_data_files(self) -> None: ...

View File

@@ -8,7 +8,7 @@ from setuptools.package_index import PackageIndex
from .. import Command, SetuptoolsDeprecationWarning
__all__ = ["easy_install", "PthDistributions", "extract_wininst_cfg", "get_exe_prefixes"]
__all__ = ["PthDistributions", "easy_install", "extract_wininst_cfg", "get_exe_prefixes"]
class easy_install(Command):
description: str
@@ -52,7 +52,7 @@ class easy_install(Command):
all_site_dirs: list[str]
shadow_path: list[str]
local_index: Environment
outputs: list[Incomplete]
outputs: list[str]
def finalize_options(self) -> None: ...
def expand_basedirs(self) -> None: ...
def expand_dirs(self) -> None: ...

View File

@@ -71,7 +71,7 @@ class _NamespaceInstaller(namespaces.Installer):
src_root: Incomplete
installation_dir: Incomplete
editable_name: Incomplete
outputs: list[Incomplete]
outputs: list[str]
dry_run: bool
def __init__(self, distribution, installation_dir, editable_name, src_root) -> None: ...

View File

@@ -10,7 +10,7 @@ class install_egg_info(namespaces.Installer, Command):
def initialize_options(self) -> None: ...
source: Incomplete
target: str
outputs: list[Incomplete]
outputs: list[str]
def finalize_options(self) -> None: ...
def run(self) -> None: ...
def get_outputs(self): ...

View File

@@ -80,11 +80,11 @@ class SystemInfo:
@property
def VCInstallDir(self) -> str: ...
@property
def WindowsSdkVersion(self) -> tuple[LiteralString, ...] | None: ...
def WindowsSdkVersion(self) -> tuple[LiteralString, ...]: ...
@property
def WindowsSdkLastVersion(self) -> str: ...
@property
def WindowsSdkDir(self) -> str: ...
def WindowsSdkDir(self) -> str | None: ...
@property
def WindowsSDKExecutablePath(self) -> str | None: ...
@property
@@ -102,9 +102,9 @@ class SystemInfo:
@property
def FrameworkDir64(self) -> str: ...
@property
def FrameworkVersion32(self) -> tuple[str, ...] | None: ...
def FrameworkVersion32(self) -> tuple[str, ...]: ...
@property
def FrameworkVersion64(self) -> tuple[str, ...] | None: ...
def FrameworkVersion64(self) -> tuple[str, ...]: ...
class _EnvironmentDict(TypedDict):
include: str