Closed gvangool closed 1 year ago
I tried it on my $WORK project, which includes the venv directory as a subdirectory of the main repo.
I get the following error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 81: invalid start byte
It looks like it came from IPython (the errored file is .venv/lib/python3.11/site-packages/IPython/core/tests/nonascii.py), looking at the encoding:
.venv/lib/python3.11/site-packages/IPython/core/tests/nonascii.py
$ file .venv/lib/python3.11/site-packages/IPython/core/tests/nonascii.py .venv/lib/python3.11/site-packages/IPython/core/tests/nonascii.py: ISO-8859 text
This is another place where you could probably benefit from the work done in pyastgrep, as mentioned here
Hah I just hit that one myself:
I tried it on my $WORK project, which includes the venv directory as a subdirectory of the main repo.
I get the following error:
It looks like it came from IPython (the errored file is
.venv/lib/python3.11/site-packages/IPython/core/tests/nonascii.py
), looking at the encoding: