From ca7336a98bb9e4ccddc5662084c415cec4d82c0e Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Wed, 5 Jul 2023 15:22:28 +0200 Subject: [PATCH] Support Python 3.11 and use it in CI runs --- .github/workflows/ci.yml | 10 +++++----- _meta/setup.cfg | 3 ++- citadel/setup.cfg | 3 ++- cloud_captchas/setup.cfg | 3 ++- livesync/setup.cfg | 3 ++- livesync_debug/setup.cfg | 3 ++- owncloud/setup.cfg | 3 ++- payment_manual/setup.cfg | 3 ++- payment_paypal/setup.cfg | 3 ++- payment_sixpay/setup.cfg | 3 ++- piwik/setup.cfg | 3 ++- previewer_code/setup.cfg | 3 ++- previewer_jupyter/setup.cfg | 3 ++- prometheus/setup.cfg | 3 ++- storage_s3/setup.cfg | 3 ++- themes_legacy/setup.cfg | 3 ++- ursh/setup.cfg | 3 ++- vc_dummy/setup.cfg | 3 ++- vc_zoom/setup.cfg | 3 ++- 19 files changed, 41 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b29b30d..1d8eed3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/_meta/setup.cfg b/_meta/setup.cfg index 18bac9c..a242632 100644 --- a/_meta/setup.cfg +++ b/_meta/setup.cfg @@ -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 diff --git a/citadel/setup.cfg b/citadel/setup.cfg index 7deef8f..af10c26 100644 --- a/citadel/setup.cfg +++ b/citadel/setup.cfg @@ -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 diff --git a/cloud_captchas/setup.cfg b/cloud_captchas/setup.cfg index bcd5442..8958e68 100644 --- a/cloud_captchas/setup.cfg +++ b/cloud_captchas/setup.cfg @@ -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 diff --git a/livesync/setup.cfg b/livesync/setup.cfg index 6d4b528..92cf755 100644 --- a/livesync/setup.cfg +++ b/livesync/setup.cfg @@ -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 diff --git a/livesync_debug/setup.cfg b/livesync_debug/setup.cfg index b2498af..7338537 100644 --- a/livesync_debug/setup.cfg +++ b/livesync_debug/setup.cfg @@ -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 diff --git a/owncloud/setup.cfg b/owncloud/setup.cfg index 6da37a2..b0b67a9 100644 --- a/owncloud/setup.cfg +++ b/owncloud/setup.cfg @@ -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 diff --git a/payment_manual/setup.cfg b/payment_manual/setup.cfg index 441c6b7..4863082 100644 --- a/payment_manual/setup.cfg +++ b/payment_manual/setup.cfg @@ -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 diff --git a/payment_paypal/setup.cfg b/payment_paypal/setup.cfg index 56b46fa..631dfa1 100644 --- a/payment_paypal/setup.cfg +++ b/payment_paypal/setup.cfg @@ -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 diff --git a/payment_sixpay/setup.cfg b/payment_sixpay/setup.cfg index 5d05f32..fef3f97 100644 --- a/payment_sixpay/setup.cfg +++ b/payment_sixpay/setup.cfg @@ -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 diff --git a/piwik/setup.cfg b/piwik/setup.cfg index a16398d..2cab444 100644 --- a/piwik/setup.cfg +++ b/piwik/setup.cfg @@ -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 diff --git a/previewer_code/setup.cfg b/previewer_code/setup.cfg index 7d36479..91f9412 100644 --- a/previewer_code/setup.cfg +++ b/previewer_code/setup.cfg @@ -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 diff --git a/previewer_jupyter/setup.cfg b/previewer_jupyter/setup.cfg index 0bb5f89..10c428a 100644 --- a/previewer_jupyter/setup.cfg +++ b/previewer_jupyter/setup.cfg @@ -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 diff --git a/prometheus/setup.cfg b/prometheus/setup.cfg index d9a080c..f55decc 100644 --- a/prometheus/setup.cfg +++ b/prometheus/setup.cfg @@ -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 diff --git a/storage_s3/setup.cfg b/storage_s3/setup.cfg index 0957902..fc2a844 100644 --- a/storage_s3/setup.cfg +++ b/storage_s3/setup.cfg @@ -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 diff --git a/themes_legacy/setup.cfg b/themes_legacy/setup.cfg index b869cd2..77b0e48 100644 --- a/themes_legacy/setup.cfg +++ b/themes_legacy/setup.cfg @@ -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 diff --git a/ursh/setup.cfg b/ursh/setup.cfg index 6e28048..ce0f126 100644 --- a/ursh/setup.cfg +++ b/ursh/setup.cfg @@ -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 diff --git a/vc_dummy/setup.cfg b/vc_dummy/setup.cfg index 9b3f8c7..8db79e4 100644 --- a/vc_dummy/setup.cfg +++ b/vc_dummy/setup.cfg @@ -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 diff --git a/vc_zoom/setup.cfg b/vc_zoom/setup.cfg index 46e679e..1e1ee38 100644 --- a/vc_zoom/setup.cfg +++ b/vc_zoom/setup.cfg @@ -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