Skip to content

Commit

Permalink
Pin netcdf4 (#1791)
Browse files Browse the repository at this point in the history
### What kind of change does this PR introduce?

* Pins the `netcdf4` library as it is causing issues in tests and
notebooks

### Does this PR introduce a breaking change?

No.
  • Loading branch information
Zeitsperre authored Jun 25, 2024
2 parents dadf3b1 + fd0056a commit cf3316d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies:
- nbsphinx
- nbval
- nc-time-axis
- netCDF4 >=1.4
- netCDF4 >=1.4,<1.7
- notebook
- pandas-stubs
- platformdirs
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cf3316d

Please sign in to comment.