Resolve versioned tests and update the required dependencies for python <3.11

- The github action that runs pytest in every python version was actually running pyhton 3.13 for all the cases, so it was useless
- The docs uses myst-parser==4.0.1 which is only supported in python >=3.10 and sphinx==8.2.3 which is only supported in python >=3.11, so both dependencies had been attached to needed python version so uv sync doesn't complain anymore
- No need of tool.uv.dependency-groups.docs anymore
- Rest of the changes are related to some imports not available in python 3.9 and 3.10
This commit is contained in:
pablobuenaposada
2025-08-16 23:58:55 +02:00
parent c0ab4869a6
commit aab830cda4
4 changed files with 1331 additions and 1255 deletions

View File

@@ -16,9 +16,6 @@ dependencies = [
"anisette>=1.2.1,<2.0.0",
]
[tool.uv.dependency-groups.docs]
requires-python = ">=3.11"
[dependency-groups]
dev = [
"pre-commit>=4.0.0,<5.0.0",
@@ -30,8 +27,8 @@ dev = [
test = ["pytest>=8.3.2,<9.0.0"]
docs = [
"furo>=2025.7.19",
"myst-parser>=4.0.1",
"sphinx>=8.2.3,<8.3.0",
"myst-parser>=4.0.1; python_full_version >= '3.10'",
"sphinx>=8.2.3,<8.3.0; python_full_version >= '3.11'",
"sphinx-autoapi==3.6.0",
"sphinx-book-theme>=1.1.4",
]