| 1 |
set -xe |
| 2 |
|
| 3 |
if [[ ${UPSTREAM_DEV} ]]; then |
| 4 |
|
| 5 |
# NOTE: `dask/tests/test_ci.py::test_upstream_packages_installed` should up be |
| 6 |
# updated when packages here are updated. |
| 7 |
|
| 8 |
# Pick up https://github.com/mamba-org/mamba/pull/2903 |
| 9 |
mamba install -n base 'mamba>=1.5.2' |
| 10 |
|
| 11 |
mamba uninstall --force bokeh |
| 12 |
mamba install -y -c bokeh/label/dev bokeh |
| 13 |
|
| 14 |
mamba uninstall --force pyarrow pyarrow-core |
| 15 |
python -m pip install --no-deps \ |
| 16 |
--extra-index-url https://pypi.fury.io/arrow-nightlies/ \ |
| 17 |
--prefer-binary --pre pyarrow |
| 18 |
|
| 19 |
mamba uninstall --force fastparquet |
| 20 |
python -m pip install \ |
| 21 |
--upgrade \ |
| 22 |
locket \ |
| 23 |
git+https://github.com/dask/s3fs \ |
| 24 |
git+https://github.com/intake/filesystem_spec \ |
| 25 |
git+https://github.com/dask/partd \ |
| 26 |
git+https://github.com/dask/zict \ |
| 27 |
git+https://github.com/dask/distributed \ |
| 28 |
git+https://github.com/dask/dask-expr \ |
| 29 |
git+https://github.com/dask/fastparquet \ |
| 30 |
git+https://github.com/zarr-developers/zarr-python |
| 31 |
mamba uninstall --force numpy pandas scipy numexpr numba sparse scikit-image h5py |
| 32 |
python -m pip install --no-deps --pre --retries 10 \ |
| 33 |
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ |
| 34 |
numpy \ |
| 35 |
pandas \ |
| 36 |
scipy \ |
| 37 |
scikit-image \ |
| 38 |
h5py |
| 39 |
|
| 40 |
# Used when automatically opening an issue when the `upstream` CI build fails |
| 41 |
mamba install pytest-reportlog |
| 42 |
|
| 43 |
fi |
| 44 |
|
| 45 |
# Install dask |
| 46 |
python -m pip install --quiet --no-deps -e .[complete] |
| 47 |
echo mamba list |
| 48 |
mamba list |
| 49 |
|
| 50 |
# For debugging |
| 51 |
echo -e "--\n--Conda Environment (re-create this with \`conda env create --name <name> -f <output_file>\`)\n--" |
| 52 |
mamba env export | grep -E -v '^prefix:.*$' > env.yaml |
| 53 |
cat env.yaml |
| 54 |
|
| 55 |
set +xe |