File tree Expand file tree Collapse file tree 8 files changed +30
-25
lines changed Expand file tree Collapse file tree 8 files changed +30
-25
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
3
3
jobs :
4
- osx-python3.9 :
4
+ osx-python3.12 :
5
5
macos :
6
- xcode : 12.5.1
6
+ xcode : 15.4.0
7
+ resource_class : macos.m1.medium.gen1
7
8
environment :
8
9
PYTHON : python3
9
10
steps :
17
18
command : venv/bin/python ./bin/run_tests.py
18
19
no_output_timeout : 30m
19
20
20
- linux-python3.9 :
21
+ linux-python3.12 :
21
22
docker :
22
- - image : circleci /python:3.9
23
+ - image : cimg /python:3.12
23
24
environment :
24
25
PYTHON : python3
25
26
# Temporarily restrict the tests that are run on CircleCI to prevent
@@ -61,6 +62,6 @@ workflows:
61
62
version : 2
62
63
all-tests :
63
64
jobs :
64
- - osx-python3.9
65
- - linux-python3.9
65
+ - osx-python3.12
66
+ - linux-python3.12
66
67
- linux-aarch64
Original file line number Diff line number Diff line change 2
2
set -o errexit
3
3
set -o xtrace
4
4
5
+ if [ " $( uname -s) " == " Darwin" ]; then
6
+ sudo softwareupdate --install-rosetta --agree-to-license
7
+ fi
8
+
5
9
$PYTHON --version
6
- $PYTHON -m pip --version
7
- $PYTHON -m virtualenv --version
8
- $PYTHON -m virtualenv --no-setuptools --no-wheel -p " $PYTHON " venv
10
+ $PYTHON -m venv venv
9
11
venv/bin/python -m pip install -U pip
10
12
venv/bin/python -m pip install -e " .[dev]"
11
13
venv/bin/python -m pip freeze
Original file line number Diff line number Diff line change 1
1
linux :
2
- image : python:3.8
2
+ image : python:3.12
3
3
services :
4
4
- name : docker:dind
5
5
entrypoint : ["env", "-u", "DOCKER_HOST"]
@@ -23,9 +23,9 @@ windows:
23
23
variables :
24
24
PYTEST_ADDOPTS : -k "unit_test or test_0_basic" --suppress-no-test-exit-code
25
25
before_script :
26
- - choco install python -y --version 3.8.6
26
+ - choco install python -y --version 3.12.4
27
27
script :
28
28
- py -m pip install -e ".[dev]" pytest-custom-exit-code
29
29
- py bin\run_tests.py
30
30
tags :
31
- - windows
31
+ - saas- windows-medium-amd64
Original file line number Diff line number Diff line change 1
1
This is a summary of the host Python versions and platforms covered by the different CI platforms:
2
2
3
- | | 3.8 | 3.9 | 3.10 | 3.12 |
4
- | ---------| --------------------------------------------------------| -----------------------| ----------- | ----------------|
5
- | Linux | AppVeyor¹ / Azure Pipelines / GitLab¹ / GitHub Actions | CircleCI¹ / Travis CI | Cirrus CI | GitHub Actions |
6
- | macOS | AppVeyor¹ / Azure Pipelines | CircleCI¹ / Travis CI | Cirrus CI | GitHub Actions |
7
- | Windows | AppVeyor¹ / Azure Pipelines / GitLab¹ | Travis CI | Cirrus CI | GitHub Actions |
3
+ | | 3.8 | 3.9 | 3.10 | 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 | CircleCI¹ / GitHub Actions |
7
+ | Windows | AppVeyor¹ / Azure Pipelines | Travis CI | Cirrus CI | GitHub Actions / GitLab¹ |
8
8
9
9
> ¹ Runs a reduced set of tests to reduce CI load
10
10
Original file line number Diff line number Diff line change 17
17
python ./bin/run_tests.py
18
18
19
19
- job : macos_38
20
- pool : {vmImage: 'macOS-11 '}
20
+ pool : {vmImage: 'macOS-12 '}
21
21
steps :
22
22
- task : UsePythonVersion@0
23
23
inputs :
Original file line number Diff line number Diff line change 14
14
inputs : {pathtoPublish: 'wheelhouse'}
15
15
16
16
- job : macos
17
- pool : {vmImage: 'macOS-11 '}
17
+ pool : {vmImage: 'macOS-12 '}
18
18
steps :
19
19
- task : UsePythonVersion@0
20
20
- bash : |
Original file line number Diff line number Diff line change 4
4
linux-wheels :
5
5
working_directory : ~/linux-wheels
6
6
docker :
7
- - image : circleci /python:3.9
7
+ - image : cimg /python:3.12
8
8
steps :
9
9
- checkout
10
10
- setup_remote_docker
11
11
- run :
12
12
name : Build the Linux wheels.
13
13
command : |
14
- pip3 install --user cibuildwheel==2.19.1
14
+ python3 -m pip install --user cibuildwheel==2.19.1
15
15
cibuildwheel --output-dir wheelhouse
16
16
- store_artifacts :
17
17
path : wheelhouse/
@@ -36,12 +36,14 @@ jobs:
36
36
osx-wheels :
37
37
working_directory : ~/osx-wheels
38
38
macos :
39
- xcode : 12.5.1
39
+ xcode : 15.4.0
40
+ resource_class : macos.m1.medium.gen1
40
41
steps :
41
42
- checkout
42
43
- run :
43
44
name : Build the OS X wheels.
44
45
command : |
46
+ sudo softwareupdate --install-rosetta --agree-to-license # for python<=3.8 or x86_64/universal2 tests
45
47
pip3 install cibuildwheel==2.19.1
46
48
cibuildwheel --output-dir wheelhouse
47
49
- store_artifacts :
Original file line number Diff line number Diff line change 1
1
linux :
2
- image : python:3.8
2
+ image : python:3.12
3
3
# make a docker daemon available for cibuildwheel to use
4
4
services :
5
5
- name : docker:dind
21
21
windows :
22
22
image : mcr.microsoft.com/windows/servercore:1809
23
23
before_script :
24
- - choco install python -y --version 3.8.6
24
+ - choco install python -y --version 3.12.4
25
25
- choco install git.install -y
26
26
- py -m pip install cibuildwheel==2.19.1
27
27
script :
@@ -30,4 +30,4 @@ windows:
30
30
paths :
31
31
- wheelhouse/
32
32
tags :
33
- - windows
33
+ - saas- windows-medium-amd64
You can’t perform that action at this time.
0 commit comments