running pytest /usr/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( Searching for cachetools Reading https://pypi.org/simple/cachetools/ /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release warnings.warn( Downloading https://files.pythonhosted.org/packages/19/99/ace1769546388976b45e93445bb04c6df95e96363f03fbb56f916da5ebde/cachetools-5.0.0-py3-none-any.whl#sha256=8fecd4203a38af17928be7b90689d8083603073622229ca7077b72d8e5a976e4 Best match: cachetools 5.0.0 Processing cachetools-5.0.0-py3-none-any.whl Installing cachetools-5.0.0-py3-none-any.whl to /build/python-uproot/src/uproot3-3.14.4/.eggs Installed /build/python-uproot/src/uproot3-3.14.4/.eggs/cachetools-5.0.0-py3.10.egg Searching for uproot3-methods Reading https://pypi.org/simple/uproot3-methods/ /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: methods-0.10.0 is an invalid version and will not be supported in a future release warnings.warn( /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: methods-0.10.1 is an invalid version and will not be supported in a future release warnings.warn( Downloading https://files.pythonhosted.org/packages/3f/57/598207abeb64bf3e0af3fdc19217e56936b6bebabaac6ee270fb151790ce/uproot3_methods-0.10.1-py3-none-any.whl#sha256=10e4be8dbcabdf3efb5cce185b0b8ede2ed8390e875750649c6f1c277c26d28c Best match: uproot3-methods 0.10.1 Processing uproot3_methods-0.10.1-py3-none-any.whl Installing uproot3_methods-0.10.1-py3-none-any.whl to /build/python-uproot/src/uproot3-3.14.4/.eggs Installed /build/python-uproot/src/uproot3-3.14.4/.eggs/uproot3_methods-0.10.1-py3.10.egg Searching for awkward0 Reading https://pypi.org/simple/awkward0/ /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.15.3.linux-x86-64 is an invalid version and will not be supported in a future release warnings.warn( /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: x86-64 is an invalid version and will not be supported in a future release warnings.warn( Downloading https://files.pythonhosted.org/packages/9a/b3/376b258ea021eed2c9bdaa1011e0f7b25365157de472d9fae8a2443d9ff5/awkward0-0.15.5-py3-none-any.whl#sha256=5fdaa3b29ea2426665215478b9b9199e991da5ab1f1f2996dcbfe848e08a40a1 Best match: awkward0 0.15.5 Processing awkward0-0.15.5-py3-none-any.whl Installing awkward0-0.15.5-py3-none-any.whl to /build/python-uproot/src/uproot3-3.14.4/.eggs Installed /build/python-uproot/src/uproot3-3.14.4/.eggs/awkward0-0.15.5-py3.10.egg running egg_info creating uproot3.egg-info writing uproot3.egg-info/PKG-INFO writing dependency_links to uproot3.egg-info/dependency_links.txt writing requirements to uproot3.egg-info/requires.txt writing top-level names to uproot3.egg-info/top_level.txt writing manifest file 'uproot3.egg-info/SOURCES.txt' reading manifest file 'uproot3.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'uproot3.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-uproot/src/uproot3-3.14.4 collected 103 items / 3 skipped / 100 selected tests/test_cache.py .... [ 3%] tests/test_http.py ..... [ 8%] tests/test_issues.py .....................s.s...............s.... [ 51%] tests/test_jagged.py ... [ 54%] tests/test_rntuple.py . [ 55%] tests/test_stlvector.py ........ [ 63%] tests/test_tree.py ................................ssssF. [100%] =================================== FAILURES =================================== ______________________________ Test.test_leaflist ______________________________ self = def _prepare(self): if self._uncompressed is None: cursor = self._cursor.copied() start = cursor.index filled = 0 numblocks = 0 while cursor.index - start < self._compressedbytes: # https://github.com/root-project/root/blob/master/core/zip/src/RZip.cxx#L217 # https://github.com/root-project/root/blob/master/core/lzma/src/ZipLZMA.c#L81 # https://github.com/root-project/root/blob/master/core/lz4/src/ZipLZ4.cxx#L38 algo, method, c1, c2, c3, u1, u2, u3 = header = cursor.fields(self._compressed, self._header) compressedbytes = c1 + (c2 << 8) + (c3 << 16) uncompressedbytes = u1 + (u2 << 8) + (u3 << 16) if algo == b"ZL": compression = self.compression.copy(uproot3.const.kZLIB) elif algo == b"XZ": compression = self.compression.copy(uproot3.const.kLZMA) elif algo == b"L4": try: > import xxhash E ModuleNotFoundError: No module named 'xxhash' uproot3/source/compressed.py:142: ModuleNotFoundError During handling of the above exception, another exception occurred: self = def test_leaflist(self): tree = uproot3.open("tests/samples/leaflist.root")["tree"] a = tree.array("leaflist") assert a["x"].tolist() == [1.1, 2.2, 3.3, 4.0, 5.5] # yeah, I goofed up when making it assert a["y"].tolist() == [1, 2, 3, 4, 5] assert a["z"].tolist() == [ord("a"), ord("b"), ord("c"), ord("d"), ord("e")] pytest.importorskip("pandas") assert tree.pandas.df()["leaflist.x"].tolist() == [1.1, 2.2, 3.3, 4.0, 5.5] > tree = uproot3.open("tests/samples/HZZ-objects.root")["events"] tests/test_tree.py:664: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ uproot3/rootio.py:55: in open return ROOTDirectory.read(openfcn(path), **options) uproot3/rootio.py:155: in read streamerinfos, streamerinfosmap, streamerrules = _readstreamers(streamerkey._source, streamerkey._cursor, streamercontext, None) uproot3/rootio.py:582: in _readstreamers tlist = TList.read(source, cursor, context, parent) uproot3/rootio.py:989: in read out = cls._readinto(out, source, cursor, context, parent) uproot3/rootio.py:1493: in _readinto start, cnt, self._classversion = _startcheck(source, cursor) uproot3/rootio.py:441: in _startcheck cnt, vers = cursor.fields(source, _startcheck._format_cntvers) uproot3/source/cursor.py:48: in fields return format.unpack(source.data(start, stop)) uproot3/source/compressed.py:186: in data self._prepare() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _prepare(self): if self._uncompressed is None: cursor = self._cursor.copied() start = cursor.index filled = 0 numblocks = 0 while cursor.index - start < self._compressedbytes: # https://github.com/root-project/root/blob/master/core/zip/src/RZip.cxx#L217 # https://github.com/root-project/root/blob/master/core/lzma/src/ZipLZMA.c#L81 # https://github.com/root-project/root/blob/master/core/lz4/src/ZipLZ4.cxx#L38 algo, method, c1, c2, c3, u1, u2, u3 = header = cursor.fields(self._compressed, self._header) compressedbytes = c1 + (c2 << 8) + (c3 << 16) uncompressedbytes = u1 + (u2 << 8) + (u3 << 16) if algo == b"ZL": compression = self.compression.copy(uproot3.const.kZLIB) elif algo == b"XZ": compression = self.compression.copy(uproot3.const.kLZMA) elif algo == b"L4": try: import xxhash except ImportError: > raise ImportError("install xxhash package with:\n pip install xxhash\nor\n conda install python-xxhash") E ImportError: install xxhash package with: E pip install xxhash E or E conda install python-xxhash uproot3/source/compressed.py:144: ImportError =============================== warnings summary =============================== :572: 11 warnings :572: DeprecationWarning: find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead :1514: 11 warnings :1514: DeprecationWarning: FileFinder.find_loader() is deprecated and slated for removal in Python 3.12; use find_spec() instead tests/test_issues.py::Test::test_issue33 tests/test_issues.py::Test::test_issue54 tests/test_issues.py::Test::test_issue64 tests/test_issues.py::Test::test_issue64 tests/test_issues.py::Test::test_issue243_new :283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead tests/test_issues.py: 7 warnings tests/test_stlvector.py: 3 warnings /build/python-uproot/src/uproot3-3.14.4/.eggs/awkward0-0.15.5-py3.10.egg/awkward0/array/base.py:398: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. return cls.numpy.array(value, copy=False) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/test_tree.py::Test::test_leaflist - ImportError: install xxhash ... ======= 1 failed, 95 passed, 10 skipped, 37 warnings in 91.55s (0:01:31) ======= ==> ERROR: A failure occurred in check().  Aborting...