File: ipython-fix.patch

package info (click to toggle)
python-xarray 2025.08.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,796 kB
  • sloc: python: 115,416; makefile: 258; sh: 47
file content (25 lines) | stat: -rw-r--r-- 744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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(+)

--- a/doc/conf.py
+++ b/doc/conf.py
@@ -21,6 +21,9 @@
 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"])