From f84edf72104cd9bad57a8f2e3717b3e95347e029 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 23 Apr 2025 16:37:36 +0200
Subject: [PATCH] Fix python 3.13 not working due to not needed xarray
 dependency

---
 .gitlab-ci.yml              | 2 +-
 README.md                   | 4 +++-
 docker/ci-runner/Dockerfile | 2 +-
 requirements.txt            | 3 +--
 tox.ini                     | 2 +-
 5 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ab468a..b91884d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,7 +83,7 @@ run_unit_tests:
     - tox -e py3${PY_VERSION}
   parallel:
     matrix: # use the matrix for testing
-      - PY_VERSION: [9, 10, 11]
+      - PY_VERSION: [9, 10, 11, 12]
 
 # Run code coverage on the base image thus also performing unit tests
 run_unit_tests_coverage:
diff --git a/README.md b/README.md
index 87eccd3..76d7634 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,11 @@
 # lofty
+![build status](https://git.astron.nl/bassa/lofty/badges/main/pipeline.svg)
+![test coverage](https://git.astron.nl/bassa/lofty/badges/main/coverage.svg)
+
 LOFAR2.0 statistics analysis tools
 =======
 
 
-
 ## Getting started
 
 To make it easy for you to get started with GitLab, here's a list of recommended next steps.
diff --git a/docker/ci-runner/Dockerfile b/docker/ci-runner/Dockerfile
index 6268a1a..f6155b7 100644
--- a/docker/ci-runner/Dockerfile
+++ b/docker/ci-runner/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.12
+FROM python:3.13
 
 RUN python -m pip install --upgrade pip
 RUN pip install --upgrade tox twine
diff --git a/requirements.txt b/requirements.txt
index f0cac92..d9f748e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,8 +2,7 @@ numpy
 dask
 jax
 # jax[cuda12]
-jaxlib
-xarray
+jaxlib<0.5.1
 astropy
 matplotlib
 fastplotlib
diff --git a/tox.ini b/tox.ini
index 7991ecf..0624c2a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 # Generative environment list to test all supported Python versions
-envlist = py3{9,10,11,12},black,pep8,pylint
+envlist = py3{9,10,11,12,13},black,pep8,pylint
 min_version = 4.3.3
 requires =
     tox-ignore-env-name-mismatch >= 0.2.0
-- 
GitLab