Skip to content
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

CI-testing failed because of protobuf #135

Closed
WenjieDu opened this issue May 24, 2023 · 0 comments · Fixed by #136
Closed

CI-testing failed because of protobuf #135

WenjieDu opened this issue May 24, 2023 · 0 comments · Fixed by #136
Labels
question Further information is requested

Comments

@WenjieDu
Copy link
Owner

Issue description

I notice that we're having some tasks failed in our CI-testing workflow, for example, https://github.com/WenjieDu/PyPOTS/actions/runs/5064524248/jobs/9092539446.

/usr/share/miniconda/envs/pypots-test/lib/python3.8/site-packages/google/protobuf/descriptor.py:51: in <module>
    from google.protobuf.pyext import _message
E   ImportError: /usr/share/miniconda/envs/pypots-test/lib/python3.8/site-packages/google/protobuf/pyext/_message.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN6google8protobuf2io17SafeDoubleToFloatEd

I have investigated this error and it has nothing to do with code in PyPOTS. The issue source is that these failed jobs have their conda installing a newer version of protobuf which is not compatible with other dependencies. It can be directly solved by specifying the version of protobuf as 4.21.12, and I have tested it.

@WenjieDu WenjieDu added the question Further information is requested label May 24, 2023
WenjieDu added a commit that referenced this issue May 24, 2023
* fix: specify the version of protobuf<=4.21.12 to fix the error in CI-testing;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant