Skip to content

Commit 284a145

Browse files
committed
Python 3.14: test with newer pydantic
1 parent 649d5c9 commit 284a145

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

.github/workflows/ci-tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ jobs:
9999
step: [lintreadme, shellcheck, pydocstyle]
100100

101101
env:
102-
py-semver: "3.12"
103-
TOXENV: ${{ format('py312-{0}', matrix.step) }}
102+
py-semver: "3.13"
103+
TOXENV: ${{ format('py313-{0}', matrix.step) }}
104104

105105
steps:
106106
- uses: actions/checkout@v5
@@ -129,7 +129,7 @@ jobs:
129129
name: No leftovers
130130
runs-on: ubuntu-22.04
131131
env:
132-
py-semver: "3.12"
132+
py-semver: "3.13"
133133
steps:
134134
- uses: actions/checkout@v5
135135
with:
@@ -203,7 +203,7 @@ jobs:
203203
- name: Set up Python
204204
uses: actions/setup-python@v5
205205
with:
206-
python-version: 3.12
206+
python-version: 3.13
207207
cache: pip
208208

209209
- name: "Test CWL ${{ matrix.cwl-version }} conformance"
@@ -240,7 +240,7 @@ jobs:
240240
- name: Set up Python
241241
uses: actions/setup-python@v5
242242
with:
243-
python-version: 3.12
243+
python-version: 3.13
244244
cache: pip
245245
cache-dependency-path: |
246246
requirements.txt
@@ -272,17 +272,17 @@ jobs:
272272

273273
macos:
274274
name: Test on macos-latest
275-
runs-on: macos-13 # not latest, that is now an Apple Silicon M1, for which seqtk is not yet built on bioconda
275+
runs-on: macos-latest
276276
env:
277-
TOXENV: py312-unit
277+
TOXENV: py313-unit
278278
steps:
279279
- uses: actions/checkout@v5
280280
with:
281281
fetch-depth: 0
282282
- name: Set up Python
283283
uses: actions/setup-python@v5
284284
with:
285-
python-version: 3.12
285+
python-version: 3.13
286286
cache: pip
287287
cache-dependency-path: |
288288
requirements.txt

mypy-requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ types-requests
66
types-setuptools
77
types-psutil
88
types-mock
9-
galaxy-tool-util>=22.1.2,!=23.0.1,!=23.0.2,!=23.0.3,!=23.0.4,!=23.0.5,<25.1; python_version < "3.14"
10-
galaxy-util<25.1; python_version < "3.14"
9+
galaxy-tool-util>=22.1.2,!=23.0.1,!=23.0.2,!=23.0.3,!=23.0.4,!=23.0.5,<25.1
10+
galaxy-util<25.1
11+
pydantic==2.12.0a1; python_version >= "3.14"

test-requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ pytest-mock>=1.10.0
99
pytest-cov
1010
arcp>=0.2.0
1111
-r requirements.txt
12-
galaxy-tool-util>=22.1.2,!=23.0.1,!=23.0.2,!=23.0.3,!=23.0.4,!=23.0.5,<25.1; python_version < "3.14"
13-
galaxy-util<25.1; python_version < "3.14"
12+
galaxy-tool-util>=22.1.2,!=23.0.1,!=23.0.2,!=23.0.3,!=23.0.4,!=23.0.5,<25.1
13+
galaxy-util<25.1
14+
pydantic==2.12.0a1

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ passenv =
4444
SINGULARITY_FAKEROOT
4545

4646
extras =
47-
py3{9,10,11,12,13}-unit: deps
47+
py3{9,10,11,12,13,14}-unit: deps
4848

4949
deps =
5050
py3{9,10,11,12,13,14}-{unit,lint,bandit,mypy}: -rrequirements.txt
@@ -70,8 +70,7 @@ commands =
7070
py3{9,10,11,12,13,14}-unit: make coverage-report coverage.xml PYTEST_EXTRA="{posargs}"
7171
py3{9,10,11,12,13,14}-bandit: bandit -r cwltool
7272
py3{9,10,11,12,13,14}-lint: make flake8 format-check codespell-check
73-
py3{9,10,11,12,13}-mypy: make mypy mypyc PYTEST_EXTRA="{posargs}"
74-
py314-mypy: make mypyc PYTEST_EXTRA="{posargs}"
73+
py3{9,10,11,12,13,14}-mypy: make mypy mypyc PYTEST_EXTRA="{posargs}"
7574
py312-shellcheck: make shellcheck
7675
py312-pydocstyle: make diff_pydocstyle_report
7776
py312-lintreadme: twine check {distdir}/*

0 commit comments

Comments
 (0)