Skip to content

Commit b68907b

Browse files
srittaupre-commit-ci[bot]Avasam
authored
[setuptools] Update to 77.0.2 (#13685)
--------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Avasam <[email protected]>
1 parent c67f9da commit b68907b

File tree

9 files changed

+25
-9
lines changed

9 files changed

+25
-9
lines changed

stubs/setuptools/@tests/stubtest_allowlist.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ setuptools._distutils.dist.Distribution.get_obsoletes
3232
setuptools._distutils.archive_util.ARCHIVE_FORMATS
3333
setuptools._distutils.archive_util.check_archive_formats
3434
setuptools._distutils.cmd.Command.dump_options
35-
setuptools._distutils.command.build_clib.show_compilers
3635
setuptools._distutils.command.build_ext.extension_name_re
37-
setuptools._distutils.command.build_ext.show_compilers
3836
setuptools._distutils.command.build_scripts
3937
setuptools._distutils.command.check
4038
setuptools._distutils.command.clean
@@ -75,6 +73,7 @@ setuptools._distutils.command.config
7573
setuptools._distutils.command.install_data
7674
setuptools._distutils.command.install_egg_info
7775
setuptools._distutils.command.install_headers
76+
setuptools._distutils.compat.numpy
7877
setuptools._distutils.compat.py39
7978
setuptools._distutils.core
8079
setuptools._distutils.cygwinccompiler
@@ -84,7 +83,6 @@ setuptools._distutils.fancy_getopt
8483
setuptools._distutils.file_util
8584
setuptools._distutils.log
8685
setuptools._distutils.text_file
87-
setuptools._distutils.unixccompiler
8886
setuptools._distutils.version
8987
setuptools._distutils.versionpredicate
9088
setuptools._distutils.zosccompiler

stubs/setuptools/METADATA.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "~=76.0.0"
1+
version = "~=77.0.2"
22
upstream_repository = "https://github.com/pypa/setuptools"
33
extra_description = """\
44
Given that `pkg_resources` is typed since `setuptools >= 71.1`, \
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from setuptools._distutils.compilers.C.unix import *
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from setuptools._distutils.unixccompiler import *
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
from .compilers.C import msvc
22

3+
__all__ = ["MSVCCompiler"]
4+
35
MSVCCompiler = msvc.Compiler

stubs/setuptools/setuptools/_distutils/command/build.pyi

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ from typing import ClassVar
44

55
from ..cmd import Command
66

7-
def show_compilers() -> None: ...
8-
97
class build(Command):
108
description: ClassVar[str]
119
user_options: ClassVar[list[tuple[str, str | None, str]]]

stubs/setuptools/setuptools/_distutils/compilers/C/msvc.pyi

-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
from _typeshed import Incomplete
21
from typing import ClassVar, Final
32

43
from . import base
54

65
PLAT_SPEC_TO_RUNTIME: Final[dict[str, str]]
76

87
class Compiler(base.Compiler):
9-
compiler_type: ClassVar[str]
10-
executables: ClassVar[dict[str, Incomplete]]
118
src_extensions: ClassVar[list[str]]
129
res_extension: ClassVar[str]
1310
obj_extension: ClassVar[str]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from typing import ClassVar
2+
3+
from . import base
4+
5+
class Compiler(base.Compiler):
6+
src_extensions: ClassVar[list[str]]
7+
obj_extension: ClassVar[str]
8+
static_lib_extension: ClassVar[str]
9+
shared_lib_extension: ClassVar[str]
10+
dylib_lib_extension: ClassVar[str]
11+
xcode_stub_lib_extension: ClassVar[str]
12+
static_lib_format: ClassVar[str]
13+
shared_lib_format: ClassVar[str]
14+
dylib_lib_format: ClassVar[str]
15+
xcode_stub_lib_format: ClassVar[str]
16+
def runtime_library_dir_option(self, dir: str) -> str | list[str]: ... # type: ignore[override]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from .compilers.C import unix
2+
3+
UnixCCompiler = unix.Compiler

0 commit comments

Comments
 (0)