mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Bump setuptools to 75.6.* (#13089)
This commit is contained in:
@@ -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`,
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user