Commit 7e9f5a5
committed
Add py-multihash as dev dependency for tests
Fix test import error: 'ModuleNotFoundError: No module named multihash'
**Issue:**
cfxdb/tests/_util.py imports multihash for IPFS hash generation in
test utilities, but py-multihash wasn't declared as a dependency.
**Fix:**
Added py-multihash>=2.0.1 to dev optional dependencies in pyproject.toml
**Why dev dependency:**
- Only used in cfxdb/tests/_util.py for test data generation
- Not required for production use of cfxdb
- CI already installs dev dependencies via 'pip install -e .[dev]'
**Package info:**
- PyPI package: py-multihash (import as 'multihash')
- Latest version: 2.0.1
- Purpose: Multihash implementation for IPFS hash encoding
- Small, unproblematic dependency1 parent 4890981 commit 7e9f5a5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments