Skip to content

Commit

Permalink
Officially drop Python 3.8 support (#13386)
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau authored Jan 10, 2025
1 parent 822fae3 commit 10ebc99
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ the project the stubs are for, but instead report them here to typeshed.**
Further documentation on stub files, typeshed, and Python's typing system in
general, can also be found at https://typing.readthedocs.io/en/latest/.

Typeshed supports Python versions 3.8 to 3.13.
Typeshed supports Python versions 3.9 to 3.13.

## Using

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ extra-standard-library = [
known-first-party = ["_utils", "ts_utils"]

[tool.typeshed]
oldest_supported_python = "3.8"
oldest_supported_python = "3.9"
6 changes: 1 addition & 5 deletions stubs/icalendar/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
version = "6.1.*"
upstream_repository = "https://github.com/collective/icalendar"
requires = [
"types-python-dateutil",
"types-pytz",
"backports.zoneinfo; python_version<'3.9'",
]
requires = ["types-python-dateutil", "types-pytz"]

[tool.stubtest]
stubtest_requirements = ["pytz"]
4 changes: 1 addition & 3 deletions stubs/pycocotools/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version = "2.0.*"
upstream_repository = "https://github.com/ppwwyyxx/cocoapi"
requires = ["numpy>=2.0.0rc1; python_version>='3.9'"]
# numpy>=2.0.0 requires Python >=3.9
requires_python = ">=3.9"
requires = ["numpy>=2.0.0rc1"]
12 changes: 1 addition & 11 deletions stubs/seaborn/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
version = "0.13.2"
# Requires a version of numpy and matplotlib with a `py.typed` file
#
# TODO: Specifying the python-version for matplotlib should not be necessary,
# because of the requires_python field. However, this needs changes to
# get_typeshed_stub_version.py (see there).
requires = [
"matplotlib>=3.8; python_version>='3.9'",
"numpy>=1.20",
"pandas-stubs",
]
# matplotlib>=3.8 requires Python >=3.9
requires_python = ">=3.9"
requires = ["matplotlib>=3.8", "numpy>=1.20", "pandas-stubs"]
upstream_repository = "https://github.com/mwaskom/seaborn"

0 comments on commit 10ebc99

Please sign in to comment.