From 93046ec36a2f25174c5e883b44222604dbc58e87 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Tue, 7 Feb 2023 00:11:23 +0000 Subject: [PATCH] enable py311 ci --- .github/workflows/ci-tests.yml | 6 +++++- .github/workflows/ci-wheels.yml | 2 +- setup.cfg | 1 + tox.ini | 15 ++++++++++++--- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 4a38b314..52d4c4ab 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -38,7 +38,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - version: ["py310"] + version: ["py311"] #session: ["tests", "doc-build", "doc-linkcheck", "doc-tests"] session: ["tests"] include: @@ -54,6 +54,10 @@ jobs: version: "py310" session: "tests" platform: "linux" + - os: "ubuntu-latest" + version: "py311" + session: "tests" + platform: "linux" posargs: "--cov-report=xml --cov" post-command: "codecov" #- os: "ubuntu-latest" diff --git a/.github/workflows/ci-wheels.yml b/.github/workflows/ci-wheels.yml index b3051ae8..67c20c1d 100644 --- a/.github/workflows/ci-wheels.yml +++ b/.github/workflows/ci-wheels.yml @@ -74,7 +74,7 @@ jobs: strategy: fail-fast: false matrix: - version: ["py38", "py39", "py310"] + version: ["py38", "py39", "py310", "py311"] session: ["env"] steps: diff --git a/setup.cfg b/setup.cfg index ce6c6a52..6495d7fb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,6 +43,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Scientific/Engineering :: Atmospheric Science description = Cartographic rendering and mesh analytics powered by PyVista long_description = file: README.md diff --git a/tox.ini b/tox.ini index e7cf66ec..1119f7f6 100644 --- a/tox.ini +++ b/tox.ini @@ -33,34 +33,40 @@ commands = time conda-lock --channel conda-forge --kind explicit --file {env:TMPFILE} --platform linux-64 --filename-template "{envname}-\{platform\}.txt" {posargs} -[testenv:py{38,39,310}-{linux,osx,win}-env] +[testenv:py{38,39,310,311}-{linux,osx,win}-env] conda_spec = py38-linux: {toxinidir}{/}requirements{/}locks{/}py38-lock-linux-64.txt py39-linux: {toxinidir}{/}requirements{/}locks{/}py39-lock-linux-64.txt py310-linux: {toxinidir}{/}requirements{/}locks{/}py310-lock-linux-64.txt + py311-linux: {toxinidir}{/}requirements{/}locks{/}py311-lock-linux-64.txt py38-osx: {toxinidir}{/}requirements{/}locks{/}py38-lock-osx-64.txt py39-osx: {toxinidir}{/}requirements{/}locks{/}py39-lock-osx-64.txt py310-osx: {toxinidir}{/}requirements{/}locks{/}py310-lock-osx-64.txt + py311-osx: {toxinidir}{/}requirements{/}locks{/}py311-lock-osx-64.txt py38-win: {toxinidir}{/}requirements{/}locks{/}py38-lock-win-64.txt py39-win: {toxinidir}{/}requirements{/}locks{/}py39-lock-win-64.txt py310-win: {toxinidir}{/}requirements{/}locks{/}py310-lock-win-64.txt + py311-win: {toxinidir}{/}requirements{/}locks{/}py311-lock-win-64.txt description = Create an environment only containing geovista dependencies. skip_install = true -[testenv:py{38,39,310}-{linux,osx,win}-tests] +[testenv:py{38,39,310,311}-{linux,osx,win}-tests] conda_spec = py38-linux: {toxinidir}{/}requirements{/}locks{/}py38-lock-linux-64.txt py39-linux: {toxinidir}{/}requirements{/}locks{/}py39-lock-linux-64.txt py310-linux: {toxinidir}{/}requirements{/}locks{/}py310-lock-linux-64.txt + py311-linux: {toxinidir}{/}requirements{/}locks{/}py311-lock-linux-64.txt py38-osx: {toxinidir}{/}requirements{/}locks{/}py38-lock-osx-64.txt py39-osx: {toxinidir}{/}requirements{/}locks{/}py39-lock-osx-64.txt py310-osx: {toxinidir}{/}requirements{/}locks{/}py310-lock-osx-64.txt + py311-osx: {toxinidir}{/}requirements{/}locks{/}py311-lock-osx-64.txt py38-win: {toxinidir}{/}requirements{/}locks{/}py38-lock-win-64.txt py39-win: {toxinidir}{/}requirements{/}locks{/}py39-lock-win-64.txt py310-win: {toxinidir}{/}requirements{/}locks{/}py310-lock-win-64.txt + py311-win: {toxinidir}{/}requirements{/}locks{/}py311-lock-win-64.txt description = Perform geovista unit/integration tests. passenv = @@ -73,17 +79,20 @@ commands = {env:POST_COMMAND:} -[testenv:py{38,39,310}-{linux,osx-win}-doc-{build,linkcheck,tests}] +[testenv:py{38,39,310,311}-{linux,osx-win}-doc-{build,linkcheck,tests}] conda_spec = py38-linux: {toxinidir}{/}requirements{/}locks{/}py38-lock-linux-64.txt py39-linux: {toxinidir}{/}requirements{/}locks{/}py39-lock-linux-64.txt py310-linux: {toxinidir}{/}requirements{/}locks{/}py310-lock-linux-64.txt + py311-linux: {toxinidir}{/}requirements{/}locks{/}py311-lock-linux-64.txt py38-osx: {toxinidir}{/}requirements{/}locks{/}py38-lock-osx-64.txt py39-osx: {toxinidir}{/}requirements{/}locks{/}py39-lock-osx-64.txt py310-osx: {toxinidir}{/}requirements{/}locks{/}py310-lock-osx-64.txt + py311-osx: {toxinidir}{/}requirements{/}locks{/}py311-lock-osx-64.txt py38-win: {toxinidir}{/}requirements{/}locks{/}py38-lock-win-64.txt py39-win: {toxinidir}{/}requirements{/}locks{/}py39-lock-win-64.txt py310-win: {toxinidir}{/}requirements{/}locks{/}py310-lock-win-64.txt + py311-win: {toxinidir}{/}requirements{/}locks{/}py311-lock-win-64.txt description = Build, test and link-check the geovista documentation. envdir =