electrum
electrum copied to clipboard
Getting error when running `./contrib/freeze_packages.sh`
When running ./contrib/freeze_packages.sh
I get this error:
Traceback (most recent call last):
File "./contrib/deterministic-build/find_restricted_dependencies.py", line 28, in <module>
data = requests.get(url).json()['info']
KeyError: 'info'
With some more digging around, I see that this URL is called for a package:
https://pypi.org/pypi/pkg_resources/0.0.0/json
Not sure if this should be called, but it's basically a 404 on this URL, so ["info"] key fails
PyPI (or at least its webserver part) seems to be unreliable recently.
I've just tried running ./contrib/freeze_packages.sh three times in a row, and the first two attempts got different HTTP errors coming from pypi.org, and then the third attempt succeeded.