Drop UTF-8 mode #12
Annotations
4 errors
Windows / 3.8:
ä\tests\utils\test_env.py#L1128
test_run_python_script_non_ascii_input
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw0\\test_run_python_script_non_asc0\\venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
\U0001f44e
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f44d' in position 0: character maps to <undefined>
Input:
import sys; print('👎', file=sys.stderr); print('👍')
|
Windows / 3.8
Process completed with exit code 1.
|
Windows / 3.12:
ä\tests\utils\test_env.py#L1128
test_run_python_script_non_ascii_input
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw1\\test_run_python_script_non_asc0\\venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
\U0001f44e
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f44d' in position 0: character maps to <undefined>
Input:
import sys; print('👎', file=sys.stderr); print('👍')
|
Windows / 3.12
Process completed with exit code 1.
|