Drop support for Python 3.10 (#13000)

This commit is contained in:
Adam Turner
2024-10-17 20:59:41 +01:00
committed by GitHub
parent 90db3e1b89
commit 541bf7bc67
23 changed files with 45 additions and 169 deletions

View File

@@ -14,7 +14,7 @@ urls.Download = "https://pypi.org/project/Sphinx/"
urls.Homepage = "https://www.sphinx-doc.org/"
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues"
license.text = "BSD-2-Clause"
requires-python = ">=3.10"
requires-python = ">=3.11"
# Classifiers list: https://pypi.org/classifiers/
classifiers = [
@@ -31,7 +31,6 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
@@ -71,7 +70,6 @@ dependencies = [
"imagesize>=1.3",
"requests>=2.30.0",
"packaging>=23.0",
"tomli>=2; python_version < '3.11'",
"colorama>=0.4.6; sys_platform == 'win32'",
]
dynamic = ["version"]
@@ -92,7 +90,6 @@ lint = [
"types-Pygments==2.18.0.20240506",
"types-requests==2.32.0.20240914", # align with requests
"types-urllib3==1.26.25.14",
"tomli>=2", # for mypy (Python<=3.10)
"pyright==1.1.384",
"pytest>=6.0",
]
@@ -204,7 +201,7 @@ exclude = [
# tests/test_writers
"^utils/convert_attestations\\.py$",
]
python_version = "3.10"
python_version = "3.11"
strict = true
show_column_numbers = true
show_error_context = true