Source: xarray-datatree Version: 0.0.14-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240313 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > 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:129: Building wheel for python3.12 with "build" > module > I: pybuild base:305: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree > * Building wheel... > running bdist_wheel > running build > running build_py > creating build > creating build/lib > creating build/lib/datatree > copying datatree/__init__.py -> build/lib/datatree > copying datatree/datatree.py -> build/lib/datatree > copying datatree/common.py -> build/lib/datatree > copying datatree/_version.py -> build/lib/datatree > copying datatree/testing.py -> build/lib/datatree > copying datatree/render.py -> build/lib/datatree > copying datatree/io.py -> build/lib/datatree > copying datatree/formatting_html.py -> build/lib/datatree > copying datatree/treenode.py -> build/lib/datatree > copying datatree/mapping.py -> build/lib/datatree > copying datatree/ops.py -> build/lib/datatree > copying datatree/iterators.py -> build/lib/datatree > copying datatree/formatting.py -> build/lib/datatree > copying datatree/extensions.py -> build/lib/datatree > creating build/lib/datatree/tests > copying datatree/tests/test_mapping.py -> build/lib/datatree/tests > copying datatree/tests/__init__.py -> build/lib/datatree/tests > copying datatree/tests/test_formatting.py -> build/lib/datatree/tests > copying datatree/tests/test_formatting_html.py -> build/lib/datatree/tests > copying datatree/tests/test_io.py -> build/lib/datatree/tests > copying datatree/tests/test_datatree.py -> build/lib/datatree/tests > copying datatree/tests/test_extensions.py -> build/lib/datatree/tests > copying datatree/tests/test_dataset_api.py -> build/lib/datatree/tests > copying datatree/tests/conftest.py -> build/lib/datatree/tests > copying datatree/tests/test_version.py -> build/lib/datatree/tests > copying datatree/tests/test_treenode.py -> build/lib/datatree/tests > running egg_info > creating xarray_datatree.egg-info > writing xarray_datatree.egg-info/PKG-INFO > writing dependency_links to xarray_datatree.egg-info/dependency_links.txt > writing requirements to xarray_datatree.egg-info/requires.txt > writing top-level names to xarray_datatree.egg-info/top_level.txt > writing manifest file 'xarray_datatree.egg-info/SOURCES.txt' > reading manifest file 'xarray_datatree.egg-info/SOURCES.txt' > adding license file 'LICENSE' > writing manifest file 'xarray_datatree.egg-info/SOURCES.txt' > copying datatree/py.typed -> build/lib/datatree > installing to build/bdist.linux-x86_64/wheel > running install > running install_lib > creating build/bdist.linux-x86_64 > creating build/bdist.linux-x86_64/wheel > creating build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/__init__.py -> > build/bdist.linux-x86_64/wheel/datatree > creating build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_mapping.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/__init__.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_formatting.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_formatting_html.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_io.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_datatree.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_extensions.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_dataset_api.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/conftest.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_version.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_treenode.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/datatree.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/common.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/_version.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/testing.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/render.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/io.py -> build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/formatting_html.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/treenode.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/py.typed -> build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/mapping.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/ops.py -> build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/iterators.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/formatting.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/extensions.py -> > build/bdist.linux-x86_64/wheel/datatree > running install_egg_info > Copying xarray_datatree.egg-info to > build/bdist.linux-x86_64/wheel/xarray_datatree-0.0.14.egg-info > running install_scripts > creating build/bdist.linux-x86_64/wheel/xarray_datatree-0.0.14.dist-info/WHEEL > creating > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/.tmp-rqs6ezsl/xarray_datatree-0.0.14-py3-none-any.whl' > and adding 'build/bdist.linux-x86_64/wheel' to it > adding 'datatree/__init__.py' > adding 'datatree/_version.py' > adding 'datatree/common.py' > adding 'datatree/datatree.py' > adding 'datatree/extensions.py' > adding 'datatree/formatting.py' > adding 'datatree/formatting_html.py' > adding 'datatree/io.py' > adding 'datatree/iterators.py' > adding 'datatree/mapping.py' > adding 'datatree/ops.py' > adding 'datatree/py.typed' > adding 'datatree/render.py' > adding 'datatree/testing.py' > adding 'datatree/treenode.py' > adding 'datatree/tests/__init__.py' > adding 'datatree/tests/conftest.py' > adding 'datatree/tests/test_dataset_api.py' > adding 'datatree/tests/test_datatree.py' > adding 'datatree/tests/test_extensions.py' > adding 'datatree/tests/test_formatting.py' > adding 'datatree/tests/test_formatting_html.py' > adding 'datatree/tests/test_io.py' > adding 'datatree/tests/test_mapping.py' > adding 'datatree/tests/test_treenode.py' > adding 'datatree/tests/test_version.py' > adding 'xarray_datatree-0.0.14.dist-info/LICENSE' > adding 'xarray_datatree-0.0.14.dist-info/METADATA' > adding 'xarray_datatree-0.0.14.dist-info/WHEEL' > adding 'xarray_datatree-0.0.14.dist-info/top_level.txt' > adding 'xarray_datatree-0.0.14.dist-info/RECORD' > removing build/bdist.linux-x86_64/wheel > Successfully built xarray_datatree-0.0.14-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with > "installer" module > I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" > module > I: pybuild base:305: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree > * Building wheel... > running bdist_wheel > running build > running build_py > copying datatree/_version.py -> build/lib/datatree > creating build/lib/build > creating build/lib/build/lib > creating build/lib/build/lib/datatree > copying build/lib/datatree/__init__.py -> build/lib/build/lib/datatree > copying build/lib/datatree/datatree.py -> build/lib/build/lib/datatree > copying build/lib/datatree/common.py -> build/lib/build/lib/datatree > copying build/lib/datatree/_version.py -> build/lib/build/lib/datatree > copying build/lib/datatree/testing.py -> build/lib/build/lib/datatree > copying build/lib/datatree/render.py -> build/lib/build/lib/datatree > copying build/lib/datatree/io.py -> build/lib/build/lib/datatree > copying build/lib/datatree/formatting_html.py -> build/lib/build/lib/datatree > copying build/lib/datatree/treenode.py -> build/lib/build/lib/datatree > copying build/lib/datatree/mapping.py -> build/lib/build/lib/datatree > copying build/lib/datatree/ops.py -> build/lib/build/lib/datatree > copying build/lib/datatree/iterators.py -> build/lib/build/lib/datatree > copying build/lib/datatree/formatting.py -> build/lib/build/lib/datatree > copying build/lib/datatree/extensions.py -> build/lib/build/lib/datatree > creating build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_mapping.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/__init__.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_formatting.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_formatting_html.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_io.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_datatree.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_extensions.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_dataset_api.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/conftest.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_version.py -> > build/lib/build/lib/datatree/tests > copying build/lib/datatree/tests/test_treenode.py -> > build/lib/build/lib/datatree/tests > running egg_info > writing xarray_datatree.egg-info/PKG-INFO > writing dependency_links to xarray_datatree.egg-info/dependency_links.txt > writing requirements to xarray_datatree.egg-info/requires.txt > writing top-level names to xarray_datatree.egg-info/top_level.txt > reading manifest file 'xarray_datatree.egg-info/SOURCES.txt' > adding license file 'LICENSE' > writing manifest file 'xarray_datatree.egg-info/SOURCES.txt' > installing to build/bdist.linux-x86_64/wheel > running install > running install_lib > creating build/bdist.linux-x86_64/wheel > creating build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/__init__.py -> > build/bdist.linux-x86_64/wheel/datatree > creating build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_mapping.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/__init__.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_formatting.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_formatting_html.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_io.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_datatree.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_extensions.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_dataset_api.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/conftest.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_version.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/tests/test_treenode.py -> > build/bdist.linux-x86_64/wheel/datatree/tests > copying build/lib/datatree/datatree.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/common.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/_version.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/testing.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/render.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/io.py -> build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/formatting_html.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/treenode.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/py.typed -> build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/mapping.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/ops.py -> build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/iterators.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/formatting.py -> > build/bdist.linux-x86_64/wheel/datatree > copying build/lib/datatree/extensions.py -> > build/bdist.linux-x86_64/wheel/datatree > creating build/bdist.linux-x86_64/wheel/build > creating build/bdist.linux-x86_64/wheel/build/lib > creating build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/__init__.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > creating build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_mapping.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/__init__.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_formatting.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_formatting_html.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_io.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_datatree.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_extensions.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_dataset_api.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/conftest.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_version.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/tests/test_treenode.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree/tests > copying build/lib/build/lib/datatree/datatree.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/common.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/_version.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/testing.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/render.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/io.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/formatting_html.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/treenode.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/mapping.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/ops.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/iterators.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/formatting.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > copying build/lib/build/lib/datatree/extensions.py -> > build/bdist.linux-x86_64/wheel/build/lib/datatree > running install_egg_info > Copying xarray_datatree.egg-info to > build/bdist.linux-x86_64/wheel/xarray_datatree-0.0.14.egg-info > running install_scripts > creating build/bdist.linux-x86_64/wheel/xarray_datatree-0.0.14.dist-info/WHEEL > creating > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/.tmp-ubzfgbht/xarray_datatree-0.0.14-py3-none-any.whl' > and adding 'build/bdist.linux-x86_64/wheel' to it > adding 'build/lib/datatree/__init__.py' > adding 'build/lib/datatree/_version.py' > adding 'build/lib/datatree/common.py' > adding 'build/lib/datatree/datatree.py' > adding 'build/lib/datatree/extensions.py' > adding 'build/lib/datatree/formatting.py' > adding 'build/lib/datatree/formatting_html.py' > adding 'build/lib/datatree/io.py' > adding 'build/lib/datatree/iterators.py' > adding 'build/lib/datatree/mapping.py' > adding 'build/lib/datatree/ops.py' > adding 'build/lib/datatree/render.py' > adding 'build/lib/datatree/testing.py' > adding 'build/lib/datatree/treenode.py' > adding 'build/lib/datatree/tests/__init__.py' > adding 'build/lib/datatree/tests/conftest.py' > adding 'build/lib/datatree/tests/test_dataset_api.py' > adding 'build/lib/datatree/tests/test_datatree.py' > adding 'build/lib/datatree/tests/test_extensions.py' > adding 'build/lib/datatree/tests/test_formatting.py' > adding 'build/lib/datatree/tests/test_formatting_html.py' > adding 'build/lib/datatree/tests/test_io.py' > adding 'build/lib/datatree/tests/test_mapping.py' > adding 'build/lib/datatree/tests/test_treenode.py' > adding 'build/lib/datatree/tests/test_version.py' > adding 'datatree/__init__.py' > adding 'datatree/_version.py' > adding 'datatree/common.py' > adding 'datatree/datatree.py' > adding 'datatree/extensions.py' > adding 'datatree/formatting.py' > adding 'datatree/formatting_html.py' > adding 'datatree/io.py' > adding 'datatree/iterators.py' > adding 'datatree/mapping.py' > adding 'datatree/ops.py' > adding 'datatree/py.typed' > adding 'datatree/render.py' > adding 'datatree/testing.py' > adding 'datatree/treenode.py' > adding 'datatree/tests/__init__.py' > adding 'datatree/tests/conftest.py' > adding 'datatree/tests/test_dataset_api.py' > adding 'datatree/tests/test_datatree.py' > adding 'datatree/tests/test_extensions.py' > adding 'datatree/tests/test_formatting.py' > adding 'datatree/tests/test_formatting_html.py' > adding 'datatree/tests/test_io.py' > adding 'datatree/tests/test_mapping.py' > adding 'datatree/tests/test_treenode.py' > adding 'datatree/tests/test_version.py' > adding 'xarray_datatree-0.0.14.dist-info/LICENSE' > adding 'xarray_datatree-0.0.14.dist-info/METADATA' > adding 'xarray_datatree-0.0.14.dist-info/WHEEL' > adding 'xarray_datatree-0.0.14.dist-info/top_level.txt' > adding 'xarray_datatree-0.0.14.dist-info/RECORD' > removing build/bdist.linux-x86_64/wheel > Successfully built xarray_datatree-0.0.14-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:305: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build; python3.12 -m pytest > --pyargs datatree > ============================= test session starts > ============================== > platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build > collected 165 items > > datatree/tests/test_dataset_api.py ........ [ > 4%] > datatree/tests/test_datatree.py .......................xx.......x......x [ > 29%] > xx.............x............... [ > 47%] > datatree/tests/test_extensions.py . [ > 48%] > datatree/tests/test_formatting.py ........F [ > 53%] > datatree/tests/test_formatting_html.py ....... [ > 58%] > datatree/tests/test_io.py ........ [ > 63%] > datatree/tests/test_mapping.py ...................x..x....x..x [ > 81%] > datatree/tests/test_treenode.py ............................. [ > 99%] > datatree/tests/test_version.py . > [100%] > > =================================== FAILURES > =================================== > ____________________ TestDiffFormatting.test_diff_node_data > ____________________ > > self = <datatree.tests.test_formatting.TestDiffFormatting object at > 0x7f737fd1ca70> > > def test_diff_node_data(self): > import numpy as np > > # casting to int64 explicitly ensures that int64s are created on all > architectures > ds1 = Dataset({"u": np.int64(0), "v": np.int64(1)}) > ds3 = Dataset({"w": np.int64(5)}) > dt_1 = DataTree.from_dict({"a": ds1, "a/b": ds3}) > ds2 = Dataset({"u": np.int64(0)}) > ds4 = Dataset({"w": np.int64(6)}) > dt_2 = DataTree.from_dict({"a": ds2, "a/b": ds4}) > > expected = dedent( > """\ > Left and right DataTree objects are not equal > > > Data in nodes at position '/a' do not match: > > Data variables only on the left object: > v int64 1 > > Data in nodes at position '/a/b' do not match: > > Differing data variables: > L w int64 5 > R w int64 6""" > ) > actual = diff_tree_repr(dt_1, dt_2, "equals") > > assert actual == expected > E AssertionError: assert 'Left and rig... int64 8B 6' == 'Left and > rig... int64 6' > E > E Skipping 143 identical leading characters in diff, use -v to show > E - int64 1 > E + int64 8B 1 > E ? +++ > E > E Data in nodes at position '/a/b' do not match:... > E > E ...Full output truncated (8 lines hidden), use '-vv' to show > > datatree/tests/test_formatting.py:120: AssertionError > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37 > /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: > datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal > in a future version. Use timezone-aware objects to represent datetimes in > UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). > EPOCH = datetime.datetime.utcfromtimestamp(0) > > ../../../../../../usr/lib/python3/dist-packages/xarray/tests/__init__.py:170 > /usr/lib/python3/dist-packages/xarray/tests/__init__.py:170: > PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You > can register custom marks to avoid this warning - for details, see > https://docs.pytest.org/en/stable/how-to/mark.html > flaky = pytest.mark.flaky > > ../../../../../../usr/lib/python3/dist-packages/xarray/tests/__init__.py:171 > /usr/lib/python3/dist-packages/xarray/tests/__init__.py:171: > PytestUnknownMarkWarning: Unknown pytest.mark.network - is this a typo? You > can register custom marks to avoid this warning - for details, see > https://docs.pytest.org/en/stable/how-to/mark.html > network = pytest.mark.network > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='eeb05666-93c5-4680-8001-3a7ba0bfc6ad'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='aa9ef8d5-dc55-40cb-ae4c-04d03c95ecf7'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='2878e401-17f8-4d04-9ded-5229e3f07885'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:58: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='83a72803-b95b-4448-bf73-69dfa2ed92c7'), but file is > not already closed. This may indicate a bug. > return _open_datatree_netcdf(filename_or_obj, engine=engine, **kwargs) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='7fd85b49-1fd8-4688-afa7-d9da3fca9eb1'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='280c5d52-2ea3-4ce7-a880-05bf3295ac42'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='bf06cd1c-e1bd-47ec-b663-be4c0884189d'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='041a1e8a-2c7b-40bb-bcb3-2b3a1f768abc'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='8fcddbc6-0ddf-4bf0-99d8-0bce25306caf'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:58: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='47be72c3-8abb-41fc-b185-8a32852e1b9e'), but file is > not already closed. This may indicate a bug. > return _open_datatree_netcdf(filename_or_obj, engine=engine, **kwargs) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='943012f4-e1da-47a3-82f7-4ab0b1cb86b5'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='bce29f3f-2212-469a-9a4c-d018ace670b2'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='ef7dbd13-5dc8-47ba-939a-e92c75422eb3'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/io.py:58: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='eae7e33d-762e-4bfd-9d00-c19f5cb7d589'), but file is > not already closed. This may indicate a bug. > return _open_datatree_netcdf(filename_or_obj, engine=engine, **kwargs) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='15fd3ff6-125b-4430-a0ee-0c01df635ac5'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='91176f41-8245-4b79-b1d8-fb2560fd84e7'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/zarr/hierarchy.py:674: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='0f847e30-f2a0-46c7-af18-746506cd41af'), but file is > not already closed. This may indicate a bug. > elif recurse and contains_group(self._store, path): > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/zarr/hierarchy.py:674: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='cb67ba10-764b-4e5d-ace5-935966421e46'), but file is > not already closed. This may indicate a bug. > elif recurse and contains_group(self._store, path): > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/zarr/hierarchy.py:674: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='ae999663-03eb-4b55-b34c-b9c30821a9ff'), but file is > not already closed. This may indicate a bug. > elif recurse and contains_group(self._store, path): > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/zarr/hierarchy.py:674: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='c8205b8b-b74c-4dfd-8da1-1a4431df9208'), but file is > not already closed. This may indicate a bug. > elif recurse and contains_group(self._store, path): > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/zarr/hierarchy.py:674: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-12/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='7ee26ebf-84c7-4bf9-9f0e-5cf3e576f6e4'), but file is > not already closed. This may indicate a bug. > elif recurse and contains_group(self._store, path): > > datatree/tests/test_treenode.py::TestFamilyTree::test_ancestors > datatree/tests/test_treenode.py::TestAncestry::test_ancestors > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/treenode.py:279: > DeprecationWarning: `ancestors` has been deprecated, and in the future will > raise an error.Please use `parents`. Example: `tuple(reversed(node.parents))` > warn( > > datatree/tests/test_treenode.py::TestAncestry::test_lineage > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/treenode.py:261: > DeprecationWarning: `lineage` has been deprecated, and in the future will > raise an error.Please use `parents` from now on. > warn( > > datatree/tests/test_treenode.py::TestAncestry::test_lineage > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build/datatree/treenode.py:249: > DeprecationWarning: `iter_lineage` has been deprecated, and in the future > will raise an error.Please use `parents` from now on. > warn( > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED > datatree/tests/test_formatting.py::TestDiffFormatting::test_diff_node_data > ============ 1 failed, 153 passed, 11 xfailed, 28 warnings in 2.01s > ============ > E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_datatree/build; python3.12 -m pytest > --pyargs datatree > I: pybuild base:305: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build; python3.11 -m pytest > --pyargs datatree > ============================= test session starts > ============================== > platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build > collected 165 items > > datatree/tests/test_dataset_api.py ........ [ > 4%] > datatree/tests/test_datatree.py .......................xx.......x......x [ > 29%] > xx.............x............... [ > 47%] > datatree/tests/test_extensions.py . [ > 48%] > datatree/tests/test_formatting.py ........F [ > 53%] > datatree/tests/test_formatting_html.py ....... [ > 58%] > datatree/tests/test_io.py ........ [ > 63%] > datatree/tests/test_mapping.py ...................x..x....x..x [ > 81%] > datatree/tests/test_treenode.py ............................. [ > 99%] > datatree/tests/test_version.py . > [100%] > > =================================== FAILURES > =================================== > ____________________ TestDiffFormatting.test_diff_node_data > ____________________ > > self = <datatree.tests.test_formatting.TestDiffFormatting object at > 0x7fefe52e3750> > > def test_diff_node_data(self): > import numpy as np > > # casting to int64 explicitly ensures that int64s are created on all > architectures > ds1 = Dataset({"u": np.int64(0), "v": np.int64(1)}) > ds3 = Dataset({"w": np.int64(5)}) > dt_1 = DataTree.from_dict({"a": ds1, "a/b": ds3}) > ds2 = Dataset({"u": np.int64(0)}) > ds4 = Dataset({"w": np.int64(6)}) > dt_2 = DataTree.from_dict({"a": ds2, "a/b": ds4}) > > expected = dedent( > """\ > Left and right DataTree objects are not equal > > > Data in nodes at position '/a' do not match: > > Data variables only on the left object: > v int64 1 > > Data in nodes at position '/a/b' do not match: > > Differing data variables: > L w int64 5 > R w int64 6""" > ) > actual = diff_tree_repr(dt_1, dt_2, "equals") > > assert actual == expected > E AssertionError: assert 'Left and rig... int64 8B 6' == 'Left and > rig... int64 6' > E > E Skipping 143 identical leading characters in diff, use -v to show > E - int64 1 > E + int64 8B 1 > E ? +++ > E > E Data in nodes at position '/a/b' do not match:... > E > E ...Full output truncated (8 lines hidden), use '-vv' to show > > datatree/tests/test_formatting.py:120: AssertionError > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/xarray/tests/__init__.py:170 > /usr/lib/python3/dist-packages/xarray/tests/__init__.py:170: > PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You > can register custom marks to avoid this warning - for details, see > https://docs.pytest.org/en/stable/how-to/mark.html > flaky = pytest.mark.flaky > > ../../../../../../usr/lib/python3/dist-packages/xarray/tests/__init__.py:171 > /usr/lib/python3/dist-packages/xarray/tests/__init__.py:171: > PytestUnknownMarkWarning: Unknown pytest.mark.network - is this a typo? You > can register custom marks to avoid this warning - for details, see > https://docs.pytest.org/en/stable/how-to/mark.html > network = pytest.mark.network > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='c3f75c89-f459-4ed2-bd48-af5c24b39dcc'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='0f37ec45-cb90-4ce7-89e6-6eeb32d73646'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='6f2bf8e7-8ab9-4cfe-b450-204bb71ef383'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:58: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='63a2cde0-6c6e-4b55-9041-c40d751e7b15'), but file is > not already closed. This may indicate a bug. > return _open_datatree_netcdf(filename_or_obj, engine=engine, **kwargs) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='1b210e0c-5ce5-4ba3-93a0-172a7c4c4d82'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_to_netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='1754e3bd-08cd-47e5-b08c-0776bb3aaeb7'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='2123d030-10dc-43f8-a055-956cb6126b8f'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='115eb06f-41d7-4808-bb89-ed0d0035055b'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='dbe7164e-a1af-4f7d-8483-8fbbb4e11f49'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_netcdf_encoding > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:58: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='5fcb44bf-1a64-4497-b45b-8028cb50de96'), but file is > not already closed. This may indicate a bug. > return _open_datatree_netcdf(filename_or_obj, engine=engine, **kwargs) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='211a0d3c-e0c5-46d6-8347-4725735c518e'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='72ebacc1-74d5-4d38-bcb3-461052d03962'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:74: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='b086a569-383a-4610-9778-ff1352573433'), but file is > not already closed. This may indicate a bug. > new_node: DataTree = DataTree(name=node_name, data=subgroup_ds) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/io.py:58: > RuntimeWarning: deallocating CachingFileManager(<class > 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='c3edebae-300c-4be7-9f82-4b02da0ad038'), but file is > not already closed. This may indicate a bug. > return _open_datatree_netcdf(filename_or_obj, engine=engine, **kwargs) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='a8f0239e-a450-44d1-b5e6-274f334b95d3'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_to_h5netcdf > /usr/lib/python3/dist-packages/xarray/core/indexing.py:690: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='7e0eff14-e9bc-4916-9ccc-70ad835f0a00'), but file is > not already closed. This may indicate a bug. > self.array = as_indexable(self.array.get_duck_array()) > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/xarray/core/indexes.py:1447: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='b3f0e691-00d0-4a54-af3b-5acbf09de914'), but file is > not already closed. This may indicate a bug. > unmatched_keys = set(indexes) ^ set(variables) > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/xarray/core/indexes.py:1447: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='12fae363-489c-45e1-8b8a-ab48eb001542'), but file is > not already closed. This may indicate a bug. > unmatched_keys = set(indexes) ^ set(variables) > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/xarray/core/indexes.py:1447: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='8fc2ebed-842c-434e-b29a-51f982719d80'), but file is > not already closed. This may indicate a bug. > unmatched_keys = set(indexes) ^ set(variables) > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/xarray/core/indexes.py:1447: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_netcdf_encoding0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='10c251d6-eb3e-4c88-8b80-ca6d834ebfd6'), but file is > not already closed. This may indicate a bug. > unmatched_keys = set(indexes) ^ set(variables) > > datatree/tests/test_io.py::TestIO::test_to_zarr_zip_store > /usr/lib/python3/dist-packages/xarray/core/indexes.py:1447: RuntimeWarning: > deallocating CachingFileManager(<class 'netCDF4._netCDF4.Dataset'>, > '/tmp/pytest-of-user42/pytest-13/test_to_h5netcdf0/test.nc', mode='r', > kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': > 'NETCDF4'}, manager_id='f8f704dc-464f-43e5-8774-2db6f800ae8e'), but file is > not already closed. This may indicate a bug. > unmatched_keys = set(indexes) ^ set(variables) > > datatree/tests/test_treenode.py::TestFamilyTree::test_ancestors > datatree/tests/test_treenode.py::TestAncestry::test_ancestors > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/treenode.py:279: > DeprecationWarning: `ancestors` has been deprecated, and in the future will > raise an error.Please use `parents`. Example: `tuple(reversed(node.parents))` > warn( > > datatree/tests/test_treenode.py::TestAncestry::test_lineage > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/treenode.py:261: > DeprecationWarning: `lineage` has been deprecated, and in the future will > raise an error.Please use `parents` from now on. > warn( > > datatree/tests/test_treenode.py::TestAncestry::test_lineage > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build/datatree/treenode.py:249: > DeprecationWarning: `iter_lineage` has been deprecated, and in the future > will raise an error.Please use `parents` from now on. > warn( > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED > datatree/tests/test_formatting.py::TestDiffFormatting::test_diff_node_data > ============ 1 failed, 153 passed, 11 xfailed, 27 warnings in 2.29s > ============ > E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_datatree/build; python3.11 -m pytest > --pyargs datatree > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2024/03/13/xarray-datatree_0.0.14-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.