Skip to content

Commit

Permalink
Require Python 3.12 (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster authored Mar 26, 2024
1 parent 7330442 commit 2a6b882
Show file tree
Hide file tree
Showing 37 changed files with 38 additions and 92 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

env:
PYTHON_VERSION: '3.12.0'
PYTHON_VERSION: '3.12.2'

on:
push:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:

services:
postgres:
image: postgres:11
image: postgres:13
env:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
Expand Down
2 changes: 1 addition & 1 deletion _meta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions _meta/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion citadel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
5 changes: 1 addition & 4 deletions citadel/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cloud_captchas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions cloud_captchas/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion livesync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions livesync/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion livesync_debug/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions livesync_debug/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion owncloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions owncloud/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion payment_manual/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ integration with Indico.

### 3.3

- Support Python 3.12
- Support (and require) Python 3.12

### 3.2.1

Expand Down
5 changes: 1 addition & 4 deletions payment_manual/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion payment_paypal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions payment_paypal/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion payment_sixpay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions payment_sixpay/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion piwik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions piwik/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion previewer_code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following languages are supported:

### 3.3

- Support Python 3.12
- Support (and require) Python 3.12

### 3.2.1

Expand Down
5 changes: 1 addition & 4 deletions previewer_code/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion previewer_jupyter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ material to an Indico event.

### 3.3

- Support Python 3.12
- Support (and require) Python 3.12

### 3.2.1

Expand Down
5 changes: 1 addition & 4 deletions previewer_jupyter/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions prometheus/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion storage_s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions storage_s3/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 2a6b882

Please sign in to comment.