We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07121c8 + ba29e20 commit 27fdcebCopy full SHA for 27fdceb
CONTRIBUTING.md
@@ -55,8 +55,6 @@ Note that some tests require extra setup steps to install the required dependenc
55
<td>Linux / macOS / WSL</td>
56
<td>
57
58
- On Linux and macOS, you will be able to run the full test suite on Python
59
- 3.9-3.12.
60
To install the necessary requirements, run the following commands from a
61
terminal window:
62
README.md
@@ -21,7 +21,7 @@ the project the stubs are for, but instead report them here to typeshed.**
21
Further documentation on stub files, typeshed, and Python's typing system in
22
general, can also be found at https://typing.readthedocs.io/en/latest/.
23
24
-Typeshed supports Python versions 3.9 to 3.14.
+Typeshed supports Python versions 3.10 to 3.14.
25
26
## Using
27
pyproject.toml
@@ -255,12 +255,10 @@ extra-standard-library = [
255
"_typeshed",
256
"typing_extensions",
257
# Extra modules not recognized by Ruff
258
- # Added in Python 3.9
259
- "zoneinfo",
260
# Added in Python 3.14
261
"compression",
262
]
263
known-first-party = ["_utils", "ts_utils"]
264
265
[tool.typeshed]
266
-oldest_supported_python = "3.9"
+oldest_supported_python = "3.10"
stdlib/@tests/stubtest_allowlists/win32-py39.txt
@@ -2,6 +2,12 @@
2
# Temporary
3
# =========
4
5
+# According to stubtest, these are sometimes not present at runtime, starting
6
+# with Python 3.9.13. Which is not true.
7
+(_frozen_importlib_external.PathFinder.find_distributions)?
8
+(importlib._bootstrap_external.PathFinder.find_distributions)?
9
+(importlib.machinery.PathFinder.find_distributions)?
10
+
11
# Added in Python 3.9.14
12
# (Remove once 3.9.14 becomes available for GitHub Actions)
13
sys.set_int_max_str_digits
stdlib/enum.pyi
@@ -4,7 +4,7 @@ import types
from _typeshed import SupportsKeysAndGetItem, Unused
from builtins import property as _builtins_property
from collections.abc import Callable, Iterable, Iterator, Mapping
-from typing import Any, Final, Generic, Literal, TypeVar, overload
+from typing import Any, Final, Generic, Literal, SupportsIndex, TypeVar, overload
from typing_extensions import Self, TypeAlias, disjoint_base
__all__ = ["EnumMeta", "Enum", "IntEnum", "Flag", "IntFlag", "auto", "unique"]
@@ -311,6 +311,7 @@ if sys.version_info >= (3, 11):
311
def global_enum_repr(self: Enum) -> str: ...
312
def global_flag_repr(self: Flag) -> str: ...
313
def show_flag_values(value: int) -> list[int]: ...
314
+ def bin(num: SupportsIndex, max_bits: int | None = None) -> str: ...
315
316
if sys.version_info >= (3, 12):
317
# The body of the class is the same, but the base classes are different.
stubs/Authlib/METADATA.toml
@@ -1,3 +1,3 @@
1
-version = "1.6.6"
+version = "1.6.7"
upstream_repository = "https://github.com/authlib/authlib"
requires = ["cryptography"]
stubs/networkx/METADATA.toml
@@ -2,8 +2,6 @@ version = "3.6.1"
upstream_repository = "https://github.com/networkx/networkx"
# requires a version of numpy with a `py.typed` file
requires = ["numpy>=1.20"]
-# Uses more recent dataclass kwargs
-requires_python = ">=3.10"
[tool.stubtest]
# stub_uploader won't allow pandas-stubs in the requires field https://github.com/typeshed-internal/stub_uploader/issues/90
stubs/setuptools/METADATA.toml
@@ -1,4 +1,4 @@
-version = "80.10.*"
+version = "81.0.*"
upstream_repository = "https://github.com/pypa/setuptools"
extra_description = """\
Given that `pkg_resources` is typed since `setuptools >= 71.1`, \
stubs/setuptools/setuptools/__init__.pyi
@@ -107,7 +107,6 @@ def setup(
107
# Attributes from distutils.dist.Distribution.__init__ (except self.metadata)
108
# These take priority over attributes from distutils.dist.Distribution.display_option_names
109
verbose: bool = True,
110
- dry_run: bool = False,
111
help: bool = False,
112
cmdclass: _MutableDictLike[str, type[_Command]] = {},
113
command_packages: str | list[str] | None = None,
@@ -164,6 +163,7 @@ def setup(
164
163
class Command(_Command):
165
command_consumes_arguments: bool
166
distribution: Distribution
+ dry_run: bool
167
# Any: Dynamic command subclass attributes
168
def __init__(self, dist: Distribution, **kw: Any) -> None: ...
169
# Note: Commands that setuptools doesn't re-expose are considered deprecated (they must be imported from distutils directly)
stubs/setuptools/setuptools/_distutils/archive_util.pyi
@@ -8,7 +8,6 @@ def make_archive(
root_dir: StrOrBytesPath | None = None,
base_dir: str | None = None,
verbose: bool = False,
owner: str | None = None,
group: str | None = None,
14
) -> str: ...
@@ -19,7 +18,6 @@ def make_archive(
19
18
root_dir: StrOrBytesPath,
20
@@ -28,8 +26,7 @@ def make_tarball(
28
base_dir: StrPath,
29
compress: Literal["gzip", "bzip2", "xz"] | None = "gzip",
30
31
32
33
34
35
-def make_zipfile(base_name: str, base_dir: StrPath, verbose: bool = False, dry_run: bool = False) -> str: ...
+def make_zipfile(base_name: str, base_dir: StrPath, verbose: bool = False) -> str: ...
0 commit comments