Your message dated Mon, 28 Aug 2023 16:04:46 +0000
with message-id <e1qaejo-0076lx...@fasolo.debian.org>
and subject line Bug#1039871: fixed in python-xarray 2023.08.0-1
has caused the Debian Bug report #1039871,
regarding python-xarray: FTBFS (PermissionError: [Errno 13] Permission denied:
'/sbuild-nonexistent')
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1039871: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039871
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-xarray
Version: 2023.06.0-1
Severity: serious
Tags: ftbfs
Justification: FTBFS
Dear Maintainer,
Your package FTBFS on the buildds:
Notebook error:
CellExecutionError in examples/ERA5-GRIB-example.ipynb:
------------------
ds = xr.tutorial.load_dataset("era5-2mt-2019-03-uk.grib", engine="cfgrib")
------------------
[0;31m---------------------------------------------------------------------------[0m
[0;31mPermissionError[0m Traceback (most recent call
last)
File [0;32m/usr/lib/python3/dist-packages/pooch/utils.py:258[0m, in
[0;36mmake_local_storage[0;34m(path, env)[0m
[1;32m 255[0m [38;5;66;03m# When running in parallel, it's possible
that multiple jobs will[39;00m
[1;32m 256[0m [38;5;66;03m# try to create the path at the same time.
Use exist_ok to avoid[39;00m
[1;32m 257[0m [38;5;66;03m# raising an error.[39;00m
[0;32m--> 258[0m
[43mos[49m[38;5;241;43m.[39;49m[43mmakedirs[49m[43m([49m[43mpath[49m[43m,[49m[43m
[49m[43mexist_ok[49m[38;5;241;43m=[39;49m[38;5;28;43;01mTrue[39;49;00m[43m)[49m
[1;32m 259[0m [38;5;28;01melse[39;00m:
File [0;32m<frozen os>:215[0m, in [0;36mmakedirs[0;34m(name, mode, exist_ok)[0m
File [0;32m<frozen os>:215[0m, in [0;36mmakedirs[0;34m(name, mode, exist_ok)[0m
File [0;32m<frozen os>:225[0m, in [0;36mmakedirs[0;34m(name, mode, exist_ok)[0m
[0;31mPermissionError[0m: [Errno 13] Permission denied: '/sbuild-nonexistent'
The above exception was the direct cause of the following exception:
[0;31mPermissionError[0m Traceback (most recent call
last)
Cell [0;32mIn [2], line 1[0m
[0;32m----> 1[0m ds [38;5;241m=[39m
[43mxr[49m[38;5;241;43m.[39;49m[43mtutorial[49m[38;5;241;43m.[39;49m[43mload_dataset[49m[43m([49m[38;5;124;43m"[39;49m[38;5;124;43mera5-2mt-2019-03-uk.grib[39;49m[38;5;124;43m"[39;49m[43m,[49m[43m
[49m[43mengine[49m[38;5;241;43m=[39;49m[38;5;124;43m"[39;49m[38;5;124;43mcfgrib[39;49m[38;5;124;43m"[39;49m[43m)[49m
File [0;32m/<<PKGBUILDDIR>>/xarray/tutorial.py:206[0m, in
[0;36mload_dataset[0;34m(*args, **kwargs)[0m
[1;32m 169[0m [38;5;28;01mdef[39;00m
[38;5;21mload_dataset[39m([38;5;241m*[39margs,
[38;5;241m*[39m[38;5;241m*[39mkwargs) [38;5;241m-[39m[38;5;241m>[39m Dataset:
[1;32m 170[0m [38;5;250m [39m[38;5;124;03m"""[39;00m
[1;32m 171[0m [38;5;124;03m Open, load into memory, and close a dataset
from the online repository[39;00m
[1;32m 172[0m [38;5;124;03m (requires internet).[39;00m
[0;32m (...)[0m
[1;32m 204[0m [38;5;124;03m load_dataset[39;00m
[1;32m 205[0m [38;5;124;03m """[39;00m
[0;32m--> 206[0m [38;5;28;01mwith[39;00m
[43mopen_dataset[49m[43m([49m[38;5;241;43m*[39;49m[43margs[49m[43m,[49m[43m
[49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mkwargs[49m[43m)[49m
[38;5;28;01mas[39;00m ds:
[1;32m 207[0m [38;5;28;01mreturn[39;00m ds[38;5;241m.[39mload()
File [0;32m/<<PKGBUILDDIR>>/xarray/tutorial.py:160[0m, in
[0;36mopen_dataset[0;34m(name, cache, cache_dir, engine, **kws)[0m
[1;32m 157[0m url [38;5;241m=[39m
[38;5;124mf[39m[38;5;124m"[39m[38;5;132;01m{[39;00mbase_url[38;5;132;01m}[39;00m[38;5;124m/raw/[39m[38;5;132;01m{[39;00mversion[38;5;132;01m}[39;00m[38;5;124m/[39m[38;5;132;01m{[39;00mpath[38;5;241m.[39mname[38;5;132;01m}[39;00m[38;5;124m"[39m
[1;32m 159[0m [38;5;66;03m# retrieve the file[39;00m
[0;32m--> 160[0m filepath [38;5;241m=[39m
[43mpooch[49m[38;5;241;43m.[39;49m[43mretrieve[49m[43m([49m[43murl[49m[38;5;241;43m=[39;49m[43murl[49m[43m,[49m[43m
[49m[43mknown_hash[49m[38;5;241;43m=[39;49m[38;5;28;43;01mNone[39;49;00m[43m,[49m[43m
[49m[43mpath[49m[38;5;241;43m=[39;49m[43mcache_dir[49m[43m)[49m
[1;32m 161[0m ds [38;5;241m=[39m _open_dataset(filepath,
engine[38;5;241m=[39mengine, [38;5;241m*[39m[38;5;241m*[39mkws)
[1;32m 162[0m [38;5;28;01mif[39;00m [38;5;129;01mnot[39;00m cache:
File [0;32m/usr/lib/python3/dist-packages/pooch/core.py:223[0m, in
[0;36mretrieve[0;34m(url, known_hash, fname, path, processor, downloader,
progressbar)[0m
[1;32m 220[0m [38;5;66;03m# Create the local data directory if it doesn't
already exist and make the[39;00m
[1;32m 221[0m [38;5;66;03m# path absolute.[39;00m
[1;32m 222[0m path [38;5;241m=[39m cache_location(path,
env[38;5;241m=[39m[38;5;28;01mNone[39;00m,
version[38;5;241m=[39m[38;5;28;01mNone[39;00m)
[0;32m--> 223[0m [43mmake_local_storage[49m[43m([49m[43mpath[49m[43m)[49m
[1;32m 225[0m full_path [38;5;241m=[39m path[38;5;241m.[39mresolve()
[38;5;241m/[39m fname
[1;32m 226[0m action, verb [38;5;241m=[39m download_action(full_path,
known_hash)
File [0;32m/usr/lib/python3/dist-packages/pooch/utils.py:273[0m, in
[0;36mmake_local_storage[0;34m(path, env)[0m
[1;32m 269[0m [38;5;28;01mif[39;00m env [38;5;129;01mis[39;00m
[38;5;129;01mnot[39;00m [38;5;28;01mNone[39;00m:
[1;32m 270[0m message[38;5;241m.[39mappend(
[1;32m 271[0m [38;5;124mf[39m[38;5;124m"[39m[38;5;124mUse
environment variable
[39m[38;5;124m'[39m[38;5;132;01m{[39;00menv[38;5;132;01m}[39;00m[38;5;124m'[39m[38;5;124m
to specify a different location.[39m[38;5;124m"[39m
[1;32m 272[0m )
[0;32m--> 273[0m [38;5;28;01mraise[39;00m
[38;5;167;01mPermissionError[39;00m([38;5;124m"[39m[38;5;124m
[39m[38;5;124m"[39m[38;5;241m.[39mjoin(message)) [38;5;28;01mfrom[39;00m
[38;5;21;01merror[39;00m
[0;31mPermissionError[0m: [Errno 13] Permission denied: '/sbuild-nonexistent'
| Pooch could not create data cache folder
'/sbuild-nonexistent/.cache/xarray_tutorial_data'. Will not be able to download
data files.
PermissionError: [Errno 13] Permission denied: '/sbuild-nonexistent' | Pooch
could not create data cache folder
'/sbuild-nonexistent/.cache/xarray_tutorial_data'. Will not be able to download
data files.
You can ignore this error by setting the following in conf.py:
nbsphinx_allow_errors = True
make[2]: *** [Makefile:58: html] Error 2
https://buildd.debian.org/status/fetch.php?pkg=python-xarray&arch=all&ver=2023.06.0-1&stamp=1687938797&raw=0
The build must not write to $HOME.
--- End Message ---
--- Begin Message ---
Source: python-xarray
Source-Version: 2023.08.0-1
Done: Alastair McKinstry <mckins...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-xarray, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1039...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <mckins...@debian.org> (supplier of updated python-xarray
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 28 Aug 2023 16:28:23 +0100
Source: python-xarray
Architecture: source
Version: 2023.08.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Closes: 1039871 10398871
Changes:
python-xarray (2023.08.0-1) unstable; urgency=medium
.
* New upstream release
* Disable docs this build.
Closes: #10398871
* Build-Dep on numba-doc, python3-pooch, python3-sparse
* Set env variable for pooch cache dir Closes: #1039871
* Undo xfail-on-random.patch, upstream bug closed
Checksums-Sha1:
76ed6fbbbc87280103ec95c8df8707100b266591 3345 python-xarray_2023.08.0-1.dsc
f4959286781958ff231ca49cf191fc5f37b9d263 3344240
python-xarray_2023.08.0.orig.tar.xz
bfbdbd02756a2b0ba958ab686792675f1e4baaea 14376
python-xarray_2023.08.0-1.debian.tar.xz
Checksums-Sha256:
236849eb97c7b8ab70b692f827dc765b4b565b5cd518b3fa31511d9203cb5fdf 3345
python-xarray_2023.08.0-1.dsc
4eae7c54008166fb01e654876c8c6e7c10cde73096f286e71d26b54cef773951 3344240
python-xarray_2023.08.0.orig.tar.xz
8b72e5bd1f9d5ef5b6474e57eb3a089cb23b9b5f04166d35983dfcdd17e2814c 14376
python-xarray_2023.08.0-1.debian.tar.xz
Files:
1b85dbb871427c2101aa1e8a9f5b3187 3345 python optional
python-xarray_2023.08.0-1.dsc
d8ab015b6ea6ce68045466d37852fae7 3344240 python optional
python-xarray_2023.08.0.orig.tar.xz
c8a4beeb4587b69e825476294e5fc348 14376 python optional
python-xarray_2023.08.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmTswgoACgkQy+a7Tl2a
06UXcg//cDyuROlKe3arAABH1v9BvoXRQkHhD0mvxk4W8UM2jB5AM+CLIgOgcwhf
KkyIKIlhirjGZRspk0LvuvL6ABTotB/6d0BFf9NaA6K/fyCq2pWJ+c21EW6cwyZH
S+yozljwQDcEi+yJy96vri+gvyoqAFMeRo6DZd88iREZz4w7onrEOlLzqALKwgZ4
CU6zzakYfh+qbISNjR2pqe+/k0DuKKxbIWlXvBLirmak9T8XQu1EgQhBEF+WMIHH
VpOZWYcGOPNu4AooK/F9gycfMk7g2aJP2SmywLKPJF1GCa5d/lhpqWIlmZAOazw0
B5A+9x6UIa3BNgmWsFpOKy9Why8mp3/FiGe86Xz98proT5XOVTFwKm0MVAWvocV8
CCHyvJr9fPWL1ZPWwna26XWcD6Fbvpvg6EwCCb9D37uatlx6q2KK5G6664ERad0D
/IBc5bIeYdjK02kkXBLKrqqmBfpdGswtECf+K5kDsSrEnjn7Xq5UVd/nI3+mndfU
nChq9a6LDTwQ9dB4NasKfwYMpC4SPodeYm+uzsqqIqoSeodA8Wl8K6Z7hn5sFLcl
TG3jDyrOOUU4gg3pw1yAA7Hlfj4x8s8+bOr27s/l5X2rktDnvrn2jWLtV9HSJPE1
KX0jye9Ihqj3Xj4IL66DLY9GEPBuIb36Mm1oWkxqo0vHI5Noscs=
=kCY4
-----END PGP SIGNATURE-----
--- End Message ---