Skip to content

Commit 2ef5375

Browse files
committed
WIP
1 parent 3552dc9 commit 2ef5375

File tree

2 files changed

+22
-31
lines changed

2 files changed

+22
-31
lines changed

ci/azure/windows.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
vmImage: ${{ parameters.vmImage }}
1010
strategy:
1111
matrix:
12-
py38:
13-
ENV_FILE: ci/deps/actions-38.yaml
14-
CONDA_PY: "38"
12+
# py38:
13+
# ENV_FILE: ci/deps/actions-38.yaml
14+
# CONDA_PY: "38"
1515

16-
py39:
17-
ENV_FILE: ci/deps/actions-39.yaml
18-
CONDA_PY: "39"
16+
# py39:
17+
# ENV_FILE: ci/deps/actions-39.yaml
18+
# CONDA_PY: "39"
1919

2020
py310:
2121
ENV_FILE: ci/deps/actions-310.yaml

ci/setup_env.sh

+16-25
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,12 @@ conda info -a
6060
echo "conda list (root environment)"
6161
conda list
6262

63-
# Clean up any left-over from a previous build
64-
conda remove --all -q -y -n pandas-dev
65-
6663
echo
64+
# Clean up any left-over from a previous build
65+
mamba env remove -n pandas-dev
66+
echo "mamba env update --file=${ENV_FILE}"
6767
# See https://github.com/mamba-org/mamba/issues/633
6868
mamba create -q -n pandas-dev
69-
echo "mamba env update --file=${ENV_FILE}"
7069
time mamba env update -n pandas-dev --file="${ENV_FILE}"
7170

7271

@@ -84,31 +83,23 @@ activate pandas-dev
8483
# downstream CI jobs that may also build pandas from source.
8584
export PANDAS_CI=1
8685

87-
echo
88-
echo "remove any installed pandas package"
89-
echo "w/o removing anything else"
90-
conda remove pandas -y --force || true
91-
pip uninstall -y pandas || true
92-
93-
echo
94-
echo "remove qt"
95-
echo "causes problems with the clipboard, we use xsel for that"
96-
conda remove qt -y --force || true
97-
98-
echo
99-
echo "conda list pandas"
100-
conda list pandas
86+
if pip list | grep -q ^pandas; then
87+
echo
88+
echo "remove any installed pandas package w/o removing anything else"
89+
pip uninstall -y pandas || true
90+
fi
10191

102-
# Make sure any error below is reported as such
92+
if [ "$(conda list -f qt --json)" != [] ]; then
93+
echo
94+
echo "remove qt"
95+
echo "causes problems with the clipboard, we use xsel for that"
96+
conda remove qt -y --force || true
97+
fi
10398

104-
echo "[Build extensions]"
99+
echo "Build extensions"
105100
python setup.py build_ext -q -j3
106101

107-
echo "[Install pandas]"
102+
echo "Install pandas"
108103
python -m pip install --no-build-isolation -e .
109104

110-
echo
111-
echo "conda list"
112-
conda list
113-
114105
echo "done"

0 commit comments

Comments
 (0)