From 03c9724daca9afb0a42859f5cbd0c2aac08e6263 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:59:24 -0500 Subject: [PATCH 1/2] pin nbconvert to deal with regression --- environment.yml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 1dd8a9405..3e01a4cbc 100644 --- a/environment.yml +++ b/environment.yml @@ -46,6 +46,7 @@ dependencies: - isort ==5.13.2 - matplotlib - mypy + - nbconvert <7.14 # Pinned due to directive errors in sphinx. See: https://github.com/jupyter/nbconvert/issues/2092 - nbqa - nbsphinx - nbval diff --git a/pyproject.toml b/pyproject.toml index dc4b43525..3a4be6a12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,7 @@ dev = [ "ipython", "isort ==5.13.2", "mypy", - "nbconvert", + "nbconvert <7.14", # Pinned due to directive errors in sphinx. See: https://github.com/jupyter/nbconvert/issues/2092 "nbqa", "nbval", "netCDF4 >=1.4", From 91d4622d1c2ef32d840c7084ca1a95554992c739 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:00:53 -0500 Subject: [PATCH 2/2] update CHANGES.rst --- CHANGES.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 4232f6ed6..fa9132a97 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,7 +2,7 @@ Changelog ========= -v0.48.1 (2024-02-19) +v0.48.1 (2024-02-20) -------------------- Contributors to this version: Trevor James Smith (:user:`Zeitsperre`). @@ -10,6 +10,7 @@ Bug fixes ^^^^^^^^^ * Fixed an issue with missing `conda` dependencies in the `xclim` documentation. (:pull:`1657`). * Adjusted the Mastodon publishing workflow. (:pull:`1657`). +* Pinned `nbconvert` to address regressions when building the documentation. (:pull:`1657`). v0.48.0 (2024-02-19) --------------------