Skip to content

Commit 6659bf7

Browse files
committed
Quote version numbers. Use Python 3.12 instead of 3.11 or ~3.12.0-0.
1 parent 2ffb109 commit 6659bf7

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/ci-cd.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
os:
8585
- Ubuntu
8686
python-version:
87-
- 3.11
87+
- "3.12"
8888

8989
env:
9090
TOXENV: lint
@@ -191,10 +191,10 @@ jobs:
191191
sdist-artifact-name: ${{ steps.artifact-name.outputs.sdist }}
192192
wheel-artifact-name: ${{ steps.artifact-name.outputs.wheel }}
193193
steps:
194-
- name: Switch to using Python 3.11 by default
194+
- name: Switch to using Python 3.12 by default
195195
uses: actions/setup-python@v4
196196
with:
197-
python-version: 3.11
197+
python-version: "3.12"
198198
- name: >-
199199
Mark the build as non-tagged
200200
${{ github.event.repository.default_branch }} build
@@ -396,10 +396,10 @@ jobs:
396396
TOXENV: cleanup-dists,build-dists,metadata-validation
397397

398398
steps:
399-
- name: Switch to using Python 3.11 by default
399+
- name: Switch to using Python 3.12 by default
400400
uses: actions/setup-python@v4
401401
with:
402-
python-version: 3.11
402+
python-version: "3.12"
403403
- name: >-
404404
Calculate Python interpreter version hash value
405405
for use in the cache key
@@ -506,37 +506,36 @@ jobs:
506506
- macos-latest
507507
- windows-latest
508508
python-version:
509-
- 3.11
509+
- "3.11"
510510
- pypy-3.9
511-
- 3.6
512-
- 3.8
513-
- 3.7
514-
- 3.9
515-
- >-
516-
3.10
511+
- "3.6"
512+
- "3.8"
513+
- "3.7"
514+
- "3.9"
515+
- "3.10"
517516
- pypy-3.6
518-
- ~3.12.0-0
517+
- "3.12"
519518
tested-artifact:
520519
- wheel
521520
- sdist
522521
exclude:
523522
# NOTE: GNU/Linux CPython 3.6 is not built for Ubuntu 22
524523
- os: ubuntu-22.04
525-
python-version: 3.6
524+
python-version: "3.6"
526525
- os: windows-latest
527526
python-version: pypy-3.6
528527
- os: macos-latest
529528
python-version: pypy-3.6
530529
# CPython 3.6 and 3.7 is no longer available on macos-latest
531530
- os: macos-latest
532-
python-version: 3.6
531+
python-version: "3.6"
533532
- os: macos-latest
534-
python-version: 3.7
533+
python-version: "3.7"
535534
include:
536535
# NOTE: The last GNU/Linux CPython 3.6 available is built for Ubuntu 20
537536
# https://github.com/actions/python-versions/blob/6dd0b75/versions-manifest.json#L3956-L3960
538537
- os: ubuntu-20.04
539-
python-version: 3.6
538+
python-version: "3.6"
540539
tested-artifact: wheel
541540

542541
continue-on-error: >-

0 commit comments

Comments
 (0)