-
Notifications
You must be signed in to change notification settings - Fork 43
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
2541 nightly build artifact doesnt start on mac #2544
2541 nightly build artifact doesnt start on mac #2544
Conversation
Naively checking if installer works with 3.9
PySide2 is no longer required. PySide6 should be enough
@rozyczko if you can please check if Windows installer works that would be great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This build seems to run OK on Windows (quick, cursory test).
However, I would be careful with piling in two unrelated changes into this bugfix.
The bugfix itself consists of removal of pyside2
from requirements.txt and replacing pyside2
with pyside6
in pytest.ini. Also, adding the missing GL linux library.
But, unlocking the pyinstaller version and especially bumping Python from 3.8 to 3.9 should be probably done in separate, appropriately named branches and tested well first, I think.
Reverting to python 3.8
Yes, this works on Windows. |
I can confirm that building and running SasView from this PR works perfectly on Linux/Ubuntu, but there is a problem with the .tar.gz archive packaged in the nightly-build release. |
Some sort of README would be good to explain what happens next in all of the downloads. For the Ubuntu tarball, there's not actually anything that is required — in particular, the user does not have to figure out how to install it or deal with conflicts between these packages and system packages. There's a chance some extra X-related system packages need to be installed, as is done in the rather cursory CI test of the installer. As a starting point, this is what is needed:
Running it with an absolute path from any location also works:
|
@ehewins thanks for testing. I will merge it now as it is critical for Mac users. It would be good to get documentation for ubuntu in place. |
Thanks for clarifying @llimeht . The sasview binary returns several "Failed to load module" errors when I run it in an Ubuntu VM, but the process goes off without a hitch when I try running it on my main Arch system. Perhaps it's an issue specific to my VM setup. |
It might be that some additional X-related libraries need to be installed for Qt to work, given recent Ubuntu defaults to Wayland (I think). CI does the following to run the package:
xvfb would not be necessary; there's also a chance that some of the others aren't needed either, but won't do any harm. Steps like that aren't needed on older Debian/Ubuntu machines as those were packages that would already be installed… but if these are now required, then we should definitely document this in a README as you suggest! |
Description
Fixing OSX build from the main branch. It is pyside2 that is problematic and therefore it was removed from requirements (keeping only PySide6).
It also updates the version of Python and the installer. These were probably not required, but it will be a useful update if it works on all platforms.
Fixes # (issue/issues)
#2541
How Has This Been Tested?
Installer downloaded and tested.
Review Checklist (please remove items if they don't apply):