From 98e3862328f634f451867e9df582c2d8730632d7 Mon Sep 17 00:00:00 2001 From: Marco Heinemann Date: Thu, 18 Jan 2024 16:47:34 +0100 Subject: [PATCH] Don't test 3.11 and 3.12 for Windows --- .github/workflows/tox.yml | 7 ++++++- pyproject.toml | 2 ++ tox.ini | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 38e627c..71d5413 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -11,8 +11,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [[3, 8], [3, 9], [3, 10]] + python-version: [[3, 8], [3, 9], [3, 10], [3, 11], [3, 12]] os: [ubuntu-latest, macos-latest, windows-latest] + exclude: + - os: windows-latest + python-version: [3, 11] + - os: windows-latest + python-version: [3, 12] steps: - uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml index af7859e..8c683ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,8 @@ classifiers = [ 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Software Development', diff --git a/tox.ini b/tox.ini index e75c24e..ac9526f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ isolated_build = True # python 3.11 and 3.12 test ok on Linux but fail on Windows due to Pillow # Currently used Pillow 9.0.1 only supports Python 3.10 according to # https://pillow.readthedocs.io/en/latest/installation.html#python-support -envlist = py{38,39,310}, docs, black +envlist = py{38,39,310,311,312}, docs, black [testenv] allowlist_externals = poetry