Details
-
Task
-
Resolution: Fixed
-
Major
-
7.2.1
-
0
Description
What's the issue?
The typecheck stage is failing in the CV on the neo branch.
Failed mypy type checking in cbbackup
|
Re running: mypy --ignore-missing-imports cbbackup
|
/home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:23: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:27: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:37: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:38: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:39: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:42: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:43: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:44: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:45: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:46: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:58: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:66: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:130: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:132: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:133: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:134: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:162: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:163: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:166: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:167: error: syntax error in type comment /home/couchbase/.local/lib/python3.9/site-packages/mypy/typeshed/stdlib/3/sys.pyi:182: error: syntax error in type comment Found 21 errors in 1 file (checked 1 source file)
|
This problem likely also exists on the master branch, it just hasn't shown yet since the CV hasn't ran for a few months.
What needs to be done?
This is a known issue. Upgrade the mypy version in the Jenkinsfile and fix any other errors in the code.