Skip to content

Commit

Permalink
add support for python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tuncK committed Oct 6, 2023
1 parent bdcd16e commit d582d8b
Show file tree
Hide file tree
Showing 34 changed files with 438 additions and 402 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/first_startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.11']
python-version: ['3.7', '3.12']
defaults:
run:
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.11']
python-version: ['3.7', '3.12']
env:
LINT_PATH: 'lib/galaxy/dependencies/pinned-lint-requirements.txt'
TYPE_PATH: 'lib/galaxy/dependencies/pinned-typecheck-requirements.txt'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reports_startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.11']
python-version: ['3.7', '3.12']
defaults:
run:
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_galaxy_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.11']
python-version: ['3.7', '3.12']
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.11']
python-version: ['3.7', '3.12']
steps:
- uses: actions/checkout@v3
with:
Expand Down
324 changes: 165 additions & 159 deletions lib/galaxy/dependencies/dev-requirements.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/galaxy/dependencies/pinned-lint-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ importlib-metadata==4.2.0
mccabe==0.7.0
pycodestyle==2.9.1
pyflakes==2.5.0
ruff==0.0.291
ruff==0.0.292
typing_extensions==4.7.1
zipp==3.15.0
411 changes: 208 additions & 203 deletions lib/galaxy/dependencies/pinned-requirements.txt

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions lib/galaxy/dependencies/pinned-typecheck-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
cffi==1.15.1 ; python_version >= "3.7" and python_version < "3.12"
cryptography==41.0.4 ; python_version >= "3.7" and python_version < "3.12"
mypy-extensions==1.0.0 ; python_version >= "3.7" and python_version < "3.12"
mypy==1.4.1 ; python_version >= "3.7" and python_version < "3.12"
pycparser==2.21 ; python_version >= "3.7" and python_version < "3.12"
pydantic==1.10.13 ; python_version >= "3.7" and python_version < "3.12"
cffi==1.15.1 ; python_version >= "3.7" and python_version < "3.13"
cryptography==41.0.4 ; python_version >= "3.7" and python_version < "3.13"
mypy-extensions==1.0.0 ; python_version >= "3.7" and python_version < "3.13"
mypy==1.4.1 ; python_version >= "3.7" and python_version < "3.13"
pycparser==2.21 ; python_version >= "3.7" and python_version < "3.13"
pydantic==1.10.13 ; python_version >= "3.7" and python_version < "3.13"
tomli==2.0.1 ; python_version >= "3.7" and python_version < "3.11"
typed-ast==1.5.5 ; python_version >= "3.7" and python_version < "3.8"
types-bleach==6.0.0.4 ; python_version >= "3.7" and python_version < "3.12"
types-boto==2.49.18.9 ; python_version >= "3.7" and python_version < "3.12"
types-contextvars==2.4.7.3 ; python_version >= "3.7" and python_version < "3.12"
types-dataclasses==0.6.6 ; python_version >= "3.7" and python_version < "3.12"
types-docutils==0.20.0.3 ; python_version >= "3.7" and python_version < "3.12"
types-markdown==3.4.2.10 ; python_version >= "3.7" and python_version < "3.12"
types-paramiko==3.3.0.0 ; python_version >= "3.7" and python_version < "3.12"
types-pkg-resources==0.1.3 ; python_version >= "3.7" and python_version < "3.12"
types-python-dateutil==2.8.19.14 ; python_version >= "3.7" and python_version < "3.12"
types-pyyaml==6.0.12.12 ; python_version >= "3.7" and python_version < "3.12"
types-requests==2.31.0.6 ; python_version >= "3.7" and python_version < "3.12"
types-six==1.16.21.9 ; python_version >= "3.7" and python_version < "3.12"
types-urllib3==1.26.25.14 ; python_version >= "3.7" and python_version < "3.12"
typing-extensions==4.7.1 ; python_version >= "3.7" and python_version < "3.12"
types-bleach==6.0.0.5 ; python_version >= "3.7" and python_version < "3.13"
types-boto==2.49.18.9 ; python_version >= "3.7" and python_version < "3.13"
types-contextvars==2.4.7.3 ; python_version >= "3.7" and python_version < "3.13"
types-dataclasses==0.6.6 ; python_version >= "3.7" and python_version < "3.13"
types-docutils==0.20.0.3 ; python_version >= "3.7" and python_version < "3.13"
types-markdown==3.4.2.10 ; python_version >= "3.7" and python_version < "3.13"
types-paramiko==3.3.0.0 ; python_version >= "3.7" and python_version < "3.13"
types-pkg-resources==0.1.3 ; python_version >= "3.7" and python_version < "3.13"
types-python-dateutil==2.8.19.14 ; python_version >= "3.7" and python_version < "3.13"
types-pyyaml==6.0.12.12 ; python_version >= "3.7" and python_version < "3.13"
types-requests==2.31.0.6 ; python_version >= "3.7" and python_version < "3.13"
types-six==1.16.21.9 ; python_version >= "3.7" and python_version < "3.13"
types-urllib3==1.26.25.14 ; python_version >= "3.7" and python_version < "3.13"
typing-extensions==4.7.1 ; python_version >= "3.7" and python_version < "3.13"
4 changes: 2 additions & 2 deletions lib/galaxy/dependencies/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

set -e

SUPPORTED_PYTHON_VERSIONS="3.7 3.8 3.9 3.10 3.11"
NOT_SUPPORTED_NEXT_PYTHON_VERSION="3.12"
SUPPORTED_PYTHON_VERSIONS="3.7 3.8 3.9 3.10 3.11 3.12"
NOT_SUPPORTED_NEXT_PYTHON_VERSION="3.13"

this_directory="$(cd "$(dirname "$0")" > /dev/null && pwd)"

Expand Down
1 change: 1 addition & 0 deletions packages/app/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
3 changes: 2 additions & 1 deletion packages/auth/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand All @@ -39,4 +40,4 @@ python_requires = >=3.7

[options.packages.find]
exclude =
tests*
tests*
3 changes: 2 additions & 1 deletion packages/config/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down Expand Up @@ -46,4 +47,4 @@ console_scripts =

[options.packages.find]
exclude =
tests*
tests*
1 change: 1 addition & 0 deletions packages/data/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
1 change: 1 addition & 0 deletions packages/files/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
3 changes: 2 additions & 1 deletion packages/job_execution/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down Expand Up @@ -49,4 +50,4 @@ console_scripts =

[options.packages.find]
exclude =
tests*
tests*
3 changes: 2 additions & 1 deletion packages/job_metrics/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand All @@ -38,4 +39,4 @@ python_requires = >=3.7

[options.packages.find]
exclude =
tests*
tests*
1 change: 1 addition & 0 deletions packages/meta/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering :: Bio-Informatics
Topic :: Software Development
Topic :: Software Development :: Code Generators
Expand Down
3 changes: 2 additions & 1 deletion packages/navigation/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand All @@ -39,4 +40,4 @@ python_requires = >=3.7

[options.packages.find]
exclude =
tests*
tests*
3 changes: 2 additions & 1 deletion packages/objectstore/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand All @@ -40,4 +41,4 @@ python_requires = >=3.7

[options.packages.find]
exclude =
tests*
tests*
2 changes: 2 additions & 0 deletions packages/schema/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
3 changes: 2 additions & 1 deletion packages/selenium/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down Expand Up @@ -47,4 +48,4 @@ console_scripts =

[options.packages.find]
exclude =
tests*
tests*
3 changes: 2 additions & 1 deletion packages/test_api/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down Expand Up @@ -46,4 +47,4 @@ driver =

[options.packages.find]
exclude =
tests*
tests*
3 changes: 2 additions & 1 deletion packages/test_base/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down Expand Up @@ -45,4 +46,4 @@ python_requires = >=3.7

[options.packages.find]
exclude =
tests*
tests*
3 changes: 2 additions & 1 deletion packages/test_driver/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down Expand Up @@ -47,4 +48,4 @@ python_requires = >=3.7

[options.packages.find]
exclude =
tests*
tests*
1 change: 1 addition & 0 deletions packages/test_selenium/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
2 changes: 2 additions & 0 deletions packages/tool_shed/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
1 change: 1 addition & 0 deletions packages/tool_util/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
1 change: 1 addition & 0 deletions packages/tours/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
1 change: 1 addition & 0 deletions packages/util/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
1 change: 1 addition & 0 deletions packages/web_apps/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
1 change: 1 addition & 0 deletions packages/web_framework/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand Down
3 changes: 2 additions & 1 deletion packages/web_stack/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Testing
Expand All @@ -39,4 +40,4 @@ python_requires = >=3.7

[options.packages.find]
exclude =
tests*
tests*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pykwalify = "*"
pylibmagic = "*"
pyparsing = "<3.1" # Needed by matplotlib on Python >=3.8 https://github.com/matplotlib/matplotlib/issues/26152
pysam = ">=0.21" # for Python 3.11 support on macOS
python = ">=3.7,<3.12" # Keep maximum version strict to appease numpy and scipy
python = ">=3.7,<3.13" # Keep maximum version strict to appease numpy and scipy
python-dateutil = "*"
python-magic = "*"
python-multipart = "*" # required to support form parsing in FastAPI/Starlette
Expand Down

0 comments on commit d582d8b

Please sign in to comment.