-
Notifications
You must be signed in to change notification settings - Fork 7
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
test-build.sh: Fix pycotap detection. #35
Conversation
Apteryks
commented
Jun 14, 2023
- tests/test-build.sh (init_environment): Extract pycotap checks to... (maybe_install_pycotap): ... this new procedure. Test if it runs successfully directly instead of looking into the Python --user-site.
I think your change does not return any errors even if pycotap is not installed? |
* tests/test-build.sh (init_environment): Extract pycotap checks to... (maybe_install_pycotap): ... this new procedure. Test if it runs successfully directly instead of looking into the Python --user-site.
Hello! You are right. I've modified my change and tested using edits to the Guix package. Without pycotap available, in the networkless container:
With pycotap installed, the test suite proceeds until it hangs
So it seems to work as intended now. |
0c79f71
to
98b2cdf
Compare
* tests/test-build.sh (init_environment): Extract pycotap checks to... (maybe_install_pycotap): ... this new procedure. Test if it runs successfully directly instead of looking into the Python --user-site. BUG=ibus#35
Thank you for the patch. I modified the pip part after I integrated this patch. |
I integrated this patch in the devel repo and it will be migrate to ibus/ibus-anthy repo when the new version is released. |