mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Drop support for Python 3.10 (#13000)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user