From: Alastair McKinstry <mckinstry@debian.org>
Date: Thu, 30 Jan 2020 10:48:44 +0000
Subject: Disable warning_is_error that causes FTBFS because of

Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950101
Last-Updated: 2020-01-30
Forwarded: no

missing dependencies in ipython
---
 doc/conf.py | 3 +++
 1 file changed, 3 insertions(+)

Index: python-xarray-2025.03.0/doc/conf.py
===================================================================
--- python-xarray-2025.03.0.orig/doc/conf.py
+++ python-xarray-2025.03.0/doc/conf.py
@@ -35,6 +35,9 @@ allowed_failures = set()
 print("python exec:", sys.executable)
 print("sys.path:", sys.path)
 
+# See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950101
+ipython_warning_is_error = False
+
 if "CONDA_DEFAULT_ENV" in os.environ or "conda" in sys.executable:
     print("conda environment:")
     subprocess.run([os.environ.get("CONDA_EXE", "conda"), "list"])
