Skip to content

Commit b67fd75

Browse files
authored
Add testing on Python 3.14. (#1199)
Drop testing on Python 3.9
1 parent e4c1cb4 commit b67fd75

File tree

4 files changed

+37
-37
lines changed

4 files changed

+37
-37
lines changed

.circleci/config.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -64,130 +64,130 @@ commands:
6464
command: for i in $(seq 1 10); do [ $i -gt 1 ] && echo "retrying $i" && sleep 5; ./codecov --disable search pycov gcov --file .tox/coverage/py_coverage.xml .tox/coverage/cobertura-coverage.xml && s=0 && break || s=$?; done; (exit $s)
6565

6666
jobs:
67-
py39:
67+
py310:
6868
working_directory: ~/project
6969
machine:
7070
image: ubuntu-2404:current
7171
steps:
7272
- checkout
7373
- upgradepython:
74-
version: "3.9"
74+
version: "3.10"
7575
- run:
7676
name: Use pyenv to set python version
7777
command: |
7878
pyenv versions
79-
pyenv global 3.9
79+
pyenv global 3.10
8080
- docker-compose
8181
- restore_cache:
8282
name: Restore external data cache
8383
keys:
8484
- tox-externaldata-{{ checksum "tests/datastore.py" }}
8585
- tox:
86-
env: py39
86+
env: py310
8787
- save_cache:
8888
name: Save external data cache
8989
key: tox-externaldata-{{ checksum "tests/datastore.py" }}
9090
paths:
9191
- ./.tox/externaldata
9292
- coverage
93-
py310:
93+
py311:
9494
working_directory: ~/project
9595
machine:
9696
image: ubuntu-2404:current
9797
steps:
9898
- checkout
9999
- upgradepython:
100-
version: "3.10"
100+
version: "3.11"
101101
- run:
102102
name: Use pyenv to set python version
103103
command: |
104104
pyenv versions
105-
pyenv global 3.10
105+
pyenv global 3.11
106106
- docker-compose
107107
- restore_cache:
108108
name: Restore external data cache
109109
keys:
110110
- tox-externaldata-{{ checksum "tests/datastore.py" }}
111111
- tox:
112-
env: py310
112+
env: py311
113113
- save_cache:
114114
name: Save external data cache
115115
key: tox-externaldata-{{ checksum "tests/datastore.py" }}
116116
paths:
117117
- ./.tox/externaldata
118118
- coverage
119-
py311:
119+
py312:
120120
working_directory: ~/project
121121
machine:
122122
image: ubuntu-2404:current
123123
steps:
124124
- checkout
125125
- upgradepython:
126-
version: "3.11"
126+
version: "3.12"
127127
- run:
128128
name: Use pyenv to set python version
129129
command: |
130130
pyenv versions
131-
pyenv global 3.11
131+
pyenv global 3.12
132132
- docker-compose
133133
- restore_cache:
134134
name: Restore external data cache
135135
keys:
136136
- tox-externaldata-{{ checksum "tests/datastore.py" }}
137137
- tox:
138-
env: py311
138+
env: py312
139139
- save_cache:
140140
name: Save external data cache
141141
key: tox-externaldata-{{ checksum "tests/datastore.py" }}
142142
paths:
143143
- ./.tox/externaldata
144144
- coverage
145-
py312:
145+
py313:
146146
working_directory: ~/project
147147
machine:
148148
image: ubuntu-2404:current
149149
steps:
150150
- checkout
151151
- upgradepython:
152-
version: "3.12"
152+
version: "3.13"
153153
- run:
154154
name: Use pyenv to set python version
155155
command: |
156156
pyenv versions
157-
pyenv global 3.12
157+
pyenv global 3.13
158158
- docker-compose
159159
- restore_cache:
160160
name: Restore external data cache
161161
keys:
162162
- tox-externaldata-{{ checksum "tests/datastore.py" }}
163163
- tox:
164-
env: py312
164+
env: py313
165165
- save_cache:
166166
name: Save external data cache
167167
key: tox-externaldata-{{ checksum "tests/datastore.py" }}
168168
paths:
169169
- ./.tox/externaldata
170170
- coverage
171-
py313:
171+
py314:
172172
working_directory: ~/project
173173
machine:
174174
image: ubuntu-2404:current
175175
steps:
176176
- checkout
177177
- upgradepython:
178-
version: "3.13"
178+
version: "3.14"
179179
- run:
180180
name: Use pyenv to set python version
181181
command: |
182182
pyenv versions
183-
pyenv global 3.13
183+
pyenv global 3.14
184184
- docker-compose
185185
- restore_cache:
186186
name: Restore external data cache
187187
keys:
188188
- tox-externaldata-{{ checksum "tests/datastore.py" }}
189189
- tox:
190-
env: py313
190+
env: py314
191191
- save_cache:
192192
name: Save external data cache
193193
key: tox-externaldata-{{ checksum "tests/datastore.py" }}
@@ -329,35 +329,35 @@ workflows:
329329
version: 2
330330
ci:
331331
jobs:
332-
- py39:
332+
- py310:
333333
filters:
334334
tags:
335335
only: /^v.*/
336336
branches:
337337
ignore:
338338
- gh-pages
339-
- py310:
339+
- py311:
340340
filters:
341341
tags:
342342
only: /^v.*/
343343
branches:
344344
ignore:
345345
- gh-pages
346-
- py311:
346+
- py312:
347347
filters:
348348
tags:
349349
only: /^v.*/
350350
branches:
351351
ignore:
352352
- gh-pages
353-
- py312:
353+
- py313:
354354
filters:
355355
tags:
356356
only: /^v.*/
357357
branches:
358358
ignore:
359359
- gh-pages
360-
- py313:
360+
- py314:
361361
filters:
362362
tags:
363363
only: /^v.*/
@@ -387,11 +387,11 @@ workflows:
387387
- gh-pages
388388
- docs-deploy:
389389
requires:
390-
- py39
391390
- py310
392391
- py311
393392
- py312
394393
- py313
394+
- py314
395395
- lint_and_docs
396396
- wheels
397397
- docker
@@ -404,11 +404,11 @@ workflows:
404404
- sphinx
405405
- publish_docker:
406406
requires:
407-
- py39
408407
- py310
409408
- py311
410409
- py312
411410
- py313
411+
- py314
412412
- lint_and_docs
413413
- docker
414414
- wheels
@@ -428,21 +428,21 @@ workflows:
428428
only:
429429
- master
430430
jobs:
431-
- py39
432431
- py310
433432
- py311
434433
- py312
435434
- py313
435+
- py314
436436
- lint_and_docs
437437
- docker
438438
- wheels
439439
- publish_docker:
440440
requires:
441-
- py39
442441
- py310
443442
- py311
444443
- py312
445444
- py313
445+
- py314
446446
- lint_and_docs
447447
- docker
448448
- wheels

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
if: github.repository == 'DigitalSlideArchive/HistomicsTK' && ( startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master' )
2323
strategy:
2424
matrix:
25-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
25+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2626
steps:
2727
- uses: actions/checkout@v6
2828
- uses: actions/setup-python@v6
@@ -68,7 +68,7 @@ jobs:
6868
- [ubuntu-latest, "x86_64 aarch64"]
6969
- [macos-latest, "x86_64 arm64"]
7070
- [windows-latest, auto64]
71-
python: ["cp39", "cp310", "cp311", "cp312", "cp313"]
71+
python: ["cp310", "cp311", "cp312", "cp313", "cp314"]
7272
fail-fast: false
7373

7474
steps:

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# See https://pre-commit.com/hooks.html for more hooks
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: check-added-large-files
1010
- id: check-ast
@@ -55,23 +55,23 @@ repos:
5555
hooks:
5656
- id: circleci-config-validate
5757
- repo: https://github.com/asottile/pyupgrade
58-
rev: v3.19.1
58+
rev: v3.21.2
5959
hooks:
6060
- id: pyupgrade
6161
args:
62-
- --py39-plus
62+
- --py310-plus
6363
- --keep-percent-format
6464
- repo: https://github.com/pre-commit/mirrors-autopep8
6565
rev: v2.0.4
6666
hooks:
6767
- id: autopep8
6868
- repo: https://github.com/PyCQA/flake8
69-
rev: 7.1.2
69+
rev: 7.3.0
7070
hooks:
7171
- id: flake8
7272
- repo: https://github.com/astral-sh/ruff-pre-commit
7373
# Ruff version.
74-
rev: v0.11.2
74+
rev: v0.15.3
7575
hooks:
7676
- id: ruff
7777
args: [--fix, --exit-non-zero-on-fix]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{39,310,311,312,313}
3+
py{310,311,312,313,314}
44
docs
55
lint
66
skip_missing_interpreters = true

0 commit comments

Comments
 (0)