mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
Update setuptools to 78.1.0 (#13734)
--------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -33,11 +33,6 @@ setuptools._distutils.archive_util.ARCHIVE_FORMATS
|
||||
setuptools._distutils.archive_util.check_archive_formats
|
||||
setuptools._distutils.cmd.Command.dump_options
|
||||
setuptools._distutils.command.build_ext.extension_name_re
|
||||
setuptools._distutils.command.build_scripts
|
||||
setuptools._distutils.command.check
|
||||
setuptools._distutils.command.clean
|
||||
setuptools._distutils.command.install_data
|
||||
setuptools._distutils.command.install_headers
|
||||
setuptools._distutils.command.install.HAS_USER_SITE
|
||||
setuptools._distutils.command.install.INSTALL_SCHEMES
|
||||
setuptools._distutils.command.install.SCHEME_KEYS
|
||||
@@ -70,7 +65,6 @@ setuptools._distutils.command.build_scripts
|
||||
setuptools._distutils.command.check
|
||||
setuptools._distutils.command.clean
|
||||
setuptools._distutils.command.config
|
||||
setuptools._distutils.command.install_data
|
||||
setuptools._distutils.command.install_egg_info
|
||||
setuptools._distutils.command.install_headers
|
||||
setuptools._distutils.compat.numpy
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
version = "~=77.0.2"
|
||||
version = "78.1.*"
|
||||
upstream_repository = "https://github.com/pypa/setuptools"
|
||||
extra_description = """\
|
||||
Given that `pkg_resources` is typed since `setuptools >= 71.1`, \
|
||||
|
||||
@@ -9,7 +9,7 @@ from . import (
|
||||
# check as check,
|
||||
# clean as clean,
|
||||
install as install,
|
||||
# install_data as install_data,
|
||||
install_data as install_data,
|
||||
# install_headers as install_headers,
|
||||
install_lib as install_lib,
|
||||
install_scripts as install_scripts,
|
||||
@@ -30,7 +30,7 @@ __all__ = [
|
||||
"install_lib",
|
||||
# "install_headers",
|
||||
"install_scripts",
|
||||
# "install_data",
|
||||
"install_data",
|
||||
"sdist",
|
||||
"bdist",
|
||||
# "bdist_dumb",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import ClassVar
|
||||
from collections import ChainMap
|
||||
from typing import Any, ClassVar
|
||||
|
||||
from ..cmd import Command
|
||||
|
||||
@@ -34,7 +35,7 @@ class install(Command):
|
||||
build_lib: Incomplete
|
||||
record: Incomplete
|
||||
def initialize_options(self) -> None: ...
|
||||
config_vars: Incomplete
|
||||
config_vars: ChainMap[str, Any] # Any: Same as sysconfig.get_config_vars
|
||||
install_libbase: Incomplete
|
||||
def finalize_options(self) -> None: ...
|
||||
def dump_dirs(self, msg) -> None: ...
|
||||
|
||||
@@ -10,10 +10,8 @@ class Compiler(base.Compiler):
|
||||
obj_extension: ClassVar[str]
|
||||
static_lib_extension: ClassVar[str]
|
||||
shared_lib_extension: ClassVar[str]
|
||||
# This was accidentally removed upstream and should be back pretty soon.
|
||||
# shared_lib_format: ClassVar[str]
|
||||
# static_lib_format = shared_lib_format
|
||||
static_lib_format: ClassVar[str]
|
||||
shared_lib_format: ClassVar[str]
|
||||
static_lib_format = shared_lib_format
|
||||
exe_extension: ClassVar[str]
|
||||
initialized: bool
|
||||
def initialize(self, plat_name: str | None = None) -> None: ...
|
||||
|
||||
@@ -38,8 +38,6 @@ class Distribution(_Distribution):
|
||||
dependency_links: list[str]
|
||||
setup_requires: list[str]
|
||||
def __init__(self, attrs: MutableMapping[str, Incomplete] | None = None) -> None: ...
|
||||
def warn_dash_deprecation(self, opt: str, section: str) -> str: ...
|
||||
def make_option_lowercase(self, opt: str, section: str) -> str: ...
|
||||
def parse_config_files(self, filenames: Iterable[StrPath] | None = None, ignore_option_errors: bool = False) -> None: ...
|
||||
def fetch_build_eggs(self, requires: str | Iterable[str]): ...
|
||||
def get_egg_cache_dir(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user