|
56 | 56 | PRE_COMMIT_COLOR: always
|
57 | 57 | PY_COLORS: 1 # Recognized by the `py` package, dependency of `pytest`
|
58 | 58 | PYTHONIOENCODING: utf-8
|
59 |
| - PYTHONLEGACYWINDOWSSTDIO: 1 # Python 3.6 hack |
60 | 59 | PYTHONUTF8: 1
|
61 | 60 | TOX_PARALLEL_NO_SPINNER: 1
|
62 | 61 | TOX_TESTENV_PASSENV: >- # Make tox-wrapped tools see color requests
|
|
84 | 83 | os:
|
85 | 84 | - Ubuntu
|
86 | 85 | python-version:
|
87 |
| - - 3.11 |
| 86 | + - 3.13 |
88 | 87 |
|
89 | 88 | env:
|
90 | 89 | TOXENV: lint
|
@@ -191,10 +190,10 @@ jobs:
|
191 | 190 | sdist-artifact-name: ${{ steps.artifact-name.outputs.sdist }}
|
192 | 191 | wheel-artifact-name: ${{ steps.artifact-name.outputs.wheel }}
|
193 | 192 | steps:
|
194 |
| - - name: Switch to using Python 3.11 by default |
| 193 | + - name: Switch to using Python 3.13 by default |
195 | 194 | uses: actions/setup-python@v4
|
196 | 195 | with:
|
197 |
| - python-version: 3.11 |
| 196 | + python-version: 3.13 |
198 | 197 | - name: >-
|
199 | 198 | Mark the build as non-tagged
|
200 | 199 | ${{ github.event.repository.default_branch }} build
|
@@ -396,10 +395,10 @@ jobs:
|
396 | 395 | TOXENV: cleanup-dists,build-dists,metadata-validation
|
397 | 396 |
|
398 | 397 | steps:
|
399 |
| - - name: Switch to using Python 3.11 by default |
| 398 | + - name: Switch to using Python 3.13 by default |
400 | 399 | uses: actions/setup-python@v4
|
401 | 400 | with:
|
402 |
| - python-version: 3.11 |
| 401 | + python-version: 3.13 |
403 | 402 | - name: >-
|
404 | 403 | Calculate Python interpreter version hash value
|
405 | 404 | for use in the cache key
|
@@ -506,33 +505,18 @@ jobs:
|
506 | 505 | - macos-latest
|
507 | 506 | - windows-latest
|
508 | 507 | python-version:
|
509 |
| - - 3.11 |
510 |
| - - pypy-3.9 |
511 |
| - - 3.8 |
512 |
| - - 3.7 |
| 508 | + # Highest, lowest, and pypy should come first: |
| 509 | + - 3.13 |
513 | 510 | - 3.9
|
| 511 | + - pypy-3.9 |
| 512 | + # Then all other versions: |
| 513 | + - 3.12 |
| 514 | + - 3.11 |
514 | 515 | - >-
|
515 | 516 | 3.10
|
516 |
| - - pypy-3.6 |
517 |
| - - ~3.12.0-0 |
518 | 517 | tested-artifact:
|
519 | 518 | - wheel
|
520 | 519 | - sdist
|
521 |
| - exclude: |
522 |
| - # NOTE: PyPy 3.6 is not built for Ubuntu 22 |
523 |
| - - os: windows-latest |
524 |
| - python-version: pypy-3.6 |
525 |
| - - os: macos-latest |
526 |
| - python-version: pypy-3.6 |
527 |
| - # CPython 3.7 is no longer available on macos-latest |
528 |
| - - os: macos-latest |
529 |
| - python-version: 3.7 |
530 |
| - include: |
531 |
| - # NOTE: The last GNU/Linux CPython 3.6 available is built for Ubuntu 20 |
532 |
| - # https://github.com/actions/python-versions/blob/6dd0b75/versions-manifest.json#L3956-L3960 |
533 |
| - - os: ubuntu-20.04 |
534 |
| - python-version: 3.6 |
535 |
| - tested-artifact: wheel |
536 | 520 |
|
537 | 521 | continue-on-error: >-
|
538 | 522 | ${{
|
|
0 commit comments