diff --git a/.devcontainer/tools.mk b/.devcontainer/tools.mk index 9d01defe8..32ad7fae6 100644 --- a/.devcontainer/tools.mk +++ b/.devcontainer/tools.mk @@ -9,7 +9,7 @@ HATCH_VERSION = 1.10.0 NODE_VERSION := 18.20.2 # The versions of Python we support -PYXX_versions := 3.9 3.10 3.11 3.12 +PYXX_versions := 3.9 3.10 3.11 3.12 3.13 PY_INTERPRETERS = # Hatch is not only used for building packages, but bootstrapping any missing diff --git a/.github/workflows/lsp-pr.yml b/.github/workflows/lsp-pr.yml index f1114d720..8e2bb9d58 100644 --- a/.github/workflows/lsp-pr.yml +++ b/.github/workflows/lsp-pr.yml @@ -45,9 +45,9 @@ 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] - + allow-prereleases: true steps: - uses: actions/checkout@v4 diff --git a/code/changes/859.misc.md b/code/changes/859.misc.md new file mode 100644 index 000000000..f32ba63f0 --- /dev/null +++ b/code/changes/859.misc.md @@ -0,0 +1 @@ +Add support for Python 3.13 diff --git a/lib/esbonio/changes/859.misc.md b/lib/esbonio/changes/859.misc.md new file mode 100644 index 000000000..f32ba63f0 --- /dev/null +++ b/lib/esbonio/changes/859.misc.md @@ -0,0 +1 @@ +Add support for Python 3.13 diff --git a/lib/esbonio/hatch.toml b/lib/esbonio/hatch.toml index de33d0aad..4741b23a5 100644 --- a/lib/esbonio/hatch.toml +++ b/lib/esbonio/hatch.toml @@ -14,10 +14,10 @@ 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"] +python = ["3.9", "3.10", "3.11", "3.12", "3.13"] sphinx = ["5", "6", "7"] [envs.hatch-test.overrides] diff --git a/lib/esbonio/pyproject.toml b/lib/esbonio/pyproject.toml index 7b1cb73e5..54a6bd61f 100644 --- a/lib/esbonio/pyproject.toml +++ b/lib/esbonio/pyproject.toml @@ -11,7 +11,7 @@ requires-python = ">=3.9" license = { text = "MIT" } authors = [{ name = "Alex Carney", email = "alcarneyme@gmail.com" }] classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", @@ -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", ] @@ -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