Support Python 3.12 and use it in CI runs

This commit is contained in:
Adrian Moennich 2023-10-05 16:24:52 +02:00
parent 29f8db4230
commit 40c3406e81
19 changed files with 39 additions and 21 deletions

View File

@ -1,7 +1,7 @@
name: CI
env:
PYTHON_VERSION: '3.11.5'
PYTHON_VERSION: '3.12.0'
on:
push:
@ -51,7 +51,7 @@ jobs:
- name: Create virtualenv
run: |
python3.11 -m venv .venv
python3.12 -m venv .venv
source .venv/bin/activate
pip install -U pip setuptools wheel
@ -69,7 +69,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: pip|${{ runner.os }}|3.11|${{ hashFiles('**/setup.cfg') }}
key: pip|${{ runner.os }}|3.12|${{ hashFiles('**/setup.cfg') }}
- uses: actions/cache@v3
id: cache-npm

View File

@ -15,10 +15,11 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
zip_safe = false
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2.6

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2.6
indico-plugin-livesync>=3.2.1

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2.6

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.0
indico-plugin-livesync>=3.0.dev0

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.3.dev0

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2
iso4217==1.6.20180829

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2
Pygments>=2.7.2,<3

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2
nbconvert==6.5.0

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2
prometheus-client==0.17.1

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2
boto3>=1.20.51,<2.0

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.3.dev0

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.2

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.1

View File

@ -15,12 +15,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.12
python_requires = >=3.9.0, <3.13
install_requires =
indico>=3.3.dev0
PyJWT>=2.0.0,<3