Package: src:python-rioxarray Version: 0.20.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-rioxarray, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_rioxarray * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated [... snipped ...] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/integration/test_integration__io_uri_manager.py:44: RuntimeWarning: deallocating CachingFileManager(<function _single_band_open at 0x7f7fe7973420>, '/tmp/tmp4hyod3z5/temp-3.tif', mode='r', kwargs={'sharing': False, 'bidx': 2}, manager_id='eee76349-7049-4db2-a241-d47eed5ded41'), but file is not already closed. This may indicate a bug. gc.collect() test/integration/test_integration_merge.py::test_merge_datasets__mask_and_scale[True] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/integration/test_integration_merge.py:268: SerializationWarning: variable 'air_temperature' has _Unsigned attribute but is not of integer type. Ignoring attribute. with open_rasterio(test_file, mask_and_scale=mask_and_scale) as rds: test/integration/test_integration_rioxarray.py::test_reproject_match__rotated test/integration/test_integration_rioxarray.py::test_reproject_match__rotated /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/rioxarray/rioxarray.py:700: UserWarning: Transform that is non-rectilinear or with rotation found. Unable to recalculate. warnings.warn( test/integration/test_integration_rioxarray.py::test_to_raster[None-False-True-True-open_method1] /usr/lib/python3/dist-packages/xarray/core/indexes.py:2148: RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='86e83dbe-6de9-4010-b80c-82ebdfc9bfad'), but file is not already closed. This may indicate a bug. index_coord_names[id(idx)].add(name) test/integration/test_integration_rioxarray.py::test_to_raster[None-False-True-True-open_method3] /usr/lib/python3/dist-packages/dask/blockwise.py:979: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='47262cbd-7cbf-4572-adb3-5e2a6defc70b'), but file is not already closed. This may indicate a bug. arg_coords = tuple(coords[c] for c in cmap) test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/core.py:311: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='54680247-f336-42d9-bbbc-77c548f37eb3'), but file is not already closed. This may indicate a bug. for val in vals: test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/core.py:311: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='227cb356-ab4e-41b5-84d0-7d323a69a33e'), but file is not already closed. This may indicate a bug. for val in vals: test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/core.py:311: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='217c23a5-28a0-41fc-8055-295a05e77988'), but file is not already closed. This may indicate a bug. for val in vals: test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/core.py:311: RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='5f12beb6-10c2-4abb-aaec-473ba321b1a8'), but file is not already closed. This may indicate a bug. for val in vals: test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/core.py:311: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='a1df1314-21f8-43db-a1a5-0f0e51e3c509'), but file is not already closed. This may indicate a bug. for val in vals: test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method0] /usr/lib/python3/dist-packages/xarray/core/indexes.py:648: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='7afd41f2-cf9a-4126-b354-d135fefa744b'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method0] /usr/lib/python3/dist-packages/xarray/core/indexes.py:648: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='54990c16-a03f-40b2-a5c8-58f819b81162'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method3] /usr/lib/python3/dist-packages/dask/_task_spec.py:902: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='425baa25-0520-42df-8e7d-a7fc68adfa59'), but file is not already closed. This may indicate a bug. def __getitem__(self, key): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method3] /usr/lib/python3/dist-packages/dask/_task_spec.py:902: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='f80e92c8-de0b-4f23-815e-0bdef6b02540'), but file is not already closed. This may indicate a bug. def __getitem__(self, key): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/_task_spec.py:902: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='e397075d-eaf5-4ff1-8721-fb712db0abeb'), but file is not already closed. This may indicate a bug. def __getitem__(self, key): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/_task_spec.py:902: RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='84fffa66-4903-435d-a966-d808537bde66'), but file is not already closed. This may indicate a bug. def __getitem__(self, key): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-False-False-open_method2] /usr/lib/python3/dist-packages/dask/_task_spec.py:902: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='a56f50cd-5580-417c-b689-32e47499a365'), but file is not already closed. This may indicate a bug. def __getitem__(self, key): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method1] /usr/lib/python3/dist-packages/xarray/core/dataset.py:3357: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='5f8bf7e9-f41c-4fb8-860a-6ce06773f504'), but file is not already closed. This may indicate a bug. if set(var.dims) <= exclude_dims: test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method1] /usr/lib/python3/dist-packages/xarray/core/dataset.py:3357: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='b02748d0-0ac8-493f-bbc6-fb1ff8b6878a'), but file is not already closed. This may indicate a bug. if set(var.dims) <= exclude_dims: test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method1] /usr/lib/python3/dist-packages/xarray/core/dataset.py:3357: RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='32920a0e-a6bd-4a26-84d7-6c5a0520cc2a'), but file is not already closed. This may indicate a bug. if set(var.dims) <= exclude_dims: test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method4] /usr/lib/python3/dist-packages/xarray/core/indexing.py:1890: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='d8fc31aa-11c5-4dd7-b83e-7fba8b881bcc'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method4] /usr/lib/python3/dist-packages/xarray/core/indexing.py:1890: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='db84efcc-d654-4015-9392-17c1830026c5'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-False-False-open_method3] /usr/lib/python3/dist-packages/dask/_task_spec.py:922: RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='847af0d5-46bb-4176-8293-58dd82fb7424'), but file is not already closed. This may indicate a bug. return iter(self.dsk) test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-False-False-open_method3] /usr/lib/python3/dist-packages/dask/_task_spec.py:922: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='011f6aa7-8ac0-4af8-b634-9fa7cf22c3a3'), but file is not already closed. This may indicate a bug. return iter(self.dsk) test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-False-False-open_method3] /usr/lib/python3/dist-packages/dask/_task_spec.py:922: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='0b811f6c-6a47-4341-b5e8-93deb822942f'), but file is not already closed. This may indicate a bug. return iter(self.dsk) test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-True-open_method2] /usr/lib/python3/dist-packages/dask/_task_spec.py:766: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='5df5cfcf-b007-4b78-b358-6ef5e9d75d22'), but file is not already closed. This may indicate a bug. new_args = tuple( test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-True-open_method4] /usr/lib/python3/dist-packages/xarray/core/variable.py:679: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='937faf32-2738-4247-a98c-09609439e7cb'), but file is not already closed. This may indicate a bug. dims = tuple( test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='ed109a62-9873-4fc3-a982-e15170917dd6'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='6f866341-00cd-4fd9-80f0-4fbca3c1f715'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='b3823d38-9534-46d5-8baa-9d2d34e82cf7'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='33c26de0-d8c0-401d-b78e-d6f4d6177184'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='f1aa0437-2fcc-471c-b1bb-a5cb55185ca8'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='68af5bfe-2fce-4e4c-892e-3fec9570aef0'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='349cdc54-113d-453d-8735-abaf09bc4a01'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='e628ac25-0276-4533-8dbe-e476874d01e9'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='2abc7f4e-f79b-4213-adf8-ae6b96e0fad5'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='d46b2ee7-636c-47ab-9aa7-d94aa1dff340'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-False-open_method0] /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='a7551797-50bb-4efa-aae1-208a9baecbdd'), but file is not already closed. This may indicate a bug. for dim, size in zip(var.dims, var.shape, strict=True): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock2-True-True-open_method0] /usr/lib/python3/dist-packages/xarray/core/indexes.py:1736: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='107ee675-12a4-450e-a3ce-f59fbfa1ebb7'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock2-True-True-open_method3] <frozen abc>:117: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='c0e642b3-635a-4a31-ba7b-8bce602e25ec'), but file is not already closed. This may indicate a bug. test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock2-True-False-open_method1] /usr/lib/python3/dist-packages/xarray/core/indexes.py:648: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='a53f7811-e9ad-4ace-8147-68edf4f8e42a'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock2-True-False-open_method3] /usr/lib/python3/dist-packages/dask/_task_spec.py:656: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='2a786129-90ed-42be-bf12-a0de6a586d3b'), but file is not already closed. This may indicate a bug. if isinstance(a, GraphNode): test/integration/test_integration_rioxarray.py::test_to_raster__scales__offsets[True] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/integration/test_integration_rioxarray.py:1860: SerializationWarning: variable 'air_temperature' has _Unsigned attribute but is not of integer type. Ignoring attribute. with rioxarray.open_rasterio( test/integration/test_integration_rioxarray.py::test_to_raster__scales__offsets[True] test/integration/test_integration_rioxarray.py::test_to_raster__scales__offsets[False] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/rioxarray/_io.py:672: UserWarning: Scales differ across bands. The 'scale_factor' attribute will not be added. See the 'scales' attribute. warnings.warn( test/integration/test_integration_rioxarray.py::test_to_raster__scales__offsets[True] test/integration/test_integration_rioxarray.py::test_to_raster__scales__offsets[False] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/rioxarray/_io.py:681: UserWarning: Offsets differ across bands. The 'add_offset' attribute will not be added. See the 'offsets' attribute. warnings.warn( test/integration/test_integration_rioxarray.py::test_to_raster__dataset__mask_and_scale[True-True] test/integration/test_integration_rioxarray.py::test_to_raster__dataset__mask_and_scale[None-True] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/integration/test_integration_rioxarray.py:1954: SerializationWarning: variable 'air_temperature' has _Unsigned attribute but is not of integer type. Ignoring attribute. with rioxarray.open_rasterio( test/integration/test_integration_rioxarray.py::test_nonstandard_dims_clip__dataset /usr/lib/python3/dist-packages/xarray/core/utils.py:645: RuntimeWarning: deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/test_find_crs.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='4942244e-499b-4a6e-b0b9-fad07a6e5426'), but file is not already closed. This may indicate a bug. self._d.update(dict.fromkeys(values)) test/integration/test_integration_rioxarray.py::test_nonstandard_dims_write_nodata__array /usr/lib/python3/dist-packages/xarray/core/indexes.py:1698: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='0129b751-b64b-4344-9d78-43348459bf3a'), but file is not already closed. This may indicate a bug. unmatched_keys = set(indexes) ^ set(variables) test/integration/test_integration_rioxarray.py::test_nonstandard_dims_write_nodata__array /usr/lib/python3/dist-packages/xarray/core/indexes.py:1698: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='891795c9-6a42-4e05-9c55-f399e497469e'), but file is not already closed. This may indicate a bug. unmatched_keys = set(indexes) ^ set(variables) test/integration/test_integration_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:371: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/cog.tif', mode='r', kwargs={'sharing': False}, manager_id='5b5e238b-26cf-49de-94de-85ed47c9c96f'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:371: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/cog.tif', mode='r', kwargs={'sharing': False}, manager_id='0dfdb88b-419f-4527-8e91-76cd5fe86e84'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:371: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/cog.tif', mode='r', kwargs={'sharing': False}, manager_id='8cb13c8b-02df-467d-a4a3-1e3a0dd3b792'), but file is not already closed. This may indicate a bug. def __init__( test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:sur_refl_b03_1', mode='r', kwargs={'sharing': False}, manager_id='d79b2fe6-9ee4-40c0-b1b6-90bed0d508ce'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects): test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:sur_refl_b04_1', mode='r', kwargs={'sharing': False}, manager_id='5a49853a-81ea-469c-8ba8-4adc9dc2d57a'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects): test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:sur_refl_b05_1', mode='r', kwargs={'sharing': False}, manager_id='29e883ba-cffe-4839-9fc4-a3a48b106016'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects): test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:sur_refl_b06_1', mode='r', kwargs={'sharing': False}, manager_id='315586a4-4111-4f75-933e-8fd284cb4581'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects):/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='2ee2de80-fdcf-4f28-a058-086f132e3904'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:SensorAzimuth_1', mode='r', kwargs={'sharing': False}, manager_id='a2a59009-c029-4e89-a053-776828f3b8be'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:Range_1', mode='r', kwargs={'sharing': False}, manager_id='9129f8f5-a12c-4cf6-ba57-1d599ed1f2d0'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:SolarZenith_1', mode='r', kwargs={'sharing': False}, manager_id='ef708627-0677-46ba-a0b4-7be68b322e57'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:SolarAzimuth_1', mode='r', kwargs={'sharing': False}, manager_id='e8687569-e485-4ef2-b37a-5ca6337fc8ab'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:gflags_1', mode='r', kwargs={'sharing': False}, manager_id='67544173-c722-4d49-b0fe-9593252faf22'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:orbit_pnt_1', mode='r', kwargs={'sharing': False}, manager_id='f63f5b37-4ab3-4b14-9d38-1f4f0aa05ac9'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:sur_refl_b02_1', mode='r', kwargs={'sharing': False}, manager_id='a5e73d91-0259-4a19-819c-722e68170312'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:sur_refl_b01_1', mode='r', kwargs={'sharing': False}, manager_id='32fb0d45-028b-440b-b552-d5297f9af114'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:num_observations_500m', mode='r', kwargs={'sharing': False}, manager_id='03a27618-f02b-4641-9e9d-7caa9faac353'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:SensorZenith_1', mode='r', kwargs={'sharing': False}, manager_id='d97b4895-2265-4a01-89a7-3d7bc4827b28'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:granule_pnt_1', mode='r', kwargs={'sharing': False}, manager_id='bd9578c9-cf99-4f90-a1e1-7f93cd345cdd'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:state_1km_1', mode='r', kwargs={'sharing': False}, manager_id='0a6f013c-05ad-49dc-a242-3ea4a280ef5d'), but file is not already closed. This may indicate a bug. gc.collect() /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_1km_2D:num_observations_1km', mode='r', kwargs={'sharing': False}, manager_id='751fd5b4-f666-4713-827e-8a65aa76b913'), but file is not already closed. This may indicate a bug. gc.collect() test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:sur_refl_b07_1', mode='r', kwargs={'sharing': False}, manager_id='f33b0a74-da92-41cb-a87b-1c58ae072230'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects): test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:QC_500m_1', mode='r', kwargs={'sharing': False}, manager_id='191421d7-5a19-4f8d-9ee8-adb06857123d'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects): test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:obscov_500m_1', mode='r', kwargs={'sharing': False}, manager_id='c92ca16a-9b38-44be-ac65-a312f9d50acd'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects): test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/structure/alignment.py:1000: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f7feb39bec0>, 'HDF4_EOS:EOS_GRID:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MOD09GA.A2008296.h14v17.006.2015181011753.hdf:MODIS_Grid_500m_2D:iobs_res_1', mode='r', kwargs={'sharing': False}, manager_id='bdf8681c-0c5d-41e9-9a38-070e5376aab8'), but file is not already closed. This may indicate a bug. for position, variables in enumerate(objects): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/integration/test_integration__io.py::test_indexing - IndexError: ... = 1 failed, 478 passed, 1 skipped, 12 deselected, 2 xfailed, 4 xpassed, 201 warnings in 9.95s = E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build; python3.13 -m pytest -k "not test_clip_geojson__no_drop and not test_rasterio_vrt_gcps and not test_reproject__gcps_kwargs and not test_reproject__gcps_file" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:17: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

