Skip to content

Commit 5e85db5

Browse files
mroeschkemeeseeksmachine
authored andcommitted
Backport PR pandas-dev#46118: CI: Align MacOS dependencies with other builds
1 parent 4020088 commit 5e85db5

File tree

6 files changed

+11
-112
lines changed

6 files changed

+11
-112
lines changed

azure-pipelines.yml

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ variables:
2222
PANDAS_CI: 1
2323

2424
jobs:
25-
# Mac and Linux use the same template
2625
- template: ci/azure/posix.yml
2726
parameters:
2827
name: macOS

ci/azure/posix.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
strategy:
1111
matrix:
1212
py38:
13-
ENV_FILE: ci/deps/azure-macos-38.yaml
13+
ENV_FILE: ci/deps/actions-38.yaml
1414
CONDA_PY: "38"
1515

1616
py39:
17-
ENV_FILE: ci/deps/azure-macos-39.yaml
17+
ENV_FILE: ci/deps/actions-39.yaml
1818
CONDA_PY: "39"
1919

2020
py310:
21-
ENV_FILE: ci/deps/azure-macos-310.yaml
21+
ENV_FILE: ci/deps/actions-310.yaml
2222
CONDA_PY: "310"
2323

2424
steps:

ci/deps/azure-macos-310.yaml

-36
This file was deleted.

ci/deps/azure-macos-38.yaml

-36
This file was deleted.

ci/deps/azure-macos-39.yaml

-36
This file was deleted.

ci/setup_env.sh

+8
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ echo
6666
echo "mamba env create -q --file=${ENV_FILE}"
6767
time mamba env create -q --file="${ENV_FILE}"
6868

69+
# From pyarrow on MacOS
70+
# ImportError: 2): Library not loaded: @rpath/libssl.1.1.dylib
71+
# Referenced from: /Users/runner/miniconda3/envs/pandas-dev/lib/libthrift.0.13.0.dylib
72+
# Reason: image not found
73+
if [[ "$(uname)" == 'Darwin' ]]; then
74+
echo "Update pyarrow for pyarrow on MacOS"
75+
conda install -n pandas-dev -c conda-forge --no-update-deps pyarrow=6
76+
fi
6977

7078
if [[ "$BITS32" == "yes" ]]; then
7179
# activate 32-bit compiler

0 commit comments

Comments
 (0)