From 41819712b86c78edd8fdc11fa5547ac46a0d527a Mon Sep 17 00:00:00 2001 From: Lesley De Cruz Date: Mon, 30 Nov 2026 23:42:06 +0100 Subject: [PATCH 1/2] Remove version pin for pysteps-nwp-importers now that v2 is released --- pyproject.toml | 6 +----- uv.lock | 10 +++++++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 26edceff..e90f7372 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ doc = [ "scikit-image", "scikit-learn", "pandas", - "pysteps-nwp-importers", + "pysteps-nwp-importers>=2", "pygrib", "h5py", "cartopy>=0.18", # for the maps in the gallery examples @@ -126,7 +126,3 @@ select = [ [tool.ruff.format] # Use `\n` line endings for all files line-ending = "lf" - -#FIXME when merged in pysteps-nwp-importers main and released, this can go away -[tool.uv.sources] -pysteps-nwp-importers = { git = "https://github.com/pySTEPS/pysteps-nwp-importers", branch = "adapt-to-pysteps-v2" } diff --git a/uv.lock b/uv.lock index f143d310..b9075b5b 100644 --- a/uv.lock +++ b/uv.lock @@ -1808,7 +1808,7 @@ requires-dist = [ { name = "pygrib", marker = "extra == 'doc'" }, { name = "pygrib", marker = "extra == 'pygrib'" }, { name = "pyproj" }, - { name = "pysteps-nwp-importers", marker = "extra == 'doc'", git = "https://github.com/pySTEPS/pysteps-nwp-importers?branch=adapt-to-pysteps-v2" }, + { name = "pysteps-nwp-importers", marker = "extra == 'doc'", specifier = ">=2" }, { name = "pywavelets", marker = "extra == 'optional'" }, { name = "rasterio", marker = "extra == 'optional'" }, { name = "rioxarray", marker = "extra == 'optional'", specifier = ">=0.19.0" }, @@ -1838,8 +1838,8 @@ dev = [ [[package]] name = "pysteps-nwp-importers" -version = "2.0.0rc1" -source = { git = "https://github.com/pySTEPS/pysteps-nwp-importers?branch=adapt-to-pysteps-v2#d0c5475bb23b88fb63b2afb2f1c0c342a6c96467" } +version = "2.0.0" +source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "netcdf4" }, { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" }, @@ -1849,6 +1849,10 @@ dependencies = [ { name = "pysteps" }, { name = "xarray" }, ] +sdist = { url = "https://files.pythonhosted.org/packages/51/ba/05b92bdd00dcbc4050c1bf528395249244f8fdcb9b1c55daedc74eb6520b/pysteps_nwp_importers-2.0.0.tar.gz", hash = "sha256:fe78796ff730842a02e87b1338500a2430e95015c58192e2f5bb151266f6f3a7", size = 18223, upload-time = "2026-11-30T22:11:37.101Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c6/e8/1d59fc932ededfc02f4dbb64082430d07318031fc8bb95579daf17dd6222/pysteps_nwp_importers-2.0.0-py3-none-any.whl", hash = "sha256:685a91c6928eadc0f9b99835b6f8d678045de95652b3c86c49dc10c45a0252da", size = 24794, upload-time = "2026-11-30T22:11:36.045Z" }, +] [[package]] name = "pytest" From 7520e53fd60ff910610127dac68b7d78a7a5df19 Mon Sep 17 00:00:00 2001 From: Lesley De Cruz Date: Mon, 30 Nov 2026 23:42:35 +0100 Subject: [PATCH 2/2] Re-enable linear blending example which should now work fine. --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index b300da91..8d636ec9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -253,7 +253,7 @@ def get_version(): "examples_dirs": "../../examples", # path to your example scripts "gallery_dirs": "auto_examples", # path where to save gallery generated examples "filename_pattern": r"/*\.py", # Include all the files in the examples dir - "ignore_pattern": r"blend|linda", # Exclude too-slow / broken examples (blending, LINDA) for now + "ignore_pattern": r"blended|linda", # Exclude too-slow / broken examples (STEPS and EnKF blending, LINDA) for now # Make the build log informative, so slow or failing examples can be spotted "min_reported_time": 0, # Report the run time of every example "only_warn_on_example_error": True, # A failing example must not abort the build