From 40c3406e81b2c75ad0aa2b14a389c59c0553464b Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Thu, 5 Oct 2023 16:24:52 +0200 Subject: [PATCH] Support Python 3.12 and use it in CI runs --- .github/workflows/ci.yml | 6 +++--- _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, 39 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e604f33..9e9ee30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/_meta/setup.cfg b/_meta/setup.cfg index 781f0bf..f44b1d6 100644 --- a/_meta/setup.cfg +++ b/_meta/setup.cfg @@ -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 diff --git a/citadel/setup.cfg b/citadel/setup.cfg index bcfde76..2b04a9a 100644 --- a/citadel/setup.cfg +++ b/citadel/setup.cfg @@ -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 diff --git a/cloud_captchas/setup.cfg b/cloud_captchas/setup.cfg index dfc05c4..5f6b884 100644 --- a/cloud_captchas/setup.cfg +++ b/cloud_captchas/setup.cfg @@ -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 diff --git a/livesync/setup.cfg b/livesync/setup.cfg index 8eb5a0c..caa3e08 100644 --- a/livesync/setup.cfg +++ b/livesync/setup.cfg @@ -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 diff --git a/livesync_debug/setup.cfg b/livesync_debug/setup.cfg index 5e37622..76595f7 100644 --- a/livesync_debug/setup.cfg +++ b/livesync_debug/setup.cfg @@ -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 diff --git a/owncloud/setup.cfg b/owncloud/setup.cfg index 30cf7d8..ec5b320 100644 --- a/owncloud/setup.cfg +++ b/owncloud/setup.cfg @@ -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 diff --git a/payment_manual/setup.cfg b/payment_manual/setup.cfg index 4427666..7f212db 100644 --- a/payment_manual/setup.cfg +++ b/payment_manual/setup.cfg @@ -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 diff --git a/payment_paypal/setup.cfg b/payment_paypal/setup.cfg index 5bce127..b237a49 100644 --- a/payment_paypal/setup.cfg +++ b/payment_paypal/setup.cfg @@ -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 diff --git a/payment_sixpay/setup.cfg b/payment_sixpay/setup.cfg index 6ff90c1..d2d9ac4 100644 --- a/payment_sixpay/setup.cfg +++ b/payment_sixpay/setup.cfg @@ -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 diff --git a/piwik/setup.cfg b/piwik/setup.cfg index 0eb72ef..7056da6 100644 --- a/piwik/setup.cfg +++ b/piwik/setup.cfg @@ -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 diff --git a/previewer_code/setup.cfg b/previewer_code/setup.cfg index 1b9cba5..c38da7c 100644 --- a/previewer_code/setup.cfg +++ b/previewer_code/setup.cfg @@ -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 diff --git a/previewer_jupyter/setup.cfg b/previewer_jupyter/setup.cfg index 4444633..257e363 100644 --- a/previewer_jupyter/setup.cfg +++ b/previewer_jupyter/setup.cfg @@ -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 diff --git a/prometheus/setup.cfg b/prometheus/setup.cfg index 35fed47..46b7d2d 100644 --- a/prometheus/setup.cfg +++ b/prometheus/setup.cfg @@ -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 diff --git a/storage_s3/setup.cfg b/storage_s3/setup.cfg index 3d3a1bb..773f58f 100644 --- a/storage_s3/setup.cfg +++ b/storage_s3/setup.cfg @@ -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 diff --git a/themes_legacy/setup.cfg b/themes_legacy/setup.cfg index 08f99eb..041a289 100644 --- a/themes_legacy/setup.cfg +++ b/themes_legacy/setup.cfg @@ -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 diff --git a/ursh/setup.cfg b/ursh/setup.cfg index 0eb93a8..83fe8b1 100644 --- a/ursh/setup.cfg +++ b/ursh/setup.cfg @@ -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 diff --git a/vc_dummy/setup.cfg b/vc_dummy/setup.cfg index d21d919..047ad4c 100644 --- a/vc_dummy/setup.cfg +++ b/vc_dummy/setup.cfg @@ -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 diff --git a/vc_zoom/setup.cfg b/vc_zoom/setup.cfg index aca1f5b..9d61925 100644 --- a/vc_zoom/setup.cfg +++ b/vc_zoom/setup.cfg @@ -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