# Bug#882559: marked as done (python-xarray FTBFS - GenericNetCDFDataTest.test_cross_engine_read_write_netcdf3 failed)

Your message dated Sun, 04 Feb 2018 12:36:18 +0000
with message-id <e1eijws-0000jl...@fasolo.debian.org>
and subject line Bug#882559: fixed in python-xarray 0.9.6-1
has caused the Debian Bug report #882559,
regarding python-xarray FTBFS -
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
immediately.)

--
882559: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882559
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

--- Begin Message ---
Package: python3-xarray
Version: 0.9.2-1
Severity: serious
Control: tags -1 upstream

Two netcdf tests fail in current sid (see log below).


This is known upstream as https://github.com/pydata/xarray/issues/1721 , according to which the actual problem is that scipy has been writing netcdf files with invalid padding for some time ( https://github.com/scipy/scipy/pull/8170 ), and netcdf 4.5 rejects such invalid files ( https://github.com/Unidata/netcdf-c/issues/657 ).


netcdf have since reverted this change, and a patch has been posted for the original scipy bug, but given that neither of these are xarray's fault it might make most sense to temporarily disable these tests.


=================================== FAILURES =================================== __________ GenericNetCDFDataTest.test_cross_engine_read_write_netcdf3 __________



data = create_test_data()
valid_engines = set()
if has_netCDF4:
if has_scipy:

for write_engine in valid_engines:
for format in ['NETCDF3_CLASSIC', 'NETCDF3_64BIT']:
with create_tmp_file() as tmp_file:
data.to_netcdf(tmp_file, format=format,
engine=write_engine)
with open_dataset(tmp_file,

xarray/tests/test_backends.py:977:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
xarray/backends/api.py:291: in open_dataset
autoclose=autoclose)
xarray/backends/netCDF4_.py:210: in __init__
self.ds = opener()
xarray/backends/netCDF4_.py:185: in _open_netcdf4_group
ds = nc4.Dataset(filename, mode=mode, **kwargs)
netCDF4/_netCDF4.pyx:2015: in netCDF4._netCDF4.Dataset.__init__
???

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   ???

E OSError: [Errno -36] NetCDF: Invalid argument: b'/tmp/tmpmgjj7gx5/temp-88.nc'

netCDF4/_netCDF4.pyx:1636: OSError




data = create_test_data()
valid_engines = set()
if has_netCDF4:
if has_scipy:

for write_engine in valid_engines:
for format in ['NETCDF3_CLASSIC', 'NETCDF3_64BIT']:
with create_tmp_file() as tmp_file:
data.to_netcdf(tmp_file, format=format,
engine=write_engine)
with open_dataset(tmp_file,

xarray/tests/test_backends.py:977:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
xarray/backends/api.py:291: in open_dataset
autoclose=autoclose)
xarray/backends/netCDF4_.py:210: in __init__
self.ds = opener()
xarray/backends/netCDF4_.py:185: in _open_netcdf4_group
ds = nc4.Dataset(filename, mode=mode, **kwargs)
netCDF4/_netCDF4.pyx:2015: in netCDF4._netCDF4.Dataset.__init__
???

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   ???

E OSError: [Errno -36] NetCDF: Invalid argument: b'/tmp/tmpfc4acgiv/temp-93.nc'

netCDF4/_netCDF4.pyx:1636: OSError

(followed by a few more failures that look like #871208 - see there)


--- End Message ---
--- Begin Message ---
Source: python-xarray
Source-Version: 0.9.6-1

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
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ghislain Antony Vaillant <ghisv...@gmail.com> (supplier of updated
python-xarray package)

(This message was generated automatically at their request; if you

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 03 Feb 2018 13:49:07 +0000
Source: python-xarray
Binary: python3-xarray python-xarray-doc
Architecture: source all
Version: 0.9.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Ghislain Antony Vaillant <ghisv...@gmail.com>
Description:
python-xarray-doc - documentation for xarray
python3-xarray - N-D labeled arrays and datasets in Python 3
Closes: 871208 873366 882559
Changes:
python-xarray (0.9.6-1) unstable; urgency=medium
.
* Source future releases from GitHub
* Use the recommended gbp configuration
* New upstream version 0.9.6 (Closes: #882559)
* Rebase the patch queue
- Drop Fix-missing-config-errors-when-running-test-suite.patch,
no longer required
- Refresh Use-packaged-docs.patch, Use-packaged-MathJax.patch
and No-privacy-breach.patch
* Update the dependencies
- Drop distributed, h5netcdf, h5py, pydap and toolz from Build-Depends
- Add rasterio and sphinx-gallery to Build-Depends
- Move bottleneck, dask and netcdf4 from Suggests to Recommends
- Add cartopy and rasterio to Suggests
- Drop distributed, h5netcdf and h5py from Suggests
* Fix autopkgtest failures.
Thanks to Steve Langasek (Closes: #873366)
* Drop superfluous nocheck guards
* Ignore the autogenerated version file
* Fix whitespacing in rules file
* Bump the debhelper version to 11
* Bump the standards version to 4.1.3
* Point the VCS metadata to salsa.d.o
* Disable Sphinx gallery generation
- New patch No-sphinx-gallery.patch
* Cherry-pick upstream fix for a failing test
- New patch Fix-test-suite-failure.patch
Thanks to Rebecca N. Plamer (Closes: #871208)
Checksums-Sha1:
cbdfb3df7de34f9ed07000fca77c86dd3336ce4c 2837 python-xarray_0.9.6-1.dsc
f49c7e9f5c2cf42a3c3427815c0bd08dcaefa135 1771069
python-xarray_0.9.6.orig.tar.gz
python-xarray_0.9.6-1.debian.tar.xz
d7a93bbf983af117af2a87a484670d1dee5b392d 1410092
python-xarray-doc_0.9.6-1_all.deb
e2fa0937d2681fcb3b523c902c3c2149c7c2a2a5 11627
python-xarray_0.9.6-1_amd64.buildinfo
cfc215d6dab692df47de31cc602e49651252f013 215288 python3-xarray_0.9.6-1_all.deb
Checksums-Sha256:
python-xarray_0.9.6-1.dsc
4b68f2fa5158123f87b158015374e035471dbe00d10e445cb43a5e4ab11045e1 1771069
python-xarray_0.9.6.orig.tar.gz
a50f13621c698ddc6e475ec6f9da2fb5109eaab8080f4d6b7206a70341fdcdd3 8120
python-xarray_0.9.6-1.debian.tar.xz
57bac812433fbeba0e0bacd6f085532afc5b033c6d04839f20c52651218a23b2 1410092
python-xarray-doc_0.9.6-1_all.deb
8a24a256c095c208a6ce0b890f6e5c80d6f0a82e50610615b1c5d3b566615324 11627
python-xarray_0.9.6-1_amd64.buildinfo
python3-xarray_0.9.6-1_all.deb
Files:
aa154cbb5e5b7439daf158ecb9175a81 2837 python optional python-xarray_0.9.6-1.dsc
980aa689524338de077d8f889e901327 1771069 python optional
python-xarray_0.9.6.orig.tar.gz
152a6052daf6b7cc535ab8e228aab7b7 8120 python optional
python-xarray_0.9.6-1.debian.tar.xz
6a5d17f53e15252e16c93ab202999182 1410092 doc optional
python-xarray-doc_0.9.6-1_all.deb
32edca5f6b791457b667e7709787c293 11627 python optional
python-xarray_0.9.6-1_amd64.buildinfo
09615b663bae66a8dcf8c5352814e46a 215288 python optional
python3-xarray_0.9.6-1_all.deb

-----BEGIN PGP SIGNATURE-----

06VeDQ//eYjsdshd9/79ksjm+daO5UEeoOBo2kMDLCxMUXEK/JPwtgUgm2Wcffd4
9mc4heXC4teuRO9onZtQi560zj5xll+3vVFjeWLS7dL2lHiuj+7qXFsb8Gztg/f4
nNkd/HSiHXPLIN+urBs6W7bKQ8mu4GmXMNt/j4bH2Umk21w8vXBw7MB17jaZ0o75
rT8umRCMLV42xRtQovhMZsOqcEDqWbIJTBY3YQuNNFuJuB0MYl11T/O+ktEZNRQX
02u62N2bFvYRmErNMCJ089Ja2DOkYiMM9T3BW6vki8GaVITDFApNSMPDYZz8qT6E
PYgho1u3BOtEHlafdvz5dsBd66Ms5qyoK+ZMyFVzw8OV8QuHPTvCIYGI4yXvOm87
Hb57mpYj/72zlcJ8nEznB051TILjbThT6YYSDVjfRhJyZQURS+4eQY8+wbwYHgDe
gIvmHCIQXJT071Zs638O/eLwvBhNCS7B6T8Y5wTrz4zTKGNiIHUMZ6o92Q5GZxnN
iCdDxE7VVumJXpEDFvMChmNWZrFL4Qd0JPoNNssyB8KnHPxTHhQn4F8aMw60JW7K
+d/pyFdvqEAb5tYTXnuBB0DELgWTEyZibgzh1Cm7hkUSnPqrl3iLC5VMbbi0byab
fkbPK6+yBdZIM2XVDqQA8rGrRu3CXtgo94EWpIJOLZtdJ1AnTLo=
=JLfQ
-----END PGP SIGNATURE-----

--- End Message ---