From 34061c8205d4f7df6621bb6670b72211d0293da5 Mon Sep 17 00:00:00 2001 From: alessandrofelder Date: Thu, 26 Oct 2023 11:13:41 +0100 Subject: [PATCH 1/3] fix lack of qtbindings in tox --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c3b9fcf1..d3d568b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,8 @@ dev = [ "mypy", "pre-commit", "ruff", - "setuptools_scm" + "setuptools_scm", + "pyside2" ] nb = ["jupyter", "k3d"] pyside2= ["PySide2"] From 4871a02fa06d8fb4e1c902403b055a3559ef68b9 Mon Sep 17 00:00:00 2001 From: alessandrofelder Date: Thu, 26 Oct 2023 11:50:36 +0100 Subject: [PATCH 2/3] drop 3.8 support, add 3.11 to tox --- .github/workflows/test_and_deploy.yml | 6 +++--- pyproject.toml | 1 - tox.ini | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 9ec68837..57298070 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -21,14 +21,14 @@ jobs: strategy: matrix: # Run all supported Python versions on linux - python-version: ["3.8", "3.9", "3.10",] + python-version: ["3.9", "3.10", "3.11"] os: [ubuntu-latest] # Include one windows and macos run include: - os: macos-latest - python-version: "3.10" + python-version: "3.11" - os: windows-latest - python-version: "3.10" + python-version: "3.11" steps: # Run tests diff --git a/pyproject.toml b/pyproject.toml index d3d568b6..dec1fb70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,6 @@ classifiers = [ "Development Status :: 3 - Alpha", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/tox.ini b/tox.ini index 10daef61..da9eb0e0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,12 @@ [tox] -envlist = py{38,39,310} +envlist = py{39,310,311} isolated_build = True [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 [testenv] extras = From 679eb50ba9fe23e7d07700fcfb35ae1b89883b7c Mon Sep 17 00:00:00 2001 From: alessandrofelder Date: Thu, 26 Oct 2023 13:02:08 +0100 Subject: [PATCH 3/3] fail slow on CI (at least for now) --- .github/workflows/test_and_deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 57298070..f378b9d0 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -19,6 +19,7 @@ jobs: name: ${{ matrix.os }} py${{ matrix.python-version }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: # Run all supported Python versions on linux python-version: ["3.9", "3.10", "3.11"]