Skip to content

Commit

Permalink
Start testing against 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Jul 22, 2024
1 parent 306fbaf commit fc194b2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lsp-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest, windows-latest]

steps:
Expand All @@ -55,6 +55,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: pip cache
uses: actions/cache@v4
Expand Down
1 change: 1 addition & 0 deletions code/changes/859.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Python 3.13
1 change: 1 addition & 0 deletions lib/esbonio/changes/859.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Python 3.13
7 changes: 6 additions & 1 deletion lib/esbonio/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ extra-dependencies = ["pytest-lsp>=0.3.1,<1"]
matrix-name-format = "{variable}{value}"

[[envs.hatch-test.matrix]]
python = ["3.9", "3.10", "3.11", "3.12"]
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]

[[envs.hatch-test.matrix]]
python = ["3.9", "3.10", "3.11", "3.12"]
sphinx = ["5", "6", "7"]

[[envs.hatch-test.matrix]]
python = ["3.13"]
sphinx = ["6", "7"]


[envs.hatch-test.overrides]
matrix.sphinx.dependencies = [
"furo",
Expand Down
4 changes: 2 additions & 2 deletions lib/esbonio/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Alex Carney", email = "[email protected]" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand All @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Documentation :: Sphinx",
]
Expand All @@ -42,7 +43,6 @@ esbonio = "esbonio.server.cli:main"

[project.optional-dependencies]
typecheck = ["mypy", "pytest-lsp>=0.3.1", "types-docutils", "types-pygments"]
dev = ["black", "flake8", "pre-commit", "tox"]

[tool.coverage.run]
parallel = true
Expand Down

0 comments on commit fc194b2

Please sign in to comment.