You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use mypy-protobuf in a typechecking CI step for buildgrid. With the release of mypy 0.780, we began to see the following error in the CI.
buildgrid/_protos/build/bazel/semver/semver_pb2.pyi: error: Source file found twice under different module names: 'buildgrid._protos.build.bazel.semver.semver_pb2' and 'build.bazel.semver.semver_pb2'
Found 1 error in 1 file (checked 144 source files)
We tried regenerating the .pyi files with the newer version of mypy, but the issue persisted, so we've had to roll back our mypy version.
Hi!
We currently use mypy-protobuf in a typechecking CI step for buildgrid. With the release of mypy 0.780, we began to see the following error in the CI.
We tried regenerating the
.pyi
files with the newer version of mypy, but the issue persisted, so we've had to roll back our mypy version.Some additional information:
mypy.ini
. Notably,buildgrid/_protos
is in the import path.I'm not sure if this is an issue with mypy, mypy-protobuf, or our configuration, so please let us know if we should post this elsewhere!
The text was updated successfully, but these errors were encountered: