-
Notifications
You must be signed in to change notification settings - Fork 993
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
Packaging for openSUSE: TypeError and AssertionError #3154
Comments
@kevinsmia1939 I can't reproduce this just yet. This might a difference between protobuf 3.12.2 and 3.12.3 but I doubt it based on a look at their commit log. For some reason Can you try to reproduce this issue in a virtual env separately? That would help a lot. The bash script tests are also odd that they are failing - maybe it is something related to SUSE? |
Protobuf 3.12.3 is from github repo. I will ask other packager and will keep you update, |
Hello, An update. I tried building Cirq from master branch instead of 0.8.2, some issues were solved.
|
Thanks for the follow-up: pyquil and quimb should only be required by contrib. If you need contrib, you should install requirements from cirq/contrib/contrib-requirements.txt. The bash tests are only testing the bash scripts for development - I think you could safely skip those, they will have no impact on the validity of the package. |
Thanks for info. |
@kevinsmia1939 do you have an update here? |
Hi, I have not submit it to openSUSE python package maintainer yet since it is a master branch, they prefer a point release. |
Does bash script test need any dependency? I'm not sure what you mean by entry point. But I think you mean where pytest was execute? This log should give a full commands use to run pytest. Do you have some suggestion to make Pytest more verbose?
Full log here: https://build.opensuse.org/build/home:andythe_great/openSUSE_Tumbleweed/x86_64/python-cirq/_log |
As described in the Development documentation there are two ways to run tests - slow and fast.
|
@danchev |
I submit to openSUSE python repo, and they accept it but without any comments. |
You can make pytest fully verbose by using |
Thanks, closing this. |
https://build.opensuse.org/request/show/841898 by user andythe_great + dimstar_suse The test dev_tools/bash_scripts_test.py failed, I ask the dev but they could not reproduce the error, but the dev said that it does not effect the package validity so try to submit the package anyway. quantumlib/Cirq#3154
Hello,
I am trying to package this into openSUSE Tumbleweed.
Could it be about protobuf issue?
Thanks.
The installed packages are as follows.
Full log here: https://build.opensuse.org/build/home:andythe_great/openSUSE_Tumbleweed/x86_64/python-cirq/_log
The text was updated successfully, but these errors were encountered: