Support Python 3.11 and use it in CI runs

This commit is contained in:
Adrian Moennich 2023-07-05 15:22:28 +02:00
parent 93af9bfc14
commit ca7336a98b
19 changed files with 41 additions and 23 deletions

View File

@ -41,14 +41,14 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'
- name: Install system dependencies
run: sudo apt-get install postgresql-client libpq-dev
- name: Create virtualenv
run: |
python3.9 -m venv .venv
python3.11 -m venv .venv
source .venv/bin/activate
pip install -U pip setuptools wheel
@ -66,7 +66,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: pip|${{ runner.os }}|3.9|${{ hashFiles('**/setup.cfg') }}
key: pip|${{ runner.os }}|3.11|${{ hashFiles('**/setup.cfg') }}
- uses: actions/cache@v3
id: cache-npm
@ -131,7 +131,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'
- name: Setup Node
uses: actions/setup-node@v3
@ -203,7 +203,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'
- name: Setup Node
uses: actions/setup-node@v3

View File

@ -14,10 +14,11 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
zip_safe = false
python_requires = >=3.9.0, <3.11
python_requires = >=3.9.0, <3.12
install_requires =
indico>=3.2

View File

@ -14,12 +14,13 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.11
python_requires = >=3.9.0, <3.12
install_requires =
indico>=3.2.6.dev0
indico-plugin-livesync>=3.2.1

View File

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

View File

@ -14,12 +14,13 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.11
python_requires = >=3.9.0, <3.12
install_requires =
indico>=3.2.6.dev0

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -14,12 +14,13 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
packages = find:
zip_safe = false
include_package_data = true
python_requires = >=3.9.0, <3.11
python_requires = >=3.9.0, <3.12
install_requires =
indico>=3.2
prometheus-client==0.16.0

View File

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

View File

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

View File

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

View File

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

View File

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