I encountered an IncompatibleVersionError when using mypy 1.1.1 through pysen 0.10.3 (the current latest version). This prevents me from upgrading mypy's version in some projects using pysen, such as onnion. It would be nice to have a new release of pysen that supports mypy 1.*.
Below is the error log I received when running pysen run lint:
...
unexpected exception
Traceback (most recent call last):
File ".../site-packages/pysen/runner.py", line 47, in run_cmd
exit_code = cmd.run(reporter=r)
File ".../site-packages/pysen/command.py", line 25, in run
return self.__call__(reporter)
File ".../site-packages/pysen/mypy.py", line 110, in __call__
ret = mypy_wrapper.run(
File ".../site-packages/pysen/ext/mypy_wrapper.py", line 208, in run
_check_mypy_version()
File ".../site-packages/pysen/ext/mypy_wrapper.py", line 194, in _check_mypy_version
raise IncompatibleVersionError(
pysen.exceptions.IncompatibleVersionError: pysen only supports mypy version >=0.770, <1. version 1.1.1 is not supported.
I encountered an
IncompatibleVersionError
when usingmypy 1.1.1
throughpysen 0.10.3
(the current latest version). This prevents me from upgrading mypy's version in some projects using pysen, such as onnion. It would be nice to have a new release of pysen that supports mypy 1.*.Below is the error log I received when running
pysen run lint
:Related PR: https://github.com/pfnet/pysen/pull/31