@@ -42,8 +42,9 @@ commands:
42
42
- run :
43
43
name : Upgrade pyenv
44
44
command : |
45
- rm -rf /opt/circleci/.pyenv
46
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
45
+ sudo rm -rf /opt/circleci/.pyenv
46
+ sudo bash -c 'curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | PYENV_ROOT=/opt/circleci/.pyenv bash'
47
+ sudo chmod -R 777 /opt/circleci/.pyenv/
47
48
pyenv install --list list
48
49
- run :
49
50
name : Use pyenv to install python
66
67
py38 :
67
68
working_directory : ~/project
68
69
machine :
69
- image : ubuntu-2004:202111-02
70
+ image : ubuntu-2004:current
70
71
steps :
71
72
- checkout
72
73
- upgradepython :
92
93
py39 :
93
94
working_directory : ~/project
94
95
machine :
95
- image : ubuntu-2004:202111-02
96
+ image : ubuntu-2004:current
96
97
steps :
97
98
- checkout
98
99
- upgradepython :
@@ -118,7 +119,7 @@ jobs:
118
119
py310 :
119
120
working_directory : ~/project
120
121
machine :
121
- image : ubuntu-2004:202111-02
122
+ image : ubuntu-2004:current
122
123
steps :
123
124
- checkout
124
125
- upgradepython :
@@ -144,7 +145,7 @@ jobs:
144
145
py311 :
145
146
working_directory : ~/project
146
147
machine :
147
- image : ubuntu-2004:202111-02
148
+ image : ubuntu-2004:current
148
149
steps :
149
150
- checkout
150
151
- upgradepython :
@@ -170,7 +171,7 @@ jobs:
170
171
py312 :
171
172
working_directory : ~/project
172
173
machine :
173
- image : ubuntu-2004:202111-02
174
+ image : ubuntu-2004:current
174
175
steps :
175
176
- checkout
176
177
- upgradepython :
@@ -193,6 +194,32 @@ jobs:
193
194
paths :
194
195
- ./.tox/externaldata
195
196
- coverage
197
+ py313 :
198
+ working_directory : ~/project
199
+ machine :
200
+ image : ubuntu-2004:current
201
+ steps :
202
+ - checkout
203
+ - upgradepython :
204
+ version : " 3.13"
205
+ - run :
206
+ name : Use pyenv to set python version
207
+ command : |
208
+ pyenv versions
209
+ pyenv global 3.13
210
+ - docker-compose
211
+ - restore_cache :
212
+ name : Restore external data cache
213
+ keys :
214
+ - tox-externaldata-{{ checksum "tests/datastore.py" }}
215
+ - tox :
216
+ env : py313
217
+ - save_cache :
218
+ name : Save external data cache
219
+ key : tox-externaldata-{{ checksum "tests/datastore.py" }}
220
+ paths :
221
+ - ./.tox/externaldata
222
+ - coverage
196
223
lint_and_docs :
197
224
working_directory : ~/project
198
225
docker :
@@ -212,7 +239,7 @@ jobs:
212
239
docker :
213
240
working_directory : ~/project
214
241
machine :
215
- image : ubuntu-2004:202111-02
242
+ image : ubuntu-2004:current
216
243
steps :
217
244
- checkout
218
245
- run :
@@ -244,7 +271,7 @@ jobs:
244
271
publish_docker :
245
272
working_directory : ~/project
246
273
machine :
247
- image : ubuntu-2004:202111-02
274
+ image : ubuntu-2004:current
248
275
steps :
249
276
- checkout
250
277
- attach_workspace :
@@ -364,6 +391,13 @@ workflows:
364
391
branches :
365
392
ignore :
366
393
- gh-pages
394
+ - py313 :
395
+ filters :
396
+ tags :
397
+ only : /^v.*/
398
+ branches :
399
+ ignore :
400
+ - gh-pages
367
401
- lint_and_docs :
368
402
filters :
369
403
tags :
@@ -392,6 +426,7 @@ workflows:
392
426
- py310
393
427
- py311
394
428
- py312
429
+ - py313
395
430
- lint_and_docs
396
431
- wheels
397
432
- docker
@@ -409,6 +444,7 @@ workflows:
409
444
- py310
410
445
- py311
411
446
- py312
447
+ - py313
412
448
- lint_and_docs
413
449
- docker
414
450
- wheels
@@ -433,6 +469,7 @@ workflows:
433
469
- py310
434
470
- py311
435
471
- py312
472
+ - py313
436
473
- lint_and_docs
437
474
- docker
438
475
- wheels
@@ -443,6 +480,7 @@ workflows:
443
480
- py310
444
481
- py311
445
482
- py312
483
+ - py313
446
484
- lint_and_docs
447
485
- docker
448
486
- wheels
0 commit comments