Package: src:python-rioxarray Version: 0.22.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/202603/ 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:142: Building wheel for python3.14 with "build" module I: pybuild base:385: 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 ...] test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method3] /usr/lib/python3/dist-packages/dask/order.py:81: 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='7033cb03-100d-420d-a383-b92ef273ff53'), but file is not already closed. This may indicate a bug. def order( test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method3] /usr/lib/python3/dist-packages/dask/order.py:81: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='1b3cd0bf-4431-4e67-9899-ea26f3bb92a7'), but file is not already closed. This may indicate a bug. def order( test/integration/test_integration_rioxarray.py::test_to_raster[None-False-False-False-open_method3] /usr/lib/python3/dist-packages/dask/order.py:81: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='92a03723-0a15-41e1-b19b-0ce8753e6a1e'), but file is not already closed. This may indicate a bug. def order( test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method2] /usr/lib/python3/dist-packages/dask/_task_spec.py:656: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='4f46b2a2-9097-435e-95bb-71bc24fed352'), but file is not already closed. This may indicate a bug. if isinstance(a, GraphNode): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method2] /usr/lib/python3/dist-packages/dask/_task_spec.py:656: 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='aa37ad8d-ca13-417b-8816-a3d3b21602a0'), but file is not already closed. This may indicate a bug. if isinstance(a, GraphNode): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method2] /usr/lib/python3/dist-packages/dask/_task_spec.py:656: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='b7ee1c94-346c-445e-a6c1-4692ccaf9f03'), but file is not already closed. This may indicate a bug. if isinstance(a, GraphNode): test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-True-True-open_method4] /usr/lib/python3/dist-packages/xarray/core/indexes.py:2145: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='0526ea3b-39eb-4509-8e64-94770f08aac7'), but file is not already closed. This may indicate a bug. new_indexes.update(dict.fromkeys(index_vars, new_index)) test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-False-False-open_method3] <frozen _collections_abc>:897: 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='ed554af2-d0f1-414e-994c-b2e5dec7c72f'), but file is not already closed. This may indicate a bug. test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-False-False-open_method3] <frozen _collections_abc>:897: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='0014e1d3-9ef6-47da-96f8-349035299e2f'), but file is not already closed. This may indicate a bug. test/integration/test_integration_rioxarray.py::test_to_raster[write_lock1-False-False-False-open_method3] <frozen _collections_abc>:897: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='d8f92427-674a-4147-ae13-ed1b2841e30c'), but file is not already closed. This may indicate a bug. test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method2] /usr/lib/python3/dist-packages/dask/order.py:699: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='4a62a86b-6ea3-4c15-80b1-014c455388a7'), but file is not already closed. This may indicate a bug. result[r] = empty_set test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method2] /usr/lib/python3/dist-packages/dask/order.py:699: 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='1505daa9-beca-4bf7-9f94-d92cca14cefe'), but file is not already closed. This may indicate a bug. result[r] = empty_set test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-True-True-open_method2] /usr/lib/python3/dist-packages/dask/order.py:699: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='c4fd7986-2d29-49e0-a13c-b833037826f3'), but file is not already closed. This may indicate a bug. result[r] = empty_set test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-False-False-open_method1] /usr/lib/python3/dist-packages/xarray/core/indexes.py:1915: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='e08e25bb-75f1-4479-ac54-845c9ec0668a'), but file is not already closed. This may indicate a bug. return iter(self._indexes) test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-False-False-open_method1] /usr/lib/python3/dist-packages/xarray/core/indexes.py:1915: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='5efd8764-61e5-4ce6-b1e2-31696d98dbdb'), but file is not already closed. This may indicate a bug. return iter(self._indexes) test/integration/test_integration_rioxarray.py::test_to_raster[write_lock2-True-False-False-open_method1] /usr/lib/python3/dist-packages/xarray/core/indexes.py:1915: 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='54d2d739-fd25-4cde-aa7c-763f0e3a00ec'), but file is not already closed. This may indicate a bug. return iter(self._indexes) test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-True-open_method0] /usr/lib/python3.13/copy.py:246: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='ab16e415-7d2f-4ab8-86b9-87bebaeae64b'), but file is not already closed. This may indicate a bug. memo[id(memo)]=[x] test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-True-open_method0] /usr/lib/python3.13/copy.py:246: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='dfb01c45-fa25-415d-984b-392648afa576'), but file is not already closed. This may indicate a bug. memo[id(memo)]=[x] test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-True-open_method0] /usr/lib/python3.13/copy.py:246: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='6cebbc4b-b10b-4326-b258-fafafc229e47'), but file is not already closed. This may indicate a bug. memo[id(memo)]=[x] test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-True-open_method3] /usr/lib/python3/dist-packages/pandas/core/dtypes/common.py:1600: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='24f90f82-c1a4-4f74-a9f9-d7ae1d83f717'), but file is not already closed. This may indicate a bug. if not all(is_hashable(arg) for arg in args): test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-False-open_method1] <frozen _collections_abc>:873: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='0dc27dda-3b05-4ba5-8e2e-3f63a7cc4c4e'), but file is not already closed. This may indicate a bug. test/integration/test_integration_rioxarray.py::test_to_raster_3d[None-False-False-open_method3] /usr/lib/python3/dist-packages/dask/_task_spec.py:647: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='93f02d95-c934-41ea-8728-ab98604366f7'), but file is not already closed. This may indicate a bug. self.args = tuple( test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='f638f463-86c9-44e4-bb68-d9dea8f64ecc'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='76404b8a-702d-4097-9c82-b40fcd7517d0'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='5c569547-e194-42b7-bb8a-56ca054083f8'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='e461f7ae-27b9-4e46-aab5-b71f67bf9969'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='dd18f74d-c042-4969-bdba-453111e80d5b'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='63a5e83d-272f-4867-b791-0ad0bc48427e'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='86c350d4-84a6-4a44-9c47-a896f2c86e04'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='bb142dfd-da29-4d36-99a2-a1f9e8e83c44'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock1-False-True-open_method4] /usr/lib/python3.13/copy.py:253: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='0cb44af4-f951-4a5e-84b5-aafa23b1f3a4'), but file is not already closed. This may indicate a bug. args = (deepcopy(arg, memo) for arg in args) test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock2-True-True-open_method0] /usr/lib/python3/dist-packages/xarray/structure/alignment.py:439: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='b5f959ef-f535-47db-b62f-723b8a222017'), but file is not already closed. This may indicate a bug. zip( test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock2-True-True-open_method3] /usr/lib/python3/dist-packages/pandas/core/dtypes/common.py:1600: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='a222f51e-4ba1-442f-a505-efeb8fc414fb'), but file is not already closed. This may indicate a bug. if not all(is_hashable(arg) for arg in args): test/integration/test_integration_rioxarray.py::test_to_raster_3d[write_lock2-True-False-open_method3] /usr/lib/python3/dist-packages/dask/order.py:81: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='e673c529-cac4-4e70-9ca2-884a76d0c87f'), but file is not already closed. This may indicate a bug. def order( 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:1881: 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:674: 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:683: 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:1975: 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_write_nodata__array__inplace /usr/lib/python3/dist-packages/pandas/core/indexes/base.py:1773: 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='4ed09b86-f847-47c2-96cd-599239b33565'), but file is not already closed. This may indicate a bug. return FrozenList((self.name,)) test/integration/test_integration_rioxarray.py::test_nonstandard_dims_find_dims /usr/lib/python3/dist-packages/xarray/structure/alignment.py:594: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='5b2a0f6b-bef9-4f0e-ba9a-594b13d8d9e2'), but file is not already closed. This may indicate a bug. dims = {d for var in aligned_idx_vars.values() for d in var.dims} test/integration/test_integration_rioxarray.py::test_nonstandard_dims_find_dims /usr/lib/python3/dist-packages/xarray/structure/alignment.py:594: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='2ccfa98a-7490-4eb0-833b-682942933d6e'), but file is not already closed. This may indicate a bug. dims = {d for var in aligned_idx_vars.values() for d in var.dims} test/integration/test_integration_rioxarray.py::test_nonstandard_dims_find_dims /usr/lib/python3/dist-packages/xarray/structure/alignment.py:594: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, 'netcdf:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/PLANET_SCOPE_3D.nc:green', mode='r', kwargs={'sharing': False}, manager_id='4f15202a-de95-4b77-a4bd-f3e68f00efe6'), but file is not already closed. This may indicate a bug. dims = {d for var in aligned_idx_vars.values() for d in var.dims} test/integration/test_integration_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/cog.tif', mode='r', kwargs={'sharing': False}, manager_id='2fc6afe5-46c7-4f36-bb57-f24c95a07860'), 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_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/test_rpcs.tif', mode='r', kwargs={'sharing': False}, manager_id='ee29bb04-7e92-42cf-85f8-f5ce6f84b9ca'), 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_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/cog.tif', mode='r', kwargs={'sharing': False}, manager_id='6745540e-be0b-4a9b-a9fd-0aaf25dec447'), 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_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/cog.tif', mode='r', kwargs={'sharing': False}, manager_id='3c46f87e-79f5-4f06-ac5c-3955fd9258bb'), 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_xarray_plugin.py::test_xarray_open_dataset__drop_variables /usr/lib/python3/dist-packages/xarray/core/variable.py:3134: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/cog.tif', mode='r', kwargs={'sharing': False}, manager_id='28909aef-6a8b-451e-995e-db136bbb32c3'), 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_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='a29f5d42-ea4f-4e8a-b13e-ab1053e4b81b'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='79461677-6846-4508-94fb-8736a3a764d7'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='5b4ed15f-48ea-4f96-886d-4c799d5652f3'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='cff7d9c8-cd3f-40f0-9500-c7b1857103b2'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='9e8d644f-03d9-4530-b0a9-a6f289d5614c'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='7639a441-969d-4715-a894-3093a438ffaf'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='3a9a15fa-bb2b-4878-8d31-0aaee0c060a8'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='5406e9ac-a6a1-4685-a202-9e9ba3956abe'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) test/integration/test_integration_xarray_plugin.py::test_open_multiple_resolution /usr/lib/python3/dist-packages/xarray/core/indexes.py:1747: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '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='7e384659-99df-4fdf-95cd-2a354e8e1288'), but file is not already closed. This may indicate a bug. id_coord_names[v].append(k) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/integration/test_integration_rioxarray.py::test_clip_box__auto_expand[open_rasterio] FAILED test/integration/test_integration_rioxarray.py::test_clip_box__auto_expand[modis_clip3] FAILED test/integration/test_integration_rioxarray.py::test_clip_box__auto_expand[modis_clip4] FAILED test/integration/test_integration_rioxarray.py::test_reproject[modis_reproject2] FAILED test/integration/test_integration_rioxarray.py::test_reproject__grid_mapping[modis_reproject2] FAILED test/integration/test_integration_rioxarray.py::test_reproject__masked[modis_reproject2] FAILED test/integration/test_integration_rioxarray.py::test_reproject__str_resample[modis_reproject2] FAILED test/integration/test_integration_rioxarray.py::test_reproject__no_transform[modis_reproject2] FAILED test/integration/test_integration_rioxarray.py::test_reproject__no_nodata[modis_reproject2-None]/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:33: RuntimeWarning: deallocating CachingFileManager(<function open at 0x7f54bc0ab9c0>, '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rioxarray/build/test/test_data/input/MODIS_ARRAY.nc', mode='r', kwargs={'sharing': False}, manager_id='74fa7a52-1b8b-47da-8ad0-7ce69be26a74'), 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 0x7f54bc0ab9c0>, '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='c36a7bc5-1b70-44a4-80c0-611e35cac78f'), 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 0x7f54bc0ab9c0>, '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='da06c23b-a396-452d-8255-b86efd9a7cb2'), 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 0x7f54bc0ab9c0>, '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='1db1226f-29f5-4cce-ab22-dd443586c4fe'), 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 0x7f54bc0ab9c0>, '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='d33dd879-ba07-4618-ac84-acc647869ae4'), 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 0x7f54bc0ab9c0>, '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='93b9bf18-6f3c-4fcd-8aa5-2150768cbba3'), 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 0x7f54bc0ab9c0>, '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='40c60337-78cb-4af6-9ace-a13705f1e0b5'), 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 0x7f54bc0ab9c0>, '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='e8ec2523-cb6c-42e9-a812-0cae3b9f8f37'), 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 0x7f54bc0ab9c0>, '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='dba1dddc-56bb-4132-89db-0fe32d6c40e1'), 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 0x7f54bc0ab9c0>, '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='25a62062-c38b-4a23-a041-2273d36a3a02'), 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 0x7f54bc0ab9c0>, '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='2cec7fbf-ee1a-473a-b042-49e5968f26d0'), 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 0x7f54bc0ab9c0>, '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='436dd9a6-50ae-4dc6-bdb1-078774652c54'), 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 0x7f54bc0ab9c0>, '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='e3eaddc4-36c4-4470-96ca-cbbabff78990'), but file is not already closed. This may indicate a bug. gc.collect() FAILED test/integration/test_integration_rioxarray.py::test_reproject__no_nodata[modis_reproject2--9999] FAILED test/integration/test_integration_rioxarray.py::test_reproject__no_nodata_masked[modis_reproject2] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match[open_rasterio] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match[modis_reproject_match3] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match[modis_reproject_match4] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__masked[open_rasterio] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__masked[modis_reproject_match3] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__masked[modis_reproject_match4] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__no_transform_nodata[open_rasterio] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__no_transform_nodata[modis_reproject_match_coords3] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__pass_nodata[open_rasterio] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__pass_nodata[modis_reproject_match__passed_nodata3] FAILED test/integration/test_integration_rioxarray.py::test_reproject_match__pass_nodata[modis_reproject_match__passed_nodata4] = 22 failed, 512 passed, 4 skipped, 8 deselected, 2 xfailed, 4 xpassed, 173 warnings in 12.18s = E: pybuild pybuild:485: 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" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:13: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

