From 835127c86fbc963ed963c2d48d0cfd976b425475 Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Mon, 26 Aug 2024 15:17:25 +0100 Subject: [PATCH 1/2] pytest-lsp: Drop support for pytest v7 --- lib/pytest-lsp/changes/180.breaking.md | 1 + lib/pytest-lsp/hatch.toml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 lib/pytest-lsp/changes/180.breaking.md diff --git a/lib/pytest-lsp/changes/180.breaking.md b/lib/pytest-lsp/changes/180.breaking.md new file mode 100644 index 0000000..2d0b48c --- /dev/null +++ b/lib/pytest-lsp/changes/180.breaking.md @@ -0,0 +1 @@ +Drop support for pytest v7 diff --git a/lib/pytest-lsp/hatch.toml b/lib/pytest-lsp/hatch.toml index 1b94a8c..4347cf2 100644 --- a/lib/pytest-lsp/hatch.toml +++ b/lib/pytest-lsp/hatch.toml @@ -13,11 +13,10 @@ dependencies = ["pytest-asyncio"] [[envs.hatch-test.matrix]] python = ["3.9", "3.10", "3.11", "3.12"] -pytest = ["7", "8"] +pytest = ["8"] [envs.hatch-test.overrides] matrix.pytest.dependencies = [ - { value = "pytest>=7,<8", if = ["7"] }, { value = "pytest>=8,<9", if = ["8"] }, ] From b6482adb0961c89a037bc58a0c7374f39be2e260 Mon Sep 17 00:00:00 2001 From: Alex Carney Date: Mon, 26 Aug 2024 15:20:23 +0100 Subject: [PATCH 2/2] pytest-lsp: Add support for Python 3.13 --- .github/workflows/pytest-lsp-pr.yml | 2 +- lib/pytest-lsp/changes/180.misc.md | 1 + lib/pytest-lsp/hatch.toml | 2 +- lib/pytest-lsp/pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 lib/pytest-lsp/changes/180.misc.md diff --git a/.github/workflows/pytest-lsp-pr.yml b/.github/workflows/pytest-lsp-pr.yml index 7979892..0c44fcf 100644 --- a/.github/workflows/pytest-lsp-pr.yml +++ b/.github/workflows/pytest-lsp-pr.yml @@ -41,7 +41,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: diff --git a/lib/pytest-lsp/changes/180.misc.md b/lib/pytest-lsp/changes/180.misc.md new file mode 100644 index 0000000..f32ba63 --- /dev/null +++ b/lib/pytest-lsp/changes/180.misc.md @@ -0,0 +1 @@ +Add support for Python 3.13 diff --git a/lib/pytest-lsp/hatch.toml b/lib/pytest-lsp/hatch.toml index 4347cf2..0e7cf09 100644 --- a/lib/pytest-lsp/hatch.toml +++ b/lib/pytest-lsp/hatch.toml @@ -12,7 +12,7 @@ packages = ["pytest_lsp"] dependencies = ["pytest-asyncio"] [[envs.hatch-test.matrix]] -python = ["3.9", "3.10", "3.11", "3.12"] +python = ["3.9", "3.10", "3.11", "3.12", "3.13"] pytest = ["8"] [envs.hatch-test.overrides] diff --git a/lib/pytest-lsp/pyproject.toml b/lib/pytest-lsp/pyproject.toml index 9002f99..a22842f 100644 --- a/lib/pytest-lsp/pyproject.toml +++ b/lib/pytest-lsp/pyproject.toml @@ -21,9 +21,9 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dependencies = [ - "importlib-resources; python_version<\"3.9\"", "packaging", "pygls>=1.1.0", "pytest",