-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
AppImage useability verification #421
Comments
Unfortunately, the AppImage broke with those changes:
If I had to guess, that error occurs because we're still including Python 3.8 within the AppImage, but the PyPA dependencies were installed with Python 3.10 and are located in a different directory than expected. You've upgraded the Ubuntu runners from 20.04 (codename TwitchDropsMiner/appimage/AppImageBuilder.yml Lines 40 to 44 in 8cfa43b
In any case, I wouldn't recommend upgrading to 22.04 anyway (unless absolutely necessary), because the AppImage package (and I think the PyInstaller package as well) will stop working for 20.04 users. And Ubuntu 20.04 will still be officially supported until April of 2025, so there will definitely be users of this version for quite a while... |
Okay, so it looks like I fucked it up real bad 😓 I probably shouldn't be touching this without your guidance, but the development builds have to use Python 3.10 from now on. I guess I'm reversing the runner back to
To resolve issues with SSL certificates (#386), 91f2dac includes Truststore seems to be installed, indicating the Python upgrade worked, at least partially: Unfortunately, I am unable to make the |
Alright, so if we use Ubuntu 20.04, I think we must use The problem with the first approach is: We have to figure out a way to also include that version of Python within the final AppImage. You see, the way AppImageBuilder works, is by including packages from the official Ubuntu repositories. For instance, here: TwitchDropsMiner/appimage/AppImageBuilder.yml Lines 46 to 48 in b655803
AppImageBuilder will look at these two packages ( But because we're still using packages from Ubuntu 20.04 ( TwitchDropsMiner/appimage/AppImageBuilder.yml Lines 40 to 44 in b655803
That means version 3.8 of Python gets included in the final AppImage, and not version 3.10. Anyway, I'll investigate how If that doesn't work, then we'll have to try plan B (less desirable): We stick to The drawback to plan B, like I mentioned earlier, is that the app won't run on Ubuntu 20.04 (and derivative distros), but oh well. |
If it means greater compatibility, i'm good with plan A. Focal version of Whatever For now, I'm reverting the AppImage section specifically, back to using the default Python 3.8. |
Okay, so unfortunately plan B seems to be path of least resistance. Internally, And while I could technically include that Python build in the AppImage, it's not really an ideal build to ship to users, because all binaries include debug symbols, a bunch of test cases, and other unnecessary files that just makes the whole thing really annoying to clean up before we can include it in the AppImage. So, since Python 3.10 is pretty much needed to resolve these certificate issues, my proposal is to simply generate the AppImage on Ubuntu 22.04, and then document it that users should have least glibc 2.35 to run the AppImage with no issues. By the way, this version increase in glibc does not affect the PyInstaller package, which should still work just fine with glibc 2.31. |
@guihkx Hey. I've made some changes to the AppImage builder recently, to facilitate building the development version on Python 3.10. The CI seems to pass now, but I'm not entirely sure if the resulting AppImage application will even work.
Since I don't really have a Linux environment to check that, I'd like to kindly ask you to take a look at the changes, and check if the compiled version still works. If you can and in some spare time, of course. Otherwise, well, I guess someone will file a new issue if it turns out not to be working as expected.
Here's a diff: f125bf0...master
The text was updated successfully, but these errors were encountered: