Skip to content

Commit eb54c4e

Browse files
authored
Merge branch 'main' into rm-awaitable-generator
2 parents 29d68d7 + 7b3d25d commit eb54c4e

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

requirements-tests.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# Type checkers that we test our stubs against. These should always
22
# be pinned to a specific version to make failure reproducible.
3-
mypy==1.18.2
3+
mypy==1.19.1
44
pyright==1.1.408
55

66
# Libraries used by our various scripts.
77
aiohttp==3.13.3
8-
# TODO (2025-05-09): No wheels exist for Python 3.14 yet, slowing down CI
9-
# considerably and prone to fail.
10-
grpcio-tools>=1.66.2; python_version < "3.14" # For grpc_tools.protoc
8+
grpcio-tools>=1.76.0 # For grpc_tools.protoc
119
mypy-protobuf==4.0.0
1210
packaging==25.0
1311
pathspec>=1.0.0

stdlib/importlib/resources/abc.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ from abc import ABCMeta, abstractmethod
44
from collections.abc import Iterator
55
from io import BufferedReader
66
from typing import IO, Any, Literal, Protocol, overload, runtime_checkable
7+
from typing_extensions import deprecated
78

89
if sys.version_info >= (3, 11):
10+
@deprecated("Deprecated since Python 3.12. Use `importlib.resources.abc.TraversableResources` instead.")
911
class ResourceReader(metaclass=ABCMeta):
1012
@abstractmethod
1113
def open_resource(self, resource: str) -> IO[bytes]: ...

stdlib/xml/etree/ElementTree.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ class _IterParseIterator(Iterator[tuple[str, Element]], Protocol):
258258
if sys.version_info >= (3, 11):
259259
def __del__(self) -> None: ...
260260

261+
@overload
262+
def iterparse(source: _FileRead, events: Sequence[str] | None = None) -> _IterParseIterator: ...
263+
@overload
264+
@deprecated("The `parser` parameter is deprecated since Python 3.4.")
261265
def iterparse(source: _FileRead, events: Sequence[str] | None = None, parser: XMLParser | None = None) -> _IterParseIterator: ...
262266

263267
_EventQueue: TypeAlias = tuple[str] | tuple[str, tuple[str, str]] | tuple[str, None]

stubs/gdb/METADATA.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ extra_description = """\
1111
"""
1212

1313
[tool.stubtest]
14+
skip = true # https://github.com/python/typeshed/issues/15236
1415
ci_platforms = ["linux"]
1516
apt_dependencies = ["gdb"]

0 commit comments

Comments
 (0)