-
Notifications
You must be signed in to change notification settings - Fork 74
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
silx.gui.utils.glutils: Fixed isOpenGLAvailable
#3356
Conversation
Ah ok i see. But what is the part of the code relying on That's internal to python itself? |
Oh i remember now... Was the relative import or our concurrent module. No luck. |
It doesn't fix the issue, that's a weird issue. |
To me the good way to handle it is to use Relative modules will just be relative, as we expect. |
Here is traceback from a beamline
No idea why they don't complain anymore. |
|
Updated with an altenative: copy This avoids:
I also added Still need to be tested on macos and windows |
Any idea why the bootstrap is not working with |
From my current understanding, I'll still dig a bit, I am not happy with the temporary file, but for now it is what I found that works in most conditions. |
One last proposition (the best from my point of view): move Works fine, no need for temporary file. I added -s and -S Ready for review. |
Sounds like a cheat, but it's fine for me. |
Yes, I would have preferred to use |
Should fix issues with import when running
isOpenGLAvailable
. PR 3184 was apparently not enough.It still needs testing.
Alternative can be to import
subprocess
lazily indef _runtimeOpenGLCheck(version)
Related to #3182