@@ -15,24 +15,26 @@ jobs:
1515 - checkout
1616 - run :
1717 name : Install Environment and Run Tests
18- shell : /bin/bash -exuo pipefail
18+ shell : /bin/bash -exo pipefail
19+ # https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions-azure-pipelines-travis-ci-and-gitlab-ci-cd
1920 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
21+ MINI_URL ="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3 -24.3.0-0-Linux-aarch64.sh"
22+ wget -q $MINI_URL -O Miniforge3 .sh
23+ chmod +x Miniforge3 .sh
24+ MINI_DIR ="$HOME/miniconda3"
25+ rm -rf $MINI_DIR
26+ ./Miniforge3 .sh -b -p $MINI_DIR
27+ export PATH=$MINI_DIR /bin:$PATH
2728 conda info -a
2829 conda env create -q -n pandas-dev -f $ENV_FILE
2930 conda list -n pandas-dev
3031 source activate pandas-dev
3132 if pip show pandas 1>/dev/null; then
3233 pip uninstall -y pandas
3334 fi
34- python -m pip install --no-build-isolation -ve . --config-settings=setup -args="--werror"
35+ python -m pip install --no-build-isolation -ve . -Csetup -args="--werror"
3536 PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3/condabin:$PATH
37+ sudo apt-get update && sudo apt-get install -y libegl1 libopengl0
3638 ci/run_tests.sh
3739 test-linux-musl :
3840 docker :
5456 /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
5557 . ~/virtualenvs/pandas-dev/bin/activate
5658 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 install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytest>=7.3.2 pytest-xdist>=3.4 .0 hypothesis>=6.84.0
60+ python -m pip install --no-cache-dir --no-build-isolation -e . -Csetup -args="--werror"
5961 python -m pip list --no-cache-dir
6062 export PANDAS_CI=1
6163 python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml
@@ -89,29 +91,30 @@ jobs:
8991 name : Build aarch64 wheels
9092 no_output_timeout : 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that
9193 command : |
92- pip3 install cibuildwheel==2.18.1
93- cibuildwheel --prerelease-pythons --output-dir wheelhouse
94+ pip3 install cibuildwheel==2.20.0
95+ if [[ $CIBW_BUILD == cp313t* ]]; then
96+ # TODO: temporarily run 3.13 free threaded builds without build isolation
97+ # since we need pre-release cython
98+ CIBW_BUILD_FRONTEND="pip; args: --no-build-isolation" cibuildwheel --output-dir wheelhouse
99+ else
100+ cibuildwheel --output-dir wheelhouse
101+ fi
94102
95103 environment :
96104 CIBW_BUILD : << parameters.cibw-build >>
97105
98106 - run :
99107 name : Install Anaconda Client & Upload Wheels
108+ shell : /bin/bash -exo pipefail
100109 command : |
101- echo "Install Mambaforge"
102- MAMBA_URL="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Mambaforge-24.3.0-0-Linux-aarch64.sh"
103- echo "Downloading $MAMBA_URL"
104- wget -q $MAMBA_URL -O minimamba.sh
105- chmod +x minimamba.sh
106-
107- MAMBA_DIR="$HOME/miniconda3"
108- rm -rf $MAMBA_DIR
109- ./minimamba.sh -b -p $MAMBA_DIR
110-
111- export PATH=$MAMBA_DIR/bin:$PATH
112-
113- mamba install -y -c conda-forge anaconda-client
114-
110+ MINI_URL="https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-24.3.0-0-Linux-aarch64.sh"
111+ wget -q $MINI_URL -O Miniforge3.sh
112+ chmod +x Miniforge3.sh
113+ MINI_DIR="$HOME/miniconda3"
114+ rm -rf $MINI_DIR
115+ ./Miniforge3.sh -b -p $MINI_DIR
116+ export PATH=$MINI_DIR/bin:$PATH
117+ conda install -y -c conda-forge anaconda-client
115118 source ci/upload_wheels.sh
116119 set_upload_vars
117120 upload_wheels
@@ -141,11 +144,13 @@ workflows:
141144 only : /^v.*/
142145 matrix :
143146 parameters :
144- cibw-build : ["cp39-manylinux_aarch64",
145- " cp310-manylinux_aarch64" ,
147+ cibw-build : ["cp310-manylinux_aarch64",
146148 " cp311-manylinux_aarch64" ,
147149 " cp312-manylinux_aarch64" ,
148- " cp39-musllinux_aarch64" ,
150+ " cp313-manylinux_aarch64" ,
151+ " cp313t-manylinux_aarch64" ,
149152 " cp310-musllinux_aarch64" ,
150153 " cp311-musllinux_aarch64" ,
151- " cp312-musllinux_aarch64" ,]
154+ " cp312-musllinux_aarch64" ,
155+ " cp313-musllinux_aarch64" ,
156+ " cp313t-musllinux_aarch64" ]
0 commit comments