From 0f47bf70c50e366de793b597ae30e899510de565 Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Wed, 25 Mar 2026 07:22:58 +0100 Subject: [PATCH 1/6] use newer numpy & python --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d650f55..34bcffc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=42", "wheel", "numpy==1.23.5"] +requires = ["setuptools>=42", "wheel", "numpy>=2.0"] build-backend = "setuptools.build_meta" [tool.black] @@ -7,7 +7,7 @@ line-length = 120 [tool.ruff] line-length = 120 -target-version = "py38" +target-version = "py311" select = ["F401", "I"] fix = true From 8d736455c52914ce5707676667a298de1d33996c Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Wed, 25 Mar 2026 08:19:39 +0100 Subject: [PATCH 2/6] fix h5py dep --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2ac5ef6..c0bef70 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,7 @@ dev = pre-commit sphinx>=4.5.0 myst-parser>=0.17.0 - h5netcdf + h5netcdf[h5py] sphinx-autodoc-annotation sphinx-autodoc-typehints sphinxcontrib-svg2pdfconverter==1.2.0 From cbc192703d224e4621735abf806e10587acdf219 Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Wed, 25 Mar 2026 08:34:19 +0100 Subject: [PATCH 3/6] Update numpy --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index c0bef70..077a37e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,7 +21,7 @@ package_dir = packages = find: python_requires = >= 3.8 install_requires = - numpy==1.23.5 + numpy>=2.0 GPy>=1.10.0 vam.whittaker==2.0.6 # Workaround for missing GPy dependency (https://github.com/SheffieldML/GPy/issues/980) From 8305c3ea1699943e4778303158d877dd19d1475d Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Wed, 25 Mar 2026 10:54:16 +0100 Subject: [PATCH 4/6] make scipy explicit --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 077a37e..647186d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,6 +22,7 @@ packages = find: python_requires = >= 3.8 install_requires = numpy>=2.0 + scipy>=1.10.0 GPy>=1.10.0 vam.whittaker==2.0.6 # Workaround for missing GPy dependency (https://github.com/SheffieldML/GPy/issues/980) From 4b4917f6eee3ed99baaa4b7032d62cbc18e46930 Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Wed, 25 Mar 2026 11:27:05 +0100 Subject: [PATCH 5/6] Update matplotlib: force lengthy dependency resolution --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 647186d..a292d9e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,7 +26,7 @@ install_requires = GPy>=1.10.0 vam.whittaker==2.0.6 # Workaround for missing GPy dependency (https://github.com/SheffieldML/GPy/issues/980) - matplotlib>=3.3.4 + matplotlib>=3.9.0 xarray>=0.20.2 lcmap-pyccd==2021.7.19 openeo From b923bfc38868f878c751f270d8b3ae946a0c3d55 Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Wed, 25 Mar 2026 11:34:59 +0100 Subject: [PATCH 6/6] use uv for faster deps --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 625d1e4..1be6ff9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,4 +13,6 @@ pythonPipeline { wheel_repo = 'python-openeo' wheel_repo_dev = 'python-openeo' pep440 = true + enable_caching = true + enable_uv = true }