FS#72889 - python-pre-commit 2.15.0-1 not working with latest version of python-virtualenv 20.8.0-2
Attached to Project:
Community Packages
Opened by Bart (sleeping) - Wednesday, 01 December 2021, 13:58 GMT
Last edited by freswa (frederik) - Wednesday, 05 January 2022, 10:35 GMT
Opened by Bart (sleeping) - Wednesday, 01 December 2021, 13:58 GMT
Last edited by freswa (frederik) - Wednesday, 05 January 2022, 10:35 GMT
|
Details
Description:
Whenever I run pre-commit, I see the following error: An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/python', '-mvirtualenv', '/home/ryan/.cache/pre-commit/repov1aydonr/py_env-python3.9') return code: 1 expected return code: 0 stdout: ModuleNotFoundError: No module named 'virtualenv.activation.nushell' stderr: (none) Check the log at /home/ryan/.cache/pre-commit/pre-commit.log A downgrade to python-virtualenv 20.7.0-1 solved the problem. |
This task depends upon
Closed by freswa (frederik)
Wednesday, 05 January 2022, 10:35 GMT
Reason for closing: Fixed
Additional comments about closing: "This does no longer seem to be an issue..."
Wednesday, 05 January 2022, 10:35 GMT
Reason for closing: Fixed
Additional comments about closing: "This does no longer seem to be an issue..."
Comment by freswa (frederik) -
Friday, 03 December 2021, 12:58 GMT
Comment by Bart (sleeping) -
Wednesday, 05 January 2022, 09:32 GMT
You're using nushell? Does pre-commit work with bash or zsh?
@freswa: Thanks for your comment. This does no longer seem to be
an issue...