Skip to content

Commit bfcb0a7

Browse files
authored
clean up the upstream-dev setup script (#8986)
* try not to build `numcodecs` in CI [skip-ci] [skip-rtd] * don't remove `numcodecs` from the upstream-dev environment * also don't remove `pint`, it's not in the environment at the moment * [skip-ci][skip-rtd] * don't build `bottleneck` without build isolation `bottleneck` uses the release candidate on PyPI to build `numpy>=2` compatible wheels. * also build `cftime` without build isolation (same as `bottleneck`: it builds against `numpy>=2.0.0rc1`) * remove the build-deps * [skip-ci][skip-rtd] * try removing the upstream-dev build of `pyarrow` [skip-ci][skip-rtd] Supposedly `pyarrow>=16.0` is compatible with `numpy>=2`, but I don't know whether the version on `conda-forge` is built against the release candidate of `numpy`. * Revert "try removing the upstream-dev build of `pyarrow`" [skip-ci][skip-rtd] This reverts commit 48a656f.
1 parent 7f99f9e commit bfcb0a7

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

ci/install-upstream-wheels.sh

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env bash
22

3-
# install cython for building cftime without build isolation
4-
micromamba install "cython>=0.29.20" py-cpuinfo setuptools-scm
53
# temporarily (?) remove numbagg and numba
64
micromamba remove -y numba numbagg sparse
75
# temporarily remove numexpr
@@ -18,10 +16,9 @@ micromamba remove -y --force \
1816
zarr \
1917
cftime \
2018
packaging \
21-
pint \
2219
bottleneck \
23-
flox \
24-
numcodecs
20+
flox
21+
# pint
2522
# to limit the runtime of Upstream CI
2623
python -m pip install \
2724
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
@@ -42,32 +39,17 @@ python -m pip install \
4239
--pre \
4340
--upgrade \
4441
pyarrow
45-
# without build isolation for packages compiling against numpy
46-
# TODO: remove once there are `numpy>=2.0` builds for these
47-
python -m pip install \
48-
--no-deps \
49-
--upgrade \
50-
--no-build-isolation \
51-
git+https://github.com/Unidata/cftime
52-
python -m pip install \
53-
--no-deps \
54-
--upgrade \
55-
--no-build-isolation \
56-
git+https://github.com/zarr-developers/numcodecs
57-
python -m pip install \
58-
--no-deps \
59-
--upgrade \
60-
--no-build-isolation \
61-
git+https://github.com/pydata/bottleneck
6242
python -m pip install \
6343
--no-deps \
6444
--upgrade \
6545
git+https://github.com/dask/dask \
6646
git+https://github.com/dask/dask-expr \
6747
git+https://github.com/dask/distributed \
6848
git+https://github.com/zarr-developers/zarr \
49+
git+https://github.com/Unidata/cftime \
6950
git+https://github.com/pypa/packaging \
7051
git+https://github.com/hgrecco/pint \
52+
git+https://github.com/pydata/bottleneck \
7153
git+https://github.com/intake/filesystem_spec \
7254
git+https://github.com/SciTools/nc-time-axis \
7355
git+https://github.com/xarray-contrib/flox \

0 commit comments

Comments
 (0)