1
1
version : 2.1
2
2
3
3
jobs :
4
- test-arm :
4
+ test-linux- arm :
5
5
machine :
6
6
image : default
7
7
resource_class : arm.large
8
8
environment :
9
- ENV_FILE : ci/deps/circle-310 -arm64.yaml
9
+ ENV_FILE : ci/deps/circle-311 -arm64.yaml
10
10
PYTEST_WORKERS : auto
11
11
PATTERN : " not single_cpu and not slow and not network and not clipboard and not arm_slow and not db"
12
12
PYTEST_TARGET : " pandas"
13
13
PANDAS_CI : " 1"
14
14
steps :
15
15
- checkout
16
- - run : .circleci/setup_env.sh
17
- - run : >
18
- PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3/condabin:$PATH
19
- LD_PRELOAD=$HOME/miniconda3/envs/pandas-dev/lib/libgomp.so.1:$LD_PRELOAD
20
- ci/run_tests.sh
21
- linux-musl :
16
+ - run :
17
+ name : Install Environment and Run Tests
18
+ shell : /bin/bash -exuo pipefail
19
+ command : |
20
+ MAMBA_URL="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Mambaforge-24.3.0-0-Linux-aarch64.sh"
21
+ wget -q $MAMBA_URL -O minimamba.sh
22
+ chmod +x minimamba.sh
23
+ MAMBA_DIR="$HOME/miniconda3"
24
+ rm -rf $MAMBA_DIR
25
+ ./minimamba.sh -b -p $MAMBA_DIR
26
+ export PATH=$MAMBA_DIR/bin:$PATH
27
+ conda info -a
28
+ conda env create -q -n pandas-dev -f $ENV_FILE
29
+ conda list -n pandas-dev
30
+ source activate pandas-dev
31
+ if pip show pandas 1>/dev/null; then
32
+ pip uninstall -y pandas
33
+ fi
34
+ python -m pip install --no-build-isolation -ve . --config-settings=setup-args="--werror"
35
+ PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3/condabin:$PATH
36
+ ci/run_tests.sh
37
+ test-linux-musl :
22
38
docker :
23
39
- image : quay.io/pypa/musllinux_1_1_aarch64
24
40
resource_class : arm.large
25
41
steps :
26
42
# Install pkgs first to have git in the image
27
43
# (needed for checkout)
28
- - run : |
29
- apk update
30
- apk add git
31
- apk add musl-locales
44
+ - run :
45
+ name : Install System Packages
46
+ command : |
47
+ apk update
48
+ apk add git
49
+ apk add musl-locales
32
50
- checkout
33
- - run : |
34
- /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
35
- . ~/virtualenvs/pandas-dev/bin/activate
36
- python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
37
- python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
38
- python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
39
- python -m pip list --no-cache-dir
40
- - run : |
41
- . ~/virtualenvs/pandas-dev/bin/activate
42
- export PANDAS_CI=1
43
- python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml
51
+ - run :
52
+ name : Install Environment and Run Tests
53
+ command : |
54
+ /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
55
+ . ~/virtualenvs/pandas-dev/bin/activate
56
+ python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
57
+ python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
58
+ python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
59
+ python -m pip list --no-cache-dir
60
+ export PANDAS_CI=1
61
+ python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml
44
62
build-aarch64 :
45
63
parameters :
46
64
cibw-build :
71
89
name : Build aarch64 wheels
72
90
no_output_timeout : 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that
73
91
command : |
74
- pip3 install cibuildwheel==2.15.0
92
+ pip3 install cibuildwheel==2.18.1
75
93
cibuildwheel --prerelease-pythons --output-dir wheelhouse
76
94
77
95
environment :
81
99
name : Install Anaconda Client & Upload Wheels
82
100
command : |
83
101
echo "Install Mambaforge"
84
- MAMBA_URL="https://github.com/conda-forge/miniforge/releases/download/23.1 .0-0/Mambaforge-23.1 .0-0-Linux-aarch64.sh"
102
+ MAMBA_URL="https://github.com/conda-forge/miniforge/releases/download/24.3 .0-0/Mambaforge-24.3 .0-0-Linux-aarch64.sh"
85
103
echo "Downloading $MAMBA_URL"
86
104
wget -q $MAMBA_URL -O minimamba.sh
87
105
chmod +x minimamba.sh
@@ -107,14 +125,14 @@ workflows:
107
125
not :
108
126
equal : [ scheduled_pipeline, << pipeline.trigger_source >> ]
109
127
jobs :
110
- - test-arm
128
+ - test-linux- arm
111
129
test-musl :
112
130
# Don't run trigger this one when scheduled pipeline runs
113
131
when :
114
132
not :
115
133
equal : [ scheduled_pipeline, << pipeline.trigger_source >> ]
116
134
jobs :
117
- - linux-musl
135
+ - test- linux-musl
118
136
build-wheels :
119
137
jobs :
120
138
- build-aarch64 :
@@ -123,11 +141,9 @@ workflows:
123
141
only : /^v.*/
124
142
matrix :
125
143
parameters :
126
- cibw-build : ["cp39-manylinux_aarch64",
127
- " cp310-manylinux_aarch64" ,
144
+ cibw-build : ["cp310-manylinux_aarch64",
128
145
" cp311-manylinux_aarch64" ,
129
146
" cp312-manylinux_aarch64" ,
130
- " cp39-musllinux_aarch64" ,
131
147
" cp310-musllinux_aarch64" ,
132
148
" cp311-musllinux_aarch64" ,
133
149
" cp312-musllinux_aarch64" ,]
0 commit comments