Skip to content

Commit

Permalink
Quote version numbers. Use Python 3.12 instead of 3.11 or ~3.12.0-0.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Aug 5, 2024
1 parent 2ffb109 commit 6659bf7
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
os:
- Ubuntu
python-version:
- 3.11
- "3.12"

env:
TOXENV: lint
Expand Down Expand Up @@ -191,10 +191,10 @@ jobs:
sdist-artifact-name: ${{ steps.artifact-name.outputs.sdist }}
wheel-artifact-name: ${{ steps.artifact-name.outputs.wheel }}
steps:
- name: Switch to using Python 3.11 by default
- name: Switch to using Python 3.12 by default
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: "3.12"
- name: >-
Mark the build as non-tagged
${{ github.event.repository.default_branch }} build
Expand Down Expand Up @@ -396,10 +396,10 @@ jobs:
TOXENV: cleanup-dists,build-dists,metadata-validation

steps:
- name: Switch to using Python 3.11 by default
- name: Switch to using Python 3.12 by default
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: "3.12"
- name: >-
Calculate Python interpreter version hash value
for use in the cache key
Expand Down Expand Up @@ -506,37 +506,36 @@ jobs:
- macos-latest
- windows-latest
python-version:
- 3.11
- "3.11"
- pypy-3.9
- 3.6
- 3.8
- 3.7
- 3.9
- >-
3.10
- "3.6"
- "3.8"
- "3.7"
- "3.9"
- "3.10"
- pypy-3.6
- ~3.12.0-0
- "3.12"
tested-artifact:
- wheel
- sdist
exclude:
# NOTE: GNU/Linux CPython 3.6 is not built for Ubuntu 22
- os: ubuntu-22.04
python-version: 3.6
python-version: "3.6"
- os: windows-latest
python-version: pypy-3.6
- os: macos-latest
python-version: pypy-3.6
# CPython 3.6 and 3.7 is no longer available on macos-latest
- os: macos-latest
python-version: 3.6
python-version: "3.6"
- os: macos-latest
python-version: 3.7
python-version: "3.7"
include:
# NOTE: The last GNU/Linux CPython 3.6 available is built for Ubuntu 20
# https://github.com/actions/python-versions/blob/6dd0b75/versions-manifest.json#L3956-L3960
- os: ubuntu-20.04
python-version: 3.6
python-version: "3.6"
tested-artifact: wheel

continue-on-error: >-
Expand Down

0 comments on commit 6659bf7

Please sign in to comment.