From 2a6b882093d23d83a49d114a77690bfe692db0dd Mon Sep 17 00:00:00 2001 From: Adrian Date: Tue, 26 Mar 2024 19:14:19 +0100 Subject: [PATCH] Require Python 3.12 (#230) --- .github/workflows/ci.yml | 4 ++-- _meta/README.md | 2 +- _meta/setup.cfg | 5 +---- citadel/README.md | 2 +- citadel/setup.cfg | 5 +---- cloud_captchas/README.md | 2 +- cloud_captchas/setup.cfg | 5 +---- livesync/README.md | 2 +- livesync/setup.cfg | 5 +---- livesync_debug/README.md | 2 +- livesync_debug/setup.cfg | 5 +---- owncloud/README.md | 2 +- owncloud/setup.cfg | 5 +---- payment_manual/README.md | 2 +- payment_manual/setup.cfg | 5 +---- payment_paypal/README.md | 2 +- payment_paypal/setup.cfg | 5 +---- payment_sixpay/README.md | 2 +- payment_sixpay/setup.cfg | 5 +---- piwik/README.md | 2 +- piwik/setup.cfg | 5 +---- previewer_code/README.md | 2 +- previewer_code/setup.cfg | 5 +---- previewer_jupyter/README.md | 2 +- previewer_jupyter/setup.cfg | 5 +---- prometheus/README.md | 2 +- prometheus/setup.cfg | 5 +---- storage_s3/README.md | 2 +- storage_s3/setup.cfg | 5 +---- themes_legacy/README.md | 2 +- themes_legacy/setup.cfg | 5 +---- ursh/README.md | 2 +- ursh/setup.cfg | 5 +---- vc_dummy/README.md | 2 +- vc_dummy/setup.cfg | 5 +---- vc_zoom/README.md | 2 +- vc_zoom/setup.cfg | 5 +---- 37 files changed, 38 insertions(+), 92 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd46e03..2d6c6cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ name: CI env: - PYTHON_VERSION: '3.12.0' + PYTHON_VERSION: '3.12.2' on: push: @@ -162,7 +162,7 @@ jobs: services: postgres: - image: postgres:11 + image: postgres:13 env: POSTGRES_HOST_AUTH_METHOD: trust ports: diff --git a/_meta/README.md b/_meta/README.md index 5e17651..a2779f2 100644 --- a/_meta/README.md +++ b/_meta/README.md @@ -10,7 +10,7 @@ a single package that can be installed and updated easily. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 The major/minor version of this package should match the Indico version you are using. So if you have Indico 3.0.x, then you should install version 3.0.x diff --git a/_meta/setup.cfg b/_meta/setup.cfg index 23c7fa3..efb7609 100644 --- a/_meta/setup.cfg +++ b/_meta/setup.cfg @@ -12,14 +12,11 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/citadel/README.md b/citadel/README.md index 6e44c46..a2d90d7 100644 --- a/citadel/README.md +++ b/citadel/README.md @@ -8,7 +8,7 @@ to provide advanced search functionality using an Elasticsearch backend. ### 3.3 - Adapt to Indico 3.3 changes -- Support Python 3.12 +- Support (and require) Python 3.12 - Add option to show a warning in large categories, encourating managers to use groups instead of individual ACL entries (to avoid having to re-send huge amounts of data to the backend) diff --git a/citadel/setup.cfg b/citadel/setup.cfg index 9aae295..38d773c 100644 --- a/citadel/setup.cfg +++ b/citadel/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 indico-plugin-livesync>=3.3.dev0 diff --git a/cloud_captchas/README.md b/cloud_captchas/README.md index 32b871d..6769145 100644 --- a/cloud_captchas/README.md +++ b/cloud_captchas/README.md @@ -21,7 +21,7 @@ When using hCaptcha the keys can be created on the [hCaptcha dashboard][hcaptcha ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/cloud_captchas/setup.cfg b/cloud_captchas/setup.cfg index afb2ece..c9d99db 100644 --- a/cloud_captchas/setup.cfg +++ b/cloud_captchas/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/livesync/README.md b/livesync/README.md index 23b28e5..34147cc 100644 --- a/livesync/README.md +++ b/livesync/README.md @@ -7,7 +7,7 @@ external services, typically to provide advanced search functionality. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/livesync/setup.cfg b/livesync/setup.cfg index fc7807d..c43d5f2 100644 --- a/livesync/setup.cfg +++ b/livesync/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/livesync_debug/README.md b/livesync_debug/README.md index 8bf5aef..1662615 100644 --- a/livesync_debug/README.md +++ b/livesync_debug/README.md @@ -10,7 +10,7 @@ plugins via the `indico-plugins` meta package. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2 diff --git a/livesync_debug/setup.cfg b/livesync_debug/setup.cfg index b2c4517..6d098dd 100644 --- a/livesync_debug/setup.cfg +++ b/livesync_debug/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 indico-plugin-livesync>=3.3.dev0 diff --git a/owncloud/README.md b/owncloud/README.md index fef8c64..a7520c0 100644 --- a/owncloud/README.md +++ b/owncloud/README.md @@ -25,7 +25,7 @@ it. ### 3.3 - Adapt to changes in Indico 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.2 diff --git a/owncloud/setup.cfg b/owncloud/setup.cfg index ec5b320..0a1b00a 100644 --- a/owncloud/setup.cfg +++ b/owncloud/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/payment_manual/README.md b/payment_manual/README.md index 7fd7df5..10c2905 100644 --- a/payment_manual/README.md +++ b/payment_manual/README.md @@ -10,7 +10,7 @@ integration with Indico. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/payment_manual/setup.cfg b/payment_manual/setup.cfg index 1ec8577..2a82947 100644 --- a/payment_manual/setup.cfg +++ b/payment_manual/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/payment_paypal/README.md b/payment_paypal/README.md index e70085a..c850d80 100644 --- a/payment_paypal/README.md +++ b/payment_paypal/README.md @@ -12,7 +12,7 @@ payment has been made and processed by PayPal. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/payment_paypal/setup.cfg b/payment_paypal/setup.cfg index 21dd873..9e3a2cf 100644 --- a/payment_paypal/setup.cfg +++ b/payment_paypal/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/payment_sixpay/README.md b/payment_sixpay/README.md index 46c5943..bc3c207 100644 --- a/payment_sixpay/README.md +++ b/payment_sixpay/README.md @@ -10,7 +10,7 @@ they are automatically sent back to Indico. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/payment_sixpay/setup.cfg b/payment_sixpay/setup.cfg index 3045368..aa77ccb 100644 --- a/payment_sixpay/setup.cfg +++ b/payment_sixpay/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 iso4217==1.6.20180829 diff --git a/piwik/README.md b/piwik/README.md index f9efc5b..6d48e5e 100644 --- a/piwik/README.md +++ b/piwik/README.md @@ -7,7 +7,7 @@ gather statistics about the users accessing Indico or specific Indico events. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/piwik/setup.cfg b/piwik/setup.cfg index f1d80bd..62443e2 100644 --- a/piwik/setup.cfg +++ b/piwik/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/previewer_code/README.md b/previewer_code/README.md index 5042f85..5d33416 100644 --- a/previewer_code/README.md +++ b/previewer_code/README.md @@ -19,7 +19,7 @@ The following languages are supported: ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/previewer_code/setup.cfg b/previewer_code/setup.cfg index 74ba9e7..90464dd 100644 --- a/previewer_code/setup.cfg +++ b/previewer_code/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 Pygments>=2.7.2,<3 diff --git a/previewer_jupyter/README.md b/previewer_jupyter/README.md index 44b22f7..3941d83 100644 --- a/previewer_jupyter/README.md +++ b/previewer_jupyter/README.md @@ -7,7 +7,7 @@ material to an Indico event. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/previewer_jupyter/setup.cfg b/previewer_jupyter/setup.cfg index 9c13f95..0150a22 100644 --- a/previewer_jupyter/setup.cfg +++ b/previewer_jupyter/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 nbconvert==6.5.0 diff --git a/prometheus/README.md b/prometheus/README.md index dc287c1..c223181 100644 --- a/prometheus/README.md +++ b/prometheus/README.md @@ -29,7 +29,7 @@ If you're doing development you may want to add this under `scrape_configs`: ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/prometheus/setup.cfg b/prometheus/setup.cfg index 77a239e..d7cf9d4 100644 --- a/prometheus/setup.cfg +++ b/prometheus/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 prometheus-client==0.17.1 diff --git a/storage_s3/README.md b/storage_s3/README.md index e631133..0ff9391 100644 --- a/storage_s3/README.md +++ b/storage_s3/README.md @@ -17,7 +17,7 @@ to local storage (but it would of course be possible to write a script for this) ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 - Fix incorrect download filename formatting when using signed URLs or nginx proxying ### 3.2.2 diff --git a/storage_s3/setup.cfg b/storage_s3/setup.cfg index 8ce061d..15cf3a8 100644 --- a/storage_s3/setup.cfg +++ b/storage_s3/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 boto3>=1.20.51,<2.0 diff --git a/themes_legacy/README.md b/themes_legacy/README.md index af2de8a..f7d7e4f 100644 --- a/themes_legacy/README.md +++ b/themes_legacy/README.md @@ -18,7 +18,7 @@ using it when an instance is upgraded to 3.0. ### 3.3 - Adapt to changes in Indico 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.1 diff --git a/themes_legacy/setup.cfg b/themes_legacy/setup.cfg index 041a289..a47fa66 100644 --- a/themes_legacy/setup.cfg +++ b/themes_legacy/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/ursh/README.md b/ursh/README.md index e0c1b09..75e5d25 100644 --- a/ursh/README.md +++ b/ursh/README.md @@ -15,7 +15,7 @@ human-friendly shortcuts pointing to an event (such as `https://indico.example.c ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2.2 diff --git a/ursh/setup.cfg b/ursh/setup.cfg index 5e75892..e490674 100644 --- a/ursh/setup.cfg +++ b/ursh/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/vc_dummy/README.md b/vc_dummy/README.md index f5c655b..f824ab9 100644 --- a/vc_dummy/README.md +++ b/vc_dummy/README.md @@ -11,7 +11,7 @@ plugins via the `indico-plugins` meta package. ### 3.3 -- Support Python 3.12 +- Support (and require) Python 3.12 ### 3.2 diff --git a/vc_dummy/setup.cfg b/vc_dummy/setup.cfg index 3b0b41c..c24eac9 100644 --- a/vc_dummy/setup.cfg +++ b/vc_dummy/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0 diff --git a/vc_zoom/README.md b/vc_zoom/README.md index 4148674..3f3cb70 100644 --- a/vc_zoom/README.md +++ b/vc_zoom/README.md @@ -14,7 +14,7 @@ ### 3.3 - Adapt to Indico 3.3 changes -- Support Python 3.12 +- Support (and require) Python 3.12 - Drop support for discontinued JWT authentication ### 3.2.5 diff --git a/vc_zoom/setup.cfg b/vc_zoom/setup.cfg index 7841ac5..12e1aa3 100644 --- a/vc_zoom/setup.cfg +++ b/vc_zoom/setup.cfg @@ -12,16 +12,13 @@ classifiers = Environment :: Plugins Environment :: Web Environment License :: OSI Approved :: MIT License - 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.13 +python_requires = >=3.12.2, <3.13 install_requires = indico>=3.3.dev0