From 104ecddb1525badb988fffa2bac1ede41255af3a Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Mon, 13 Jul 2026 09:59:28 +0200 Subject: [PATCH 1/2] upstream dev CI script: strict mode --- ci/install-upstream-wheels.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ci/install-upstream-wheels.sh b/ci/install-upstream-wheels.sh index adab65b..7daef50 100755 --- a/ci/install-upstream-wheels.sh +++ b/ci/install-upstream-wheels.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +set -e +set -u +set -o pipefail + # forcibly remove packages to avoid artifacts conda uninstall -y --force \ cartopy \ @@ -8,17 +12,15 @@ conda uninstall -y --force \ packaging \ pandas \ xarray + # to limit the runtime of Upstream CI -python -m pip install \ - -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \ - --no-deps \ - --pre \ - --upgrade \ +python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --no-deps --pre \ matplotlib \ numpy \ pandas \ shapely \ xarray + python -m pip install \ --no-deps \ --upgrade \ From 34e54fcf343538e43bc9a3f235684854ddd20868 Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Mon, 13 Jul 2026 10:08:25 +0200 Subject: [PATCH 2/2] also uninstall shapely --- ci/install-upstream-wheels.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/install-upstream-wheels.sh b/ci/install-upstream-wheels.sh index 7daef50..44d701d 100755 --- a/ci/install-upstream-wheels.sh +++ b/ci/install-upstream-wheels.sh @@ -11,6 +11,7 @@ conda uninstall -y --force \ numpy \ packaging \ pandas \ + shapely \ xarray # to limit the runtime of Upstream CI