From 456e628909189ff8f5bc3bda2037d7fbe6a4d28c Mon Sep 17 00:00:00 2001 From: purificant Date: Wed, 20 Dec 2023 01:09:09 +0000 Subject: [PATCH] test with python 3.12 --- .github/workflows/test.yaml | 3 ++- poetry.lock | 18 +++++++++++++++++- pyproject.toml | 1 + requirements-dev.txt | 1 + 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 831b630..59ecb73 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,7 +15,7 @@ jobs: test: strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] # do not cancel any jobs when a single job fails fail-fast: false @@ -38,6 +38,7 @@ jobs: run: | pip install --no-cache-dir --upgrade pip pip install --no-cache-dir --requirement requirements-dev.txt + pip install setuptools - name: Run code linting checks run: make ci-lint diff --git a/poetry.lock b/poetry.lock index 854bf6f..fe0366d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -686,6 +686,22 @@ files = [ {file = "ruff-0.1.8.tar.gz", hash = "sha256:f7ee467677467526cfe135eab86a40a0e8db43117936ac4f9b469ce9cdb3fb62"}, ] +[[package]] +name = "setuptools" +version = "69.0.2" +description = "Easily download, build, install, upgrade, and uninstall Python packages" +optional = false +python-versions = ">=3.8" +files = [ + {file = "setuptools-69.0.2-py3-none-any.whl", hash = "sha256:1e8fdff6797d3865f37397be788a4e3cba233608e9b509382a2777d25ebde7f2"}, + {file = "setuptools-69.0.2.tar.gz", hash = "sha256:735896e78a4742605974de002ac60562d286fa8051a7e2299445e8e8fbb01aa6"}, +] + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.1)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] + [[package]] name = "snowballstemmer" version = "2.2.0" @@ -733,4 +749,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "12a8982390775fe2c71b0bd9efcaab49182206d200d2218975d671f14404beb5" +content-hash = "b5ce22e0be02722609406f0df753a2cadc7a4e0d12fb72b326b5c723e4899a63" diff --git a/pyproject.toml b/pyproject.toml index be48166..793b9fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,7 @@ pynacl = "^1.5" pytest = "^7.4" pytest-benchmark = "^4.0" ruff = "^0.1.8" +setuptools = "^69.0.2" [tool.black] exclude = '/(submodules)/' diff --git a/requirements-dev.txt b/requirements-dev.txt index 6285b7b..2d09c98 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -29,6 +29,7 @@ pysodium==0.7.17 ; python_version >= "3.8" and python_version < "4.0" pytest-benchmark==4.0.0 ; python_version >= "3.8" and python_version < "4.0" pytest==7.4.3 ; python_version >= "3.8" and python_version < "4.0" ruff==0.1.8 ; python_version >= "3.8" and python_version < "4.0" +setuptools==69.0.2 ; python_version >= "3.8" and python_version < "4.0" snowballstemmer==2.2.0 ; python_version >= "3.8" and python_version < "4.0" tomli==2.0.1 ; python_version >= "3.8" and python_version < "3.11" tomlkit==0.12.3 ; python_version >= "3.8" and python_version < "4.0"