CallumJHays/mathpad

Ci build failing for Py3.6 on windows

Opened this issue · 0 comments

Run poetry install
The currently activated Python version 3.6.8 is not supported by the project (>=3.7,<3.10).
Trying to find and use a compatible version. 

  NoCompatiblePythonVersionFound

  Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.

  at c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\poetry\utils\env.py:769 in create_venv
Traceback (most recent call last):
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\console_application.py", line 131, in run
    status_code = command.handle(parsed_args, io)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\api\command\command.py", line 120, in handle
    status_code = self._do_handle(args, io)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\api\command\command.py", line 163, in _do_handle
    self._dispatcher.dispatch(PRE_HANDLE, event)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\api\event\event_dispatcher.py", line 22, in dispatch
    self._do_dispatch(listeners, event_name, event)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\api\event\event_dispatcher.py", line 89, in _do_dispatch
    listener(event, event_name, self)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\poetry\console\config\application_config.py", line 119, in set_env
    env = env_manager.create_venv(io)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\poetry\utils\env.py", line 769, in create_venv
    self._poetry.package.python_versions
poetry.utils.env.NoCompatiblePythonVersionFound: Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\hostedtoolcache\windows\Python\3.6.8\x64\Scripts\poetry.exe\__main__.py", line 7, in <module>
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\poetry\console\__init__.py", line 5, in main
    return Application().run()
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\console_application.py", line 142, in run
    trace.render(io, simple=isinstance(e, CliKitException))
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\ui\components\exception_trace.py", line 232, in render
    return self._render_exception(io, self._exception)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\ui\components\exception_trace.py", line 269, in _render_exception
    self._render_snippet(io, current_frame)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\ui\components\exception_trace.py", line 289, in _render_snippet
    self._render_line(io, code_line)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\ui\components\exception_trace.py", line 402, in _render_line
    io.write_line("{}{}".format(indent * " ", line))
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\cleo\io\io_mixin.py", line 65, in write_line
    super(IOMixin, self).write_line(string, flags)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\api\io\io.py", line 66, in write_line
    self._output.write_line(string, flags=flags)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\api\io\output.py", line 69, in write_line
    self.write(string, flags=flags, new_line=True)
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\api\io\output.py", line 61, in write
    self._stream.write(to_str(formatted))
  File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\clikit\io\output_stream\stream_output_stream.py", line 24, in write
    self._stream.write(string)
  File "c:\hostedtoolcache\windows\python\3.6.8\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 '\u2502' in position 10: character maps to <undefined>
Error: Process completed with exit code 1.

https://github.com/CallumJHays/mathpad/actions/runs/3224124543/jobs/5275004074