Using the install command python -m geth.install v1.11.6 now fails with 403.
I noticed all my requests to GitHub using wget are failing this way now.
I am selfishly creating this issue here in hopes to have help in knowing how to fix this elsewhere because I know it is a documented feature of this library. Also I am curious if you came across this in web3.py CI/CD or something allike.
Code that produced the error
python -m geth.install v1.11.6
Full error output
File "/Users/jules/virtualenvs/ape310/lib/python3.10/site-packages/geth/install.py", line 319, in install_from_source_code_release
download_source_code_release(identifier)
File "/Users/jules/virtualenvs/ape310/lib/python3.10/site-packages/geth/install.py", line 244, in download_source_code_release
return check_subprocess_call(
File "/Users/jules/virtualenvs/ape310/lib/python3.10/site-packages/geth/install.py", line 129, in check_subprocess_call
return subprocess.check_call(command, stderr=stderr, **proc_kwargs)
File "/Users/jules/.pyenv/versions/3.10.12/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['wget', 'https://github.com/ethereum/go-ethereum/archive/v1.11.6.tar.gz', '-c', '-O', '/Users/jules/.py-geth/geth-v1.11.6/release.tar.gz']' returned non-zero exit status 8.
...
but if you set a breakpoint, read the command like " ".join(command), and paste that command in your terminal separately, you can set a bit more:
Fill this section in if you know how this could or should be fixed
I tried using auth, didn't work.
I heard user-agent may be required, but i couldnt get that to work either.
It does work in my browser, so perhaps I can copy the headers there and remove them one by one until github server is happy again. But again, I figured yall would have came across the issue independently.
I am getting this error both locally when using wget as well as in ci/cd
What happened?
Using the install command
python -m geth.install v1.11.6
now fails with 403. I noticed all my requests to GitHub using wget are failing this way now.I am selfishly creating this issue here in hopes to have help in knowing how to fix this elsewhere because I know it is a documented feature of this library. Also I am curious if you came across this in web3.py CI/CD or something allike.
Code that produced the error
Full error output
but if you set a breakpoint, read the command like
" ".join(command)
, and paste that command in your terminal separately, you can set a bit more:Fill this section in if you know how this could or should be fixed
I tried using auth, didn't work. I heard user-agent may be required, but i couldnt get that to work either. It does work in my browser, so perhaps I can copy the headers there and remove them one by one until github server is happy again. But again, I figured yall would have came across the issue independently.
I am getting this error both locally when using wget as well as in ci/cd
py-geth Version
3.13.0
Python Version
3.10.12
Operating System
macos
Output from
pip freeze