Skip to content

Commit 620c897

Browse files
committed
update CI workflows
1 parent 76eb65b commit 620c897

12 files changed

+50
-51
lines changed

.cirrus.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ windows_x86_task:
4343
memory: 8G
4444

4545
install_pre_requirements_script:
46-
- choco install -y --no-progress python3 --version 3.10.6
46+
- choco install -y --no-progress python3 --version 3.12.4
4747
- refreshenv
4848
- echo PATH=%PATH% >> "%CIRRUS_ENV%"
4949
<<: *RUN_TESTS
@@ -53,20 +53,20 @@ macos_arm64_task:
5353
image: ghcr.io/cirruslabs/macos-sonoma-xcode
5454

5555
env:
56-
PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
56+
PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH
5757
install_pre_requirements_script:
58-
- brew install python@3.10
58+
- brew install python@3.12
5959
<<: *RUN_TESTS
6060

6161
macos_arm64_cp38_task:
6262
macos_instance:
6363
image: ghcr.io/cirruslabs/macos-sonoma-xcode
6464

6565
env:
66-
PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
66+
PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH
6767
PYTEST_ADDOPTS: --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
6868
install_pre_requirements_script:
69-
- brew install python@3.10
69+
- brew install python@3.12
7070
- curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
7171
- sudo installer -pkg python-3.8.10-macos11.pkg -target /
7272
- rm python-3.8.10-macos11.pkg

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
41-
python_version: ['3.12']
41+
python_version: ['3.13']
4242
include:
4343
- os: ubuntu-latest
4444
python_version: '3.11'
@@ -49,6 +49,7 @@ jobs:
4949
name: Install Python ${{ matrix.python_version }}
5050
with:
5151
python-version: ${{ matrix.python_version }}
52+
allow-prereleases: true
5253

5354
- uses: yezz123/setup-uv@v4
5455

.travis.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ branches:
88

99
jobs:
1010
include:
11-
- name: Linux | x86_64 + i686 | Python 3.9
12-
python: 3.9
11+
- name: Linux | x86_64 + i686 | Python 3.12
12+
python: 3.12
1313
services: docker
1414
env: PYTHON=python
1515

16-
- name: Linux | arm64 | Python 3.9
17-
python: 3.9
16+
- name: Linux | arm64 | Python 3.12
17+
python: 3.12
1818
services: docker
1919
arch: arm64-graviton2
2020
group: edge
2121
virt: vm
2222
env: PYTHON=python
2323

24-
- name: Linux | ppc64le | Python 3.9
25-
python: 3.9
24+
- name: Linux | ppc64le | Python 3.12
25+
python: 3.12
2626
services: docker
2727
arch: ppc64le
2828
allow_failure: True
@@ -32,16 +32,16 @@ jobs:
3232
# c.f. https://travis-ci.community/t/running-out-of-disk-space-quota-when-using-docker-on-ppc64le/11634
3333
- PYTEST_ADDOPTS='-k "not test_manylinuxXXXX_only"'
3434

35-
- name: Windows | x86_64 | Python 3.9
35+
- name: Windows | x86_64 | Python 3.12
3636
os: windows
3737
language: shell
3838
before_install:
39-
- choco upgrade python3 -y --version 3.9.13 --limit-output --params "/InstallDir:C:\\Python39"
39+
- choco upgrade python3 -y --version 3.12.4 --limit-output --params "/InstallDir:C:\\Python312"
4040
env:
41-
- PYTHON=C:\\Python39\\python
41+
- PYTHON=C:\\Python312\\python
4242

43-
- name: Linux | s390x | Python 3.9
44-
python: 3.9
43+
- name: Linux | s390x | Python 3.12
44+
python: 3.12
4545
services: docker
4646
arch: s390x
4747
env: PYTHON=python

CI.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
This is a summary of the host Python versions and platforms covered by the different CI platforms:
22

3-
| | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 |
4-
|---------|----------------------------------------------|-----------|-----------|---------|--------------------------------------|
5-
| Linux | AppVeyor¹ / Azure Pipelines / GitHub Actions | Travis CI | Cirrus CI | | CircleCI¹ / GitHub Actions / GitLab¹ |
6-
| macOS | AppVeyor¹ / Azure Pipelines | | Cirrus CI | GitLab¹ | CircleCI¹ / GitHub Actions |
7-
| Windows | AppVeyor¹ / Azure Pipelines | Travis CI | Cirrus CI | | GitHub Actions / GitLab¹ |
3+
| | 3.11 | 3.12 | 3.13 |
4+
|---------|----------------------------------|---------------------------------------------------------|----------------|
5+
| Linux | Azure Pipelines / GitHub Actions | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
6+
| macOS | Azure Pipelines / GitLab¹ | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
7+
| Windows | Azure Pipelines | AppVeyor¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
88

99
> ¹ Runs a reduced set of tests to reduce CI load
1010
11-
Non-x86 architectures are covered on Travis CI using Python 3.9.
11+
Non-x86 architectures are covered on Travis CI using Python 3.12.

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
environment:
22
matrix:
33
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
4-
APPVEYOR_JOB_NAME: "python38-x64-ubuntu"
4+
APPVEYOR_JOB_NAME: "python312-x64-ubuntu"
55
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
6-
APPVEYOR_JOB_NAME: "python38-x64-vs2015"
6+
APPVEYOR_JOB_NAME: "python312-x64-vs2015"
77
- APPVEYOR_BUILD_WORKER_IMAGE: macos
8-
APPVEYOR_JOB_NAME: "python38-x64-macos"
8+
APPVEYOR_JOB_NAME: "python312-x64-macos"
99

10-
stack: python 3.8
10+
stack: python 3.12
1111

1212
build: off
1313

1414
init:
15-
- cmd: set PATH=C:\Python38;C:\Python38\Scripts;%PATH%
15+
- cmd: set PATH=C:\Python312;C:\Python312\Scripts;%PATH%
1616
- ps: |
1717
$BRANCH = if ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) { $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH } else { $env:APPVEYOR_REPO_BRANCH }
1818
if (-not ($BRANCH -eq 'main' -or $BRANCH.ToLower().StartsWith('appveyor-'))) {

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- task: UsePythonVersion@0
1313
inputs:
14-
versionSpec: '3.8'
14+
versionSpec: '3.11'
1515
- bash: |
1616
python -m pip install -e ".[dev]"
1717
python ./bin/run_tests.py
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- task: UsePythonVersion@0
2323
inputs:
24-
versionSpec: '3.8'
24+
versionSpec: '3.11'
2525
- bash: |
2626
python -m pip install -e ".[dev]"
2727
python ./bin/run_tests.py --num-processes 2
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- task: UsePythonVersion@0
3434
inputs:
35-
versionSpec: '3.8'
35+
versionSpec: '3.11'
3636
- bash: |
3737
python -m pip install -e ".[dev]"
3838
python ./bin/run_tests.py

examples/cirrus-ci-intel-mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ macos_task:
1313
image: ghcr.io/cirruslabs/macos-sonoma-xcode
1414

1515
env:
16-
PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
16+
PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH
1717
CIBW_ARCHS_MACOS: x86_64 arm64
1818
install_pre_requirements_script:
19-
- brew install python@3.10
19+
- brew install python@3.12
2020
<<: *BUILD_AND_STORE_WHEELS

examples/cirrus-ci-minimal.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ windows_x86_task:
4242
memory: 4G
4343

4444
install_pre_requirements_script:
45-
- choco install -y --no-progress python3 --version 3.10.6
45+
- choco install -y --no-progress python3 --version 3.12.4
4646
- refreshenv
4747
- echo PATH=%PATH% >> "%CIRRUS_ENV%"
4848
<<: *BUILD_AND_STORE_WHEELS
@@ -53,7 +53,7 @@ macos_arm64_task:
5353
image: ghcr.io/cirruslabs/macos-sonoma-xcode
5454

5555
env:
56-
PATH: /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
56+
PATH: /opt/homebrew/opt/python@3.12/libexec/bin:$PATH
5757
install_pre_requirements_script:
58-
- brew install python@3.10
58+
- brew install python@3.12
5959
<<: *BUILD_AND_STORE_WHEELS

examples/gitlab-with-qemu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
linux:
2-
image: python:3.8
2+
image: python:3.12
33
# make a docker daemon available for cibuildwheel to use
44
services:
55
- name: docker:dind

examples/travis-ci-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
os: linux
55
dist: focal
66
language: python
7-
python: "3.9"
7+
python: "3.12"
88

99
jobs:
1010
include:
@@ -14,10 +14,10 @@ jobs:
1414
- os: windows
1515
language: shell
1616
before_install:
17-
- choco upgrade python -y --version 3.8.6
18-
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
17+
- choco upgrade python -y --version 3.12.4
18+
- export PATH="/c/Python312:/c/Python312/Scripts:$PATH"
1919
# make sure it's on PATH as 'python3'
20-
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
20+
- ln -s /c/Python312/python.exe /c/Python312/python3.exe
2121

2222
install:
2323
- python3 -m pip install cibuildwheel==2.19.1

examples/travis-ci-minimal.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
os: linux
22
dist: focal
33
language: python
4-
python: "3.9"
4+
python: "3.12"
55

66
jobs:
77
include:
@@ -20,10 +20,10 @@ jobs:
2020
- os: windows
2121
language: shell
2222
before_install:
23-
- choco upgrade python -y --version 3.8.6
24-
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
23+
- choco upgrade python -y --version 3.12.4
24+
- export PATH="/c/Python312:/c/Python312/Scripts:$PATH"
2525
# make sure it's on PATH as 'python3'
26-
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
26+
- ln -s /c/Python312/python.exe /c/Python312/python3.exe
2727

2828
install:
2929
- python3 -m pip install cibuildwheel==2.19.1

examples/travis-ci-test-and-deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@
88
os: linux
99
dist: focal
1010
language: python
11-
python:
12-
- 3.7
13-
- 3.8
11+
python: "3.12"
1412

1513
before_install:
1614
- |
1715
if [[ "$TRAVIS_OS_NAME" = windows ]]; then
18-
choco upgrade python -y --version 3.8.6
19-
export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
16+
choco upgrade python -y --version 3.12.4
17+
export PATH="/c/Python312:/c/Python312/Scripts:$PATH"
2018
# make sure it's on PATH as 'python3'
21-
ln -s /c/Python38/python.exe /c/Python38/python3.exe
19+
ln -s /c/Python312/python.exe /c/Python312/python3.exe
2220
fi
2321
2422
install:

0 commit comments

Comments
 (0)