[stubsabot] Bump setuptools to 62.6.* (#8224)

Most of setuptools.config is not included as the module is deprecated.
This commit is contained in:
Shantanu
2022-07-09 00:53:18 +05:30
committed by GitHub
parent b145b32aa9
commit 72c7eb6f80
6 changed files with 3 additions and 59 deletions

View File

@@ -1 +1 @@
version = "57.4.*"
version = "62.6.*"

View File

@@ -263,7 +263,7 @@ class FileMetadata(EmptyProvider, IResourceProvider):
def __init__(self, path_to_pkg_info: str) -> None: ...
def parse_version(v: str) -> _Version | _LegacyVersion: ...
def yield_lines(strs: _NestedStr) -> Generator[str, None, None]: ...
def yield_lines(iterable: _NestedStr) -> Generator[str, None, None]: ...
def split_sections(strs: _NestedStr) -> Generator[tuple[str | None, str], None, None]: ...
def safe_name(name: str) -> str: ...
def safe_version(version: str) -> str: ...

View File

@@ -1,11 +1,9 @@
import distutils.command.build_py as orig
from typing import Any
from setuptools.lib2to3_ex import Mixin2to3
def make_writable(target) -> None: ...
class build_py(orig.build_py, Mixin2to3):
class build_py(orig.build_py):
package_data: Any
exclude_package_data: Any
def finalize_options(self) -> None: ...

View File

@@ -4,8 +4,6 @@ from typing import Any
from pkg_resources import Environment
from setuptools import Command, SetuptoolsDeprecationWarning
def samefile(p1, p2): ...
class easy_install(Command):
description: str
command_consumes_arguments: bool

View File

@@ -1,44 +1,2 @@
from typing import Any
class StaticModule:
def __init__(self, name) -> None: ...
def __getattr__(self, attr): ...
def patch_path(path) -> None: ...
def read_configuration(filepath, find_others: bool = ..., ignore_option_errors: bool = ...): ...
def configuration_to_dict(handlers): ...
def parse_configuration(distribution, command_options, ignore_option_errors: bool = ...): ...
class ConfigHandler:
section_prefix: Any
aliases: Any
ignore_option_errors: Any
target_obj: Any
sections: Any
set_options: Any
def __init__(self, target_obj, options, ignore_option_errors: bool = ...) -> None: ...
@property
def parsers(self) -> None: ...
def __setitem__(self, option_name, value) -> None: ...
def parse_section(self, section_options) -> None: ...
def parse(self) -> None: ...
class ConfigMetadataHandler(ConfigHandler):
section_prefix: str
aliases: Any
strict_mode: bool
package_dir: Any
def __init__(self, target_obj, options, ignore_option_errors: bool = ..., package_dir: Any | None = ...) -> None: ...
@property
def parsers(self): ...
class ConfigOptionsHandler(ConfigHandler):
section_prefix: str
@property
def parsers(self): ...
def parse_section_packages__find(self, section_options): ...
def parse_section_entry_points(self, section_options) -> None: ...
def parse_section_package_data(self, section_options) -> None: ...
def parse_section_exclude_package_data(self, section_options) -> None: ...
def parse_section_extras_require(self, section_options) -> None: ...
def parse_section_data_files(self, section_options) -> None: ...

View File

@@ -1,10 +0,0 @@
from distutils.util import Mixin2to3 as _Mixin2to3
from lib2to3.refactor import RefactoringTool
class DistutilsRefactoringTool(RefactoringTool):
def log_error(self, msg, *args, **kw) -> None: ... # type: ignore[override]
def log_message(self, msg, *args) -> None: ...
def log_debug(self, msg, *args) -> None: ...
class Mixin2to3(_Mixin2to3):
def run_2to3(self, files, doctests: bool = ...) -> None: ...