Bug#1039871: python-xarray: FTBFS (PermissionError: [Errno 13] Permission denied: '/sbuild-nonexistent')

Sebastiaan Couwenberg sebastic at xs4all.nl
Thu Jun 29 07:50:35 BST 2023


Control: tags -1 patch

The attached patch resolves the FTBFS by nbsphinx_allow_errors = False 
from doc/conf.py

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-------------- next part --------------
diff -Nru python-xarray-2023.06.0/debian/changelog python-xarray-2023.06.0/debian/changelog
--- python-xarray-2023.06.0/debian/changelog	2023-06-27 15:47:04.000000000 +0200
+++ python-xarray-2023.06.0/debian/changelog	2023-06-29 06:58:55.000000000 +0200
@@ -1,3 +1,11 @@
+python-xarray (2023.06.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to fix FTBFS.
+    (closes: #1039871)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 29 Jun 2023 06:58:55 +0200
+
 python-xarray (2023.06.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru python-xarray-2023.06.0/debian/patches/series python-xarray-2023.06.0/debian/patches/series
--- python-xarray-2023.06.0/debian/patches/series	2023-06-27 15:47:04.000000000 +0200
+++ python-xarray-2023.06.0/debian/patches/series	2023-06-29 06:55:24.000000000 +0200
@@ -12,3 +12,4 @@
 xfail-pad-constant.patch
 no-sphinx-design.patch
 xfail-on-random-patch
+xarray_tutorial_data.patch
diff -Nru python-xarray-2023.06.0/debian/patches/xarray_tutorial_data.patch python-xarray-2023.06.0/debian/patches/xarray_tutorial_data.patch
--- python-xarray-2023.06.0/debian/patches/xarray_tutorial_data.patch	1970-01-01 01:00:00.000000000 +0100
+++ python-xarray-2023.06.0/debian/patches/xarray_tutorial_data.patch	2023-06-29 06:58:55.000000000 +0200
@@ -0,0 +1,16 @@
+Description: Fix FBTBFS, docs write to $HOME.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/1039871
+Forwarded: not-needed
+
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -63,8 +63,6 @@ except ImportError:
+         ]
+     )
+ 
+-nbsphinx_allow_errors = False
+-
+ # -- General configuration ------------------------------------------------
+ 
+ # If your documentation needs a minimal Sphinx version, state it here.


More information about the debian-science-maintainers mailing list