From bad62b16e28468923581a3bacf4f54048a46a6f0 Mon Sep 17 00:00:00 2001 From: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:18:24 -0400 Subject: [PATCH] pin netcdf4 --- CHANGES.rst | 4 ++++ environment.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 78d59a10d..0bf77695e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,10 @@ v0.51.0 (unreleased) -------------------- Contributors to this version: Trevor James Smith (:user:`Zeitsperre`). +Internal changes +^^^^^^^^^^^^^^^^ +* `netcdf4` has been pinned below v1.7 for test stability reasons. (:pull:`1791`). + Internal changes ^^^^^^^^^^^^^^^^ * GitHub repository now uses Rulesets for branch protection. (:pull:`1790`). diff --git a/environment.yml b/environment.yml index fa83a41d5..6a91bebd9 100644 --- a/environment.yml +++ b/environment.yml @@ -52,7 +52,7 @@ dependencies: - nbsphinx - nbval - nc-time-axis - - netCDF4 >=1.4 + - netCDF4 >=1.4,<1.7 - notebook - pandas-stubs - platformdirs diff --git a/pyproject.toml b/pyproject.toml index c1e099f53..385d12d5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ dev = [ "nbconvert <7.14", # Pinned due to directive errors in sphinx. See: https://github.com/jupyter/nbconvert/issues/2092 "nbqa >=1.8.2", "nbval", - "netCDF4 >=1.4", + "netCDF4 >=1.4,<1.7", "pandas-stubs >=2.2", "platformdirs >=3.2", "pre-commit >=3.7",