Bug#915260: python-h5netcdf FTBFS with h5py 2.8.0-2

Adrian Bunk bunk at debian.org
Sun Dec 2 09:21:03 GMT 2018


Source: python-h5netcdf
Version: 0.5.0-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-h5netcdf.html

...
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:269: cp -r /build/1st/python-h5netcdf-0.5.0/h5netcdf/tests /build/1st/python-h5netcdf-0.5.0/.pybuild/cpython3_3.6_h5netcdf/build
I: pybuild base:217: cd /build/1st/python-h5netcdf-0.5.0/.pybuild/cpython3_3.6_h5netcdf/build; python3.6 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.6.7, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /build/1st/python-h5netcdf-0.5.0, inifile:
collected 26 items

tests/test_h5netcdf.py F...F.....................                        [100%]

=================================== FAILURES ===================================
______________________ test_write_legacyapi_read_netCDF4 _______________________

tmp_netcdf = '/tmp/pytest-of-pbuilder1/pytest-0/test_write_legacyapi_read_netC0/testfile.nc'

    def test_write_legacyapi_read_netCDF4(tmp_netcdf):
>       roundtrip_legacy_netcdf(tmp_netcdf, netCDF4, legacyapi)

tests/test_h5netcdf.py:335: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_h5netcdf.py:331: in roundtrip_legacy_netcdf
    read_legacy_netcdf(tmp_netcdf, read_module, write_module)
tests/test_h5netcdf.py:153: in read_legacy_netcdf
    ds = read_module.Dataset(tmp_netcdf, 'r')
netCDF4/_netCDF4.pyx:2157: in netCDF4._netCDF4.Dataset.__init__
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   AttributeError: 'NoneType' object has no attribute 'dimensions'

netCDF4/_netCDF4.pyx:1730: AttributeError
_______________________ test_write_h5netcdf_read_netCDF4 _______________________

tmp_netcdf = '/tmp/pytest-of-pbuilder1/pytest-0/test_write_h5netcdf_read_netCD0/testfile.nc'

    def test_write_h5netcdf_read_netCDF4(tmp_netcdf):
        write_h5netcdf(tmp_netcdf)
>       read_legacy_netcdf(tmp_netcdf, netCDF4, h5netcdf)

tests/test_h5netcdf.py:353: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_h5netcdf.py:153: in read_legacy_netcdf
    ds = read_module.Dataset(tmp_netcdf, 'r')
netCDF4/_netCDF4.pyx:2157: in netCDF4._netCDF4.Dataset.__init__
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   AttributeError: 'NoneType' object has no attribute 'dimensions'

netCDF4/_netCDF4.pyx:1730: AttributeError
===================== 2 failed, 24 passed in 1.99 seconds ======================
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /build/1st/python-h5netcdf-0.5.0/.pybuild/cpython3_3.6_h5netcdf/build; python3.6 -m pytest 
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.6 3.7" returned exit code 13
make: *** [debian/rules:11: build] Error 25



More information about the debian-science-maintainers mailing list