-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests fail due to protobuf error: TypeError: Descriptors cannot not be created directly #257
Comments
Note that |
mlflow requires |
Addressed in #256 |
Covered in the relevant PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Unit tests should pass
Current Behavior
I have two consecutive builds where the only difference between them is a change in the Python comments. The first succeeds and the second fails.
succeeds: https://github.com/databrickslabs/dbx/runs/6516812865?check_suite_focus=true
fails: https://github.com/databrickslabs/dbx/runs/6519187157?check_suite_focus=true
The failing build has several test failures that look like this:
I compare the packages that are installed between these two versions.
Before:
After:
It seems the issue is that a new protobuf version has been released, which the second build is now using. The protobuf version went from
4.21.0rc1
to4.21.0rc2
. Presumably there were some files generated with the older version that no longer work with the newer version.Steps to Reproduce (for bugs)
Run unit tests in CI
Context
N/A
Your Environment
N/A
The text was updated successfully, but these errors were encountered: