Add Python 3.12 build (#85)

* Add Python 3.12 build

* Update typing extensions

* Remove Python 3.7
This commit is contained in:
offa
2023-12-31 04:02:53 +00:00
committed by GitHub
parent 8cc05adcf4
commit 9529df5d68
4 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11"] python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-22.04, windows-2022] os: [ubuntu-22.04, windows-2022]
steps: steps:
- name: Checkout - name: Checkout

6
pdm.lock generated
View File

@@ -549,12 +549,12 @@ files = [
[[package]] [[package]]
name = "typing-extensions" name = "typing-extensions"
version = "4.4.0" version = "4.9.0"
requires_python = ">=3.7" requires_python = ">=3.7"
summary = "Backported and Experimental Type Hints for Python 3.7+" summary = "Backported and Experimental Type Hints for Python 3.7+"
files = [ files = [
{file = "typing_extensions-4.4.0-py3-none-any.whl", hash = "sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e"}, {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"},
{file = "typing_extensions-4.4.0.tar.gz", hash = "sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa"}, {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"},
] ]
[[package]] [[package]]

View File

@@ -8,7 +8,7 @@ authors = [
dependencies = [ dependencies = [
"pygls>=1.1.1", "pygls>=1.1.1",
] ]
requires-python = ">=3.7.9,<3.12" requires-python = ">=3.8.0,<3.13"
readme = "README.md" readme = "README.md"
license = {text = "MIT"} license = {text = "MIT"}
keywords = ["cmake", "completion", "vim", "lsp"] keywords = ["cmake", "completion", "vim", "lsp"]

View File

@@ -1,5 +1,5 @@
[tox] [tox]
env_list = py{37,38,39,310,311} env_list = py{38,39,310,311,312}
isolated_build = True isolated_build = True
passenv = * passenv = *
setenv = setenv =
@@ -7,11 +7,11 @@ setenv =
[gh-actions] [gh-actions]
python = python =
3.7: py37
3.8: py38 3.8: py38
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311 3.11: py311
3.12: py312
[testenv] [testenv]
allowlist_externals = allowlist_externals =