Inconsistent version of swh-storage on prod loaders
Prod loaders have version 1.7.0 of swh-storage (which doesn't have swh.storage.interface.HashDict
), but somehow a newer version of swh/storage/proxies/filter.py (which tries to import swh.storage.interface.HashDict
), causing crashes in the last two hours.
Sentry Issue: SWH-LOADER-GIT-1HR
ImportError: cannot import name 'HashDict' from 'swh.storage.interface' (/usr/lib/python3/dist-packages/swh/storage/interface.py)
(11 additional frame(s) were not displayed)
...
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "swh/storage/proxies/filter.py", line 18, in <module>
from swh.storage.interface import HashDict, StorageInterface