Skip to content

Commit

Permalink
ci: Support pydantic 2.7 and sphinx 7.3 (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
mansenfranzen committed Apr 22, 2024
1 parent 4eb1629 commit a797a77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Expand Up @@ -49,7 +49,7 @@ jobs:
sphinx_version: "72"
- python_version: "3.12"
pydantic_version: "27"
sphinx_version: "72"
sphinx_version: "73"
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Expand Up @@ -40,6 +40,7 @@ myst-parser = {version = "^2.0", optional = true }
# extras tests
pytest = {version = "^8.0.0", optional = true }
coverage = { version ="^7", optional = true }
defusedxml = { version = ">=0.7.1", optional = true }

# extras type checking
mypy = { version = "^1.9", optional = true }
Expand All @@ -60,7 +61,8 @@ docs = ["sphinx-rtd-theme",
"myst-parser"]

test = ["pytest",
"coverage"]
"coverage",
"defusedxml"]

linting = ["ruff"]

Expand Down
5 changes: 3 additions & 2 deletions tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,311,312}-pydantic{20,21,22,23,24,25,26,27,latest}-sphinx{40,45,53,62,70,71,72,latest}, latest, development, no_erdantic, linter
envlist = py{37,38,39,310,311,312}-pydantic{20,21,22,23,24,25,26,27,latest}-sphinx{40,45,53,62,70,71,72,73,latest}, latest, development, no_erdantic, linter
isolated_build = True

[testenv]
Expand All @@ -12,7 +12,7 @@ commands =
coverage report -m
coverage xml

[testenv:py{37,38,39,310,311,312}-pydantic{20,21,22,23,24,25,26,27,latest}-sphinx{40,45,53,62,70,71,72,latest}]
[testenv:py{37,38,39,310,311,312}-pydantic{20,21,22,23,24,25,26,27,latest}-sphinx{40,45,53,62,70,71,72,73,latest}]
description = "Test specific historical stable versions."
deps =
pydantic20: pydantic~=2.0.0
Expand Down Expand Up @@ -46,6 +46,7 @@ deps =
sphinx70: sphinx~=7.0.0
sphinx71: sphinx~=7.1.0
sphinx72: sphinx~=7.2.0
sphinx73: sphinx~=7.3.0
sphinxlatest: sphinx

[testenv:latest]
Expand Down

0 comments on commit a797a77

Please sign in to comment.