-
Couldn't load subscription status.
- Fork 84
Closed
Labels
installationTroubles installing the packageTroubles installing the package
Description
xxhash is currently a strict dependency for reading RNTuples even though it's not listed on pyproject.toml. The dependent code is here:
uproot5/src/uproot/compression.py
Lines 433 to 439 in ba3269b
| xxhash = uproot.extras.xxhash() | |
| computed_checksum = xxhash.xxh64(data).intdigest() | |
| if computed_checksum != expected_checksum: | |
| raise ValueError( | |
| f"""computed checksum {computed_checksum} didn't match expected checksum {expected_checksum} | |
| in file {chunk.source.file_path}""" | |
| ) |
which could simply be removed to remove the dependency.
For writing, there will be a strict dependency and there is no way to get around it, but maybe we can make uproot.extras.xxhash pick between xxhash and ppxxh (which is pure Python, so it works in WASM).
Metadata
Metadata
Assignees
Labels
installationTroubles installing the packageTroubles installing the package