-
-
Notifications
You must be signed in to change notification settings - Fork 996
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
Use Python 3.9 on Windows #6684
base: master
Are you sure you want to change the base?
Conversation
The |
I don't think it's worth supporting a version of Windows that old. Even so, the current (Windows) binaries on GitHub are built with CPython 3.8, and there isn't a distinguished x86 or x64 build. Just a singular x64 build that uses CPython 3.8. Is it possible that we can get binaries that are built with CPython 3.9 support? |
The GitHub Actions workflow this PR is modifying is responsible for building and releasing "nightly" binaries at https://github.com/gdl-org/builds/releases The stable releases from https://github.com/mikf/gallery-dl/releases are built on my own PC on a Windows 7 x86 VM and a Ubuntu 22.04 LTS VM as a part of running scripts/release.sh |
is there any benefit of upgrading Python that is used for building if you don't use any new features in the newest versions? |
CPython interpreters got faster / more efficient with each new version, especially Python 3.11. There are probably security related bug fixes that do not get ported to the EOL versions. |
Is it possible to get a newer version of Python for future releases then? |
Install a Python interpreter and simply run gallery-dl from the source code, problem solved. |
@Hrxn So it's okay to keep releasing binaries using an outdated version of CPython, that'll eventually have vulnerabilities? Even if that doesn't matter to you, I think improving CPython performance is a good enough release to use newer non-EoL versions of Python. |
@Hrxn By the way, having a person who's inquiring about this, and telling them to just run from source on their own installed version of Python is not "problem solved". |
I do have a Windows 10 VM lying around, so I guess I could build EXEs there. I'll probably rename the current Win7 Python 3.8
Why wouldn't it be "problem solved" for you in particular? Also, the builds from https://github.com/gdl-org/builds/releases use Python 3.13. |
Solid. Sounds good!
It's not that I want to use a different interpreter, it's just the fact that the interpreter is outdated and no longer supported, yet it's still being distributed to downstream users. Sure, I could build it myself, or just run from source, but that's not really the point. Also, I literally maintain the Chocolatey package for gallery-dl. Inquiring into why binaries I'm packaging are using an old interpreter isn't that far of a stretch?
Didn't know nightly releases existed, but might consider packaging these to users as well. |
Currently GitHub generates executables for Windows from Python 3.8, which has been EOL for more than 2 months now. This PR corrects it by building with Python 3.9 instead of an out of date Python.