Skip to content

Commit 1233084

Browse files
committed
support Python 3.14.0rc1
1 parent 01326f2 commit 1233084

File tree

3 files changed

+26
-21
lines changed

3 files changed

+26
-21
lines changed

.github/workflows/ci-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
matrix:
3434
py-ver-major: [3]
35-
py-ver-minor: [9, 10, 11, 12, 13]
35+
py-ver-minor: [9, 10, 11, 12, 13, 14]
3636
step: [lint, unit, bandit, mypy]
3737

3838
env:
@@ -64,6 +64,9 @@ jobs:
6464
requirements.txt
6565
tox.ini
6666
67+
- name: install dev libraries
68+
run: sudo apt-get install -y libxml2-dev libxslt-dev
69+
6770
- name: Upgrade setuptools and install tox
6871
run: |
6972
pip install -U pip setuptools wheel

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _find_package_data(base: str, globs: list[str], root: str = "cwltool") -> li
170170
"pillow", # workaround for https://github.com/galaxyproject/galaxy/pull/20525
171171
],
172172
},
173-
python_requires=">=3.9, <3.14",
173+
python_requires=">=3.9, <3.15",
174174
use_scm_version=True,
175175
setup_requires=PYTEST_RUNNER + ["setuptools_scm>=8.0.4,<9"],
176176
test_suite="tests",
@@ -201,6 +201,7 @@ def _find_package_data(base: str, globs: list[str], root: str = "cwltool") -> li
201201
"Programming Language :: Python :: 3.11",
202202
"Programming Language :: Python :: 3.12",
203203
"Programming Language :: Python :: 3.13",
204+
"Programming Language :: Python :: 3.14",
204205
"Topic :: Scientific/Engineering",
205206
"Topic :: Scientific/Engineering :: Bio-Informatics",
206207
"Topic :: Scientific/Engineering :: Astronomy",

tox.ini

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
py3{9,10,11,12,13}-lint
4-
py3{9,10,11,12,13}-unit
5-
py3{9,10,11,12,13}-bandit
6-
py3{9,10,11,12,13}-mypy
3+
py3{9,10,11,12,13,14}-lint
4+
py3{9,10,11,12,13,14}-unit
5+
py3{9,10,11,12,13,14}-bandit
6+
py3{9,10,11,12,13,14}-mypy
77
py312-lintreadme
88
py312-shellcheck
99
py312-pydocstyle
@@ -21,16 +21,17 @@ python =
2121
3.11: py311
2222
3.12: py312
2323
3.13: py313
24+
3.14: py314
2425

2526
[testenv]
2627
skipsdist =
27-
py3{9,10,11,12,13}-!{unit,mypy,lintreadme} = True
28+
py3{9,10,11,12,13,14}-!{unit,mypy,lintreadme} = True
2829

2930
description =
30-
py3{9,10,11,12,13}-unit: Run the unit tests
31-
py3{9,10,11,12,13}-lint: Lint the Python code
32-
py3{9,10,11,12,13}-bandit: Search for common security issues
33-
py3{9,10,11,12,13}-mypy: Check for type safety
31+
py3{9,10,11,12,13,14}-unit: Run the unit tests
32+
py3{9,10,11,12,13,14}-lint: Lint the Python code
33+
py3{9,10,11,12,13,14}-bandit: Search for common security issues
34+
py3{9,10,11,12,13,14}-mypy: Check for type safety
3435
py312-pydocstyle: docstring style checker
3536
py312-shellcheck: syntax check for shell scripts
3637
py312-lintreadme: Lint the README.rst→.md conversion
@@ -46,11 +47,11 @@ extras =
4647
py3{9,10,11,12,13}-unit: deps
4748

4849
deps =
49-
py3{9,10,11,12,13}-{unit,lint,bandit,mypy}: -rrequirements.txt
50-
py3{9,10,11,12,13}-{unit,mypy}: -rtest-requirements.txt
51-
py3{9,10,11,12,13}-lint: -rlint-requirements.txt
52-
py3{9,10,11,12,13}-bandit: bandit
53-
py3{9,10,11,12,13}-mypy: -rmypy-requirements.txt
50+
py3{9,10,11,12,13,14}-{unit,lint,bandit,mypy}: -rrequirements.txt
51+
py3{9,10,11,12,13,14}-{unit,mypy}: -rtest-requirements.txt
52+
py3{9,10,11,12,13,14}-lint: -rlint-requirements.txt
53+
py3{9,10,11,12,13,14}-bandit: bandit
54+
py3{9,10,11,12,13,14}-mypy: -rmypy-requirements.txt
5455
py312-pydocstyle: pydocstyle
5556
py312-pydocstyle: diff-cover
5657
py312-lintreadme: twine
@@ -66,15 +67,15 @@ commands_pre =
6667
py312-lintreadme: python -m build --outdir {distdir}
6768

6869
commands =
69-
py3{9,10,11,12,13}-unit: make coverage-report coverage.xml PYTEST_EXTRA="{posargs}"
70-
py3{9,10,11,12,13}-bandit: bandit -r cwltool
71-
py3{9,10,11,12,13}-lint: make flake8 format-check codespell-check
72-
py3{9,10,11,12,13}-mypy: make mypy mypyc PYTEST_EXTRA="{posargs}"
70+
py3{9,10,11,12,13,14}-unit: make coverage-report coverage.xml PYTEST_EXTRA="{posargs}"
71+
py3{9,10,11,12,13,14}-bandit: bandit -r cwltool
72+
py3{9,10,11,12,13,14}-lint: make flake8 format-check codespell-check
73+
py3{9,10,11,12,13,14}-mypy: make mypy mypyc PYTEST_EXTRA="{posargs}"
7374
py312-shellcheck: make shellcheck
7475
py312-pydocstyle: make diff_pydocstyle_report
7576
py312-lintreadme: twine check {distdir}/*
7677

7778
skip_install =
78-
py3{9,10,11,12,13}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
79+
py3{9,10,11,12,13,14}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
7980

8081
allowlist_externals = make

0 commit comments

Comments
 (0)