Error pushing to GitHub on python3.10
Our managed Linux workstations were just upgraded to python3.10. Now pushing to GitHub throws an error. Partial stack trace below, with a more complete log attached.
I'm not certain if the issue is in hg-git, dulwich, or urllib3. I'm also not certain if this is specific to GitHub.
Traceback (most recent call last):
File "/usr/lib/python3.10/http/client.py", line 565, in _get_chunk_left
chunk_left = self._read_next_chunk_size()
File "/usr/lib/python3.10/http/client.py", line 532, in _read_next_chunk_size
return int(line, 16)
ValueError: invalid literal for int() with base 16: b''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/http/client.py", line 582, in _read_chunked
chunk_left = self._get_chunk_left()
File "/usr/lib/python3.10/http/client.py", line 567, in _get_chunk_left
raise IncompleteRead(b'')
http.client.IncompleteRead: IncompleteRead(0 bytes read)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 441, in _error_catcher
yield
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 522, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/lib/python3.10/http/client.py", line 459, in read
return self._read_chunked(amt)
File "/usr/lib/python3.10/http/client.py", line 597, in _read_chunked
raise IncompleteRead(b''.join(value))
http.client.IncompleteRead: IncompleteRead(0 bytes read)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/hg", line 59, in <module>
dispatch.run()
File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 143, in run
status = dispatch(req)