Details
-
Bug
-
Status: Closed
-
Lowest
-
Resolution: Done
-
None
-
None
-
None
-
None
Description
Not sure the root cause yet, but some things I noticed.
the high level problem is saying that we can't check out 'master' branch of
the robot-tidy hook:
[INFO] Initializing environment for https://github.com/guykisel/pre-commit-robotframework-tidy. An unexpected error has occurred: CalledProcessError: command: ('/usr/bin/git', 'checkout', 'master') return code: 1 expected return code: 0 stdout: (none) stderr: error: pathspec 'master' did not match any file(s) known to git. Check the log at /home/jenkins/.cache/pre-commit/pre-commit.log ERROR: InvocationError for command /w/workspace/integration-test-tox-verify-master/.tox/pre-commit/bin/pre-commit run --all-files (exited with code 1)
pre-commit is installing importlib-resources which recently released 2.0.0 and that
is showing up as incompatible with the virtualenv==20.0.21 that is also installed
with pre-commit.
lftools has us locked to pre-commit==2.2.0, although a new release of that (2.5.0)
also came out this week.
I cannot reproduce this locally, so trying to figure out slowly in the sandbox.