Skip to content

Commit 10ebc99

Browse files
authored
Officially drop Python 3.8 support (#13386)
1 parent 822fae3 commit 10ebc99

File tree

5 files changed

+5
-21
lines changed

5 files changed

+5
-21
lines changed

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.8 to 3.13.
24+
Typeshed supports Python versions 3.9 to 3.13.
2525

2626
## Using
2727

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,4 @@ extra-standard-library = [
171171
known-first-party = ["_utils", "ts_utils"]
172172

173173
[tool.typeshed]
174-
oldest_supported_python = "3.8"
174+
oldest_supported_python = "3.9"

stubs/icalendar/METADATA.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
version = "6.1.*"
22
upstream_repository = "https://github.com/collective/icalendar"
3-
requires = [
4-
"types-python-dateutil",
5-
"types-pytz",
6-
"backports.zoneinfo; python_version<'3.9'",
7-
]
3+
requires = ["types-python-dateutil", "types-pytz"]
84

95
[tool.stubtest]
106
stubtest_requirements = ["pytz"]

stubs/pycocotools/METADATA.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
version = "2.0.*"
22
upstream_repository = "https://github.com/ppwwyyxx/cocoapi"
3-
requires = ["numpy>=2.0.0rc1; python_version>='3.9'"]
4-
# numpy>=2.0.0 requires Python >=3.9
5-
requires_python = ">=3.9"
3+
requires = ["numpy>=2.0.0rc1"]

stubs/seaborn/METADATA.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
version = "0.13.2"
22
# Requires a version of numpy and matplotlib with a `py.typed` file
3-
#
4-
# TODO: Specifying the python-version for matplotlib should not be necessary,
5-
# because of the requires_python field. However, this needs changes to
6-
# get_typeshed_stub_version.py (see there).
7-
requires = [
8-
"matplotlib>=3.8; python_version>='3.9'",
9-
"numpy>=1.20",
10-
"pandas-stubs",
11-
]
12-
# matplotlib>=3.8 requires Python >=3.9
13-
requires_python = ">=3.9"
3+
requires = ["matplotlib>=3.8", "numpy>=1.20", "pandas-stubs"]
144
upstream_repository = "https://github.com/mwaskom/seaborn"

0 commit comments

Comments
 (0)