Skip to content

Commit

Permalink
Add u8darts-all. Update stable to 24.01 and unstable to 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Roberts committed May 22, 2024
1 parent 6e0c4a5 commit 4f6833a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies:
- pygrib
- pyhdf
- pytest
- scipy<1.13.0 ### Very recently updated and breaks some packages that have a slower update cycle. Should be able to unpin soon.
- scipy
- seaborn
- xarray>2023.9 ### py-cordex fixes xarray at != 2023.9.0 - set this to prevent downgrade
- jupyter
Expand Down Expand Up @@ -286,5 +286,6 @@ dependencies:
- accessnri::access-med-tools
- crick ### Unlisted dependency for dask-expr
- regional-mom6
- u8darts-all
- pip:
- railroad-diagrams ### Unlisted dependency of pip and pyparsing
18 changes: 17 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,23 @@ function test_env {

while ! [[ -e "${TEST_OUT_FILE}" ]]; do sleep 5; done

[[ -e /proc/"${test_pid}" ]] && kill -15 "${test_pid}"
if [[ -e /proc/"${test_pid}" ]]; then
kill -15 "${test_pid}"
fi
### Hard kill in 10 seconds because the SIGTERM doesn't work sometimes
sleep_counter=10
while [[ ${sleep_counter} -gt 0 ]]; do
if [[ -e /proc/"${test_pid}" ]]; then
sleep 1
sleep_counter=$(( ${sleep_counter} - 1 ))
if [[ ${sleep_counter} -eq 0 ]]; then
kill -9 "${test_pid}"
fi
else
sleep_counter=0
fi
done

wait

read errors failures < <( python3 -c 'import xml.etree.ElementTree as ET; import sys; t=ET.parse(sys.argv[1]); print(t.getroot()[0].get("errors") + " " + t.getroot()[0].get("failures"))' "${TEST_OUT_FILE}" )
Expand Down
7 changes: 7 additions & 0 deletions testconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ skip:
- numba.core.rvsdg_frontend ### Not supported in Python3.10
- scipy._lib.array_api_compat.torch ### Don't support pytorch
- urllib3.contrib.emscripten ### Used for web browser integration and also experimental: https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html
- fugue_duckdb ### Optional backend not used by any package in analysis3
- fugue_ibis ### Optional backend not used by any package in analysis3
- fugue_polars ### Optional backend not used by any package in analysis3
- fugue_ray ### Optional backend not used by any package in analysis3
- fugue_spark ### Optional backend not used by any package in analysis3
- torch.onnx ### Prevent testing of _internal APIs
- torch.testing ### Prevent testing of _internal APIs

# Preload these modules before testing to avoid weird python issues
preload:
Expand Down
4 changes: 2 additions & 2 deletions version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ENVIRONMENT=analysis3
VERSION_TO_MODIFY=24.04
STABLE_VERSION=23.10
UNSTABLE_VERSION=24.01
STABLE_VERSION=23.01
UNSTABLE_VERSION=24.04

0 comments on commit 4f6833a

Please sign in to comment.