gtristan opened a new issue, #1796:
URL: https://github.com/apache/buildstream/issues/1796

   The `mypy` checks in CI fail with the following:
   
   ```
   mypy run-test: commands[0] | mypy
   src/buildstream/utils.py:47: error: Library stubs not installed for 
"google.protobuf" (or incompatible with Python 3.10)
   src/buildstream/storage/_casbaseddirectory.py:26: error: Library stubs not 
installed for "google.protobuf" (or incompatible with Python 3.10)
   src/buildstream/storage/_casbaseddirectory.py:26: note: Hint: "python3 -m 
pip install types-protobuf"
   src/buildstream/storage/_casbaseddirectory.py:26: note: (or run "mypy 
--install-types" to install all missing stub packages)
   src/buildstream/storage/_casbaseddirectory.py:26: note: See 
https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
   Found 2 errors in 2 files (checked 186 source files)
   ERROR: InvocationError for command 
/home/testuser/buildstream/.tox/mypy/bin/mypy (exited with code 1)
   ```
   They pass perfectly fine with python3.9, but for some reason we are running 
them with python 3.10 which perhaps is not yet mature enough.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to