summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml54
1 files changed, 21 insertions, 33 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 8aa49aa..3d8cce1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -62,18 +62,18 @@ dependencies = [
"sphinxcontrib-htmlhelp>=2.0.0",
"sphinxcontrib-serializinghtml>=1.1.9",
"sphinxcontrib-qthelp",
- "Jinja2>=3.0",
- "Pygments>=2.14",
- "docutils>=0.18.1,<0.22",
- "snowballstemmer>=2.0",
- "babel>=2.9",
+ "Jinja2>=3.1",
+ "Pygments>=2.17",
+ "docutils>=0.20,<0.22",
+ "snowballstemmer>=2.2",
+ "babel>=2.13",
"alabaster~=0.7.14",
"imagesize>=1.3",
- "requests>=2.25.0",
- "packaging>=21.0",
- "importlib-metadata>=4.8; python_version < '3.10'",
+ "requests>=2.30.0",
+ "packaging>=23.0",
+ "importlib-metadata>=6.0; python_version < '3.10'",
"tomli>=2; python_version < '3.11'",
- "colorama>=0.4.5; sys_platform == 'win32'",
+ "colorama>=0.4.6; sys_platform == 'win32'",
]
dynamic = ["version"]
@@ -82,21 +82,22 @@ docs = [
"sphinxcontrib-websupport",
]
lint = [
- "flake8>=3.5.0",
- "ruff==0.3.7",
- "mypy==1.9.0",
- "sphinx-lint",
- "types-docutils",
- "types-requests",
- "importlib_metadata", # for mypy (Python<=3.9)
- "tomli", # for mypy (Python<=3.10)
+ "flake8>=6.0",
+ "ruff==0.5.2",
+ "mypy==1.10.1",
+ "sphinx-lint>=0.9",
+ "types-docutils==0.21.0.20240711",
+ "types-requests>=2.30.0", # align with requests
+ "importlib-metadata>=6.0", # for mypy (Python<=3.9)
+ "tomli>=2", # for mypy (Python<=3.10)
"pytest>=6.0",
]
test = [
- "pytest>=6.0",
+ "pytest>=8.0",
"defusedxml>=0.7.1", # for secure XML/HTML parsing
"cython>=3.0",
- "setuptools>=67.0", # for Cython compilation
+ "setuptools>=70.0", # for Cython compilation
+ "typing_extensions>=4.9", # for typing_extensions.Unpack
]
[[project.authors]]
@@ -150,7 +151,6 @@ exclude = [
"^tests/test_builders/test_build_gettext\\.py$",
"^tests/test_builders/test_build_html\\.py$",
"^tests/test_builders/test_build_latex\\.py$",
- "^tests/test_builders/test_build_linkcheck\\.py$",
"^tests/test_builders/test_build_texinfo\\.py$",
# tests/test_config
"^tests/test_config/test_config\\.py$",
@@ -244,38 +244,26 @@ strict_optional = false
[[tool.mypy.overrides]]
module = [
"sphinx.application",
- "sphinx.builders._epub_base",
- "sphinx.builders.html",
- "sphinx.builders.linkcheck",
"sphinx.cmd.quickstart",
"sphinx.config",
"sphinx.domains",
"sphinx.domains.c",
"sphinx.domains.cpp",
- "sphinx.environment",
- "sphinx.environment.adapters.indexentries",
- "sphinx.environment.collectors.toctree",
"sphinx.events",
"sphinx.ext.autodoc",
"sphinx.ext.autodoc.directive",
"sphinx.ext.autodoc.importer",
- "sphinx.ext.autodoc.mock",
- "sphinx.ext.autodoc.mock",
"sphinx.ext.autosummary.generate",
"sphinx.ext.doctest",
"sphinx.ext.graphviz",
"sphinx.ext.inheritance_diagram",
- "sphinx.ext.intersphinx",
+ "sphinx.ext.intersphinx._load",
"sphinx.ext.napoleon.docstring",
"sphinx.highlighting",
"sphinx.jinja2glue",
"sphinx.registry",
"sphinx.search",
- "sphinx.testing.fixtures",
- "sphinx.testing.path",
- "sphinx.testing.util",
"sphinx.util",
- "sphinx.util.display",
"sphinx.util.docfields",
"sphinx.util.docutils",
"sphinx.util.i18n",