From 5fa5ba90359af30ee00165210ecfbb6af24206d1 Mon Sep 17 00:00:00 2001 From: offa Date: Mon, 16 Oct 2023 21:05:58 +0200 Subject: [PATCH 1/3] Add Python 3.12 build --- .github/workflows/tests.yml | 2 +- pyproject.toml | 2 +- tox.ini | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4587e18..341fda2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-22.04, windows-2022] steps: - name: Checkout diff --git a/pyproject.toml b/pyproject.toml index cae1d88..99fc497 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = [ dependencies = [ "pygls>=1.1.1", ] -requires-python = ">=3.7.9,<3.12" +requires-python = ">=3.7.9,<3.13" readme = "README.md" license = {text = "MIT"} keywords = ["cmake", "completion", "vim", "lsp"] diff --git a/tox.ini b/tox.ini index 6ee550d..82165ef 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -env_list = py{37,38,39,310,311} +env_list = py{37,38,39,310,311,312} isolated_build = True passenv = * setenv = @@ -12,6 +12,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] allowlist_externals = From fe3d1c9fc964cc6a10e84cd6a5670113e47a9d39 Mon Sep 17 00:00:00 2001 From: offa Date: Mon, 11 Dec 2023 16:58:18 +0100 Subject: [PATCH 2/3] Update typing extensions --- pdm.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdm.lock b/pdm.lock index d53f63e..01316ed 100644 --- a/pdm.lock +++ b/pdm.lock @@ -549,12 +549,12 @@ files = [ [[package]] name = "typing-extensions" -version = "4.4.0" +version = "4.9.0" requires_python = ">=3.7" summary = "Backported and Experimental Type Hints for Python 3.7+" files = [ - {file = "typing_extensions-4.4.0-py3-none-any.whl", hash = "sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e"}, - {file = "typing_extensions-4.4.0.tar.gz", hash = "sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa"}, + {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"}, + {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"}, ] [[package]] From 8c6b18a224f37629de4ad45bbe56622041df575d Mon Sep 17 00:00:00 2001 From: offa Date: Thu, 28 Dec 2023 15:48:50 +0100 Subject: [PATCH 3/3] Remove Python 3.7 --- .github/workflows/tests.yml | 2 +- pyproject.toml | 2 +- tox.ini | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 341fda2..d25ff7e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-22.04, windows-2022] steps: - name: Checkout diff --git a/pyproject.toml b/pyproject.toml index 99fc497..ef2b6a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = [ dependencies = [ "pygls>=1.1.1", ] -requires-python = ">=3.7.9,<3.13" +requires-python = ">=3.8.0,<3.13" readme = "README.md" license = {text = "MIT"} keywords = ["cmake", "completion", "vim", "lsp"] diff --git a/tox.ini b/tox.ini index 82165ef..e53642e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -env_list = py{37,38,39,310,311,312} +env_list = py{38,39,310,311,312} isolated_build = True passenv = * setenv = @@ -7,7 +7,6 @@ setenv = [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310