From 35209faeb6842d155b95cf9bcb76d6724245bde8 Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Sun, 21 Jul 2024 20:16:39 +0100 Subject: [PATCH] Start testing against 3.13 --- .github/workflows/lsp-pr.yml | 3 ++- code/changes/859.misc.md | 1 + lib/esbonio/changes/859.misc.md | 1 + lib/esbonio/hatch.toml | 7 ++++++- lib/esbonio/pyproject.toml | 4 ++-- 5 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 code/changes/859.misc.md create mode 100644 lib/esbonio/changes/859.misc.md diff --git a/.github/workflows/lsp-pr.yml b/.github/workflows/lsp-pr.yml index f1114d720..ec5462698 100644 --- a/.github/workflows/lsp-pr.yml +++ b/.github/workflows/lsp-pr.yml @@ -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: @@ -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 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..dac8a519d 100644 --- a/lib/esbonio/hatch.toml +++ b/lib/esbonio/hatch.toml @@ -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", 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