mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-22 17:48:30 +08:00
Bump setuptools to 69.1.* (#11423)
This commit is contained in:
@@ -1,17 +1,3 @@
|
||||
# These are used like protocols, but forgot to specify "self" as the first method param
|
||||
pkg_resources.IResourceProvider.get_resource_filename
|
||||
pkg_resources.IResourceProvider.get_resource_stream
|
||||
pkg_resources.IResourceProvider.get_resource_string
|
||||
pkg_resources.IResourceProvider.has_resource
|
||||
pkg_resources.IResourceProvider.resource_isdir
|
||||
pkg_resources.IResourceProvider.resource_listdir
|
||||
pkg_resources.IMetadataProvider.get_metadata
|
||||
pkg_resources.IMetadataProvider.get_metadata_lines
|
||||
pkg_resources.IMetadataProvider.has_metadata
|
||||
pkg_resources.IMetadataProvider.metadata_isdir
|
||||
pkg_resources.IMetadataProvider.metadata_listdir
|
||||
pkg_resources.IMetadataProvider.run_script
|
||||
|
||||
# Is always set in __init__
|
||||
pkg_resources.PathMetadata.egg_info
|
||||
pkg_resources.EggMetadata.loader
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
version = "69.0.*"
|
||||
version = "69.1.*"
|
||||
upstream_repository = "https://github.com/pypa/setuptools"
|
||||
|
||||
[tool.stubtest]
|
||||
# darwin is equivalent to linux for OS-specific methods
|
||||
platforms = ["linux", "win32"]
|
||||
stubtest_requirements = ["tomli"]
|
||||
|
||||
@@ -33,7 +33,7 @@ class test(Command):
|
||||
@NonDataProperty
|
||||
def test_args(self) -> list[str]: ...
|
||||
def with_project_on_sys_path(self, func) -> None: ...
|
||||
def project_on_sys_path(self, include_dists=[]): ...
|
||||
def project_on_sys_path(self, include_dists=()): ...
|
||||
@staticmethod
|
||||
def paths_on_pythonpath(paths) -> None: ...
|
||||
@staticmethod
|
||||
|
||||
0
stubs/setuptools/setuptools/compat/__init__.pyi
Normal file
0
stubs/setuptools/setuptools/compat/__init__.pyi
Normal file
9
stubs/setuptools/setuptools/compat/py310.pyi
Normal file
9
stubs/setuptools/setuptools/compat/py310.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
import sys
|
||||
|
||||
__all__ = ["tomllib"]
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
import tomllib
|
||||
else:
|
||||
# This is actually vendored
|
||||
import tomli as tomllib # type: ignore[import-not-found] # pyright: ignore[reportMissingImports]
|
||||
@@ -1,3 +1,3 @@
|
||||
from _typeshed import Incomplete, StrOrBytesPath
|
||||
|
||||
def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: Incomplete | None = None) -> None: ...
|
||||
def shutil_rmtree(path: StrOrBytesPath, ignore_errors: bool = False, onexc: Incomplete | None = None): ...
|
||||
Reference in New Issue
Block a user