Skip to content

Commit 27fdceb

Browse files
authored
Merge branch 'main' into pysql
2 parents 07121c8 + ba29e20 commit 27fdceb

File tree

18 files changed

+21
-45
lines changed

18 files changed

+21
-45
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ Note that some tests require extra setup steps to install the required dependenc
5555
<td>Linux / macOS / WSL</td>
5656
<td>
5757

58-
On Linux and macOS, you will be able to run the full test suite on Python
59-
3.9-3.12.
6058
To install the necessary requirements, run the following commands from a
6159
terminal window:
6260

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ the project the stubs are for, but instead report them here to typeshed.**
2121
Further documentation on stub files, typeshed, and Python's typing system in
2222
general, can also be found at https://typing.readthedocs.io/en/latest/.
2323

24-
Typeshed supports Python versions 3.9 to 3.14.
24+
Typeshed supports Python versions 3.10 to 3.14.
2525

2626
## Using
2727

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,10 @@ extra-standard-library = [
255255
"_typeshed",
256256
"typing_extensions",
257257
# Extra modules not recognized by Ruff
258-
# Added in Python 3.9
259-
"zoneinfo",
260258
# Added in Python 3.14
261259
"compression",
262260
]
263261
known-first-party = ["_utils", "ts_utils"]
264262

265263
[tool.typeshed]
266-
oldest_supported_python = "3.9"
264+
oldest_supported_python = "3.10"

stdlib/@tests/stubtest_allowlists/win32-py39.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
# Temporary
33
# =========
44

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+
511
# Added in Python 3.9.14
612
# (Remove once 3.9.14 becomes available for GitHub Actions)
713
sys.set_int_max_str_digits

stdlib/enum.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import types
44
from _typeshed import SupportsKeysAndGetItem, Unused
55
from builtins import property as _builtins_property
66
from collections.abc import Callable, Iterable, Iterator, Mapping
7-
from typing import Any, Final, Generic, Literal, TypeVar, overload
7+
from typing import Any, Final, Generic, Literal, SupportsIndex, TypeVar, overload
88
from typing_extensions import Self, TypeAlias, disjoint_base
99

1010
__all__ = ["EnumMeta", "Enum", "IntEnum", "Flag", "IntFlag", "auto", "unique"]
@@ -311,6 +311,7 @@ if sys.version_info >= (3, 11):
311311
def global_enum_repr(self: Enum) -> str: ...
312312
def global_flag_repr(self: Flag) -> str: ...
313313
def show_flag_values(value: int) -> list[int]: ...
314+
def bin(num: SupportsIndex, max_bits: int | None = None) -> str: ...
314315

315316
if sys.version_info >= (3, 12):
316317
# The body of the class is the same, but the base classes are different.

stubs/Authlib/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = "1.6.6"
1+
version = "1.6.7"
22
upstream_repository = "https://github.com/authlib/authlib"
33
requires = ["cryptography"]

stubs/networkx/METADATA.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ version = "3.6.1"
22
upstream_repository = "https://github.com/networkx/networkx"
33
# requires a version of numpy with a `py.typed` file
44
requires = ["numpy>=1.20"]
5-
# Uses more recent dataclass kwargs
6-
requires_python = ">=3.10"
75

86
[tool.stubtest]
97
# stub_uploader won't allow pandas-stubs in the requires field https://github.com/typeshed-internal/stub_uploader/issues/90

stubs/setuptools/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "80.10.*"
1+
version = "81.0.*"
22
upstream_repository = "https://github.com/pypa/setuptools"
33
extra_description = """\
44
Given that `pkg_resources` is typed since `setuptools >= 71.1`, \

stubs/setuptools/setuptools/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ def setup(
107107
# Attributes from distutils.dist.Distribution.__init__ (except self.metadata)
108108
# These take priority over attributes from distutils.dist.Distribution.display_option_names
109109
verbose: bool = True,
110-
dry_run: bool = False,
111110
help: bool = False,
112111
cmdclass: _MutableDictLike[str, type[_Command]] = {},
113112
command_packages: str | list[str] | None = None,
@@ -164,6 +163,7 @@ def setup(
164163
class Command(_Command):
165164
command_consumes_arguments: bool
166165
distribution: Distribution
166+
dry_run: bool
167167
# Any: Dynamic command subclass attributes
168168
def __init__(self, dist: Distribution, **kw: Any) -> None: ...
169169
# 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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ def make_archive(
88
root_dir: StrOrBytesPath | None = None,
99
base_dir: str | None = None,
1010
verbose: bool = False,
11-
dry_run: bool = False,
1211
owner: str | None = None,
1312
group: str | None = None,
1413
) -> str: ...
@@ -19,7 +18,6 @@ def make_archive(
1918
root_dir: StrOrBytesPath,
2019
base_dir: str | None = None,
2120
verbose: bool = False,
22-
dry_run: bool = False,
2321
owner: str | None = None,
2422
group: str | None = None,
2523
) -> str: ...
@@ -28,8 +26,7 @@ def make_tarball(
2826
base_dir: StrPath,
2927
compress: Literal["gzip", "bzip2", "xz"] | None = "gzip",
3028
verbose: bool = False,
31-
dry_run: bool = False,
3229
owner: str | None = None,
3330
group: str | None = None,
3431
) -> str: ...
35-
def make_zipfile(base_name: str, base_dir: StrPath, verbose: bool = False, dry_run: bool = False) -> str: ...
32+
def make_zipfile(base_name: str, base_dir: StrPath, verbose: bool = False) -> str: ...

0 commit comments

Comments
 (0)