-
Notifications
You must be signed in to change notification settings - Fork 455
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
drop support for 3.7? #2878
Comments
e.g. we would get |
hm.. this may be a bit premature, considering that according to PyPI Stats website (https://pypistats.org/packages/fonttools) the majority of downloads come from python 3.7 (between 40-50% per day). That's surprising to me 🤔 |
I just made a Twitter poll here in case you want to cast your vote. I know, it's unlikely to be representative of our userbase but worth a shot. |
In favor of dropping 3.7. Quite some traffic could be CI systems testing with the minimally supported Python :) |
hm yeah, I hadn't thought of that. Also, PyPI stats say that 85% of downloads come from Linux, which I'd argue is used in continuous integration pipelines more often than Windows or Mac. Hard to say how many of those are bots or real people. |
(Real) Linux users are more likely to use their system package manager than pip. |
right, so another question would be, which/how many linux distros still come with python3.7? And how hard would be for this hypothetical real user relying on their system package manager to upgrade to python3.8+... I guess impossible to answer, which is why software come with support cycles planned in advance. NumPy Enhancement Proposal 29 recommends December 26, 2021 as the date from which projects in the Python scientific community (which fonttools is not really part of) may begin to require 3.8+. |
I bet that there are Linux distributions still supporting Python 2.x, so it doesn’t really matter. A distributions using Python 3.7 is most likely using some old FontTools package and they are never going to update it. |
We dropped support for Python 3.6 exactly one year ago so it makes sense to do the same for 3.7 now. I think we should just all agree to follow NEP 29 as our python deprecation policy, we could even write it explicitly in the README and just go on with the flow. (EDIT: I just did that in the PR cbac6ca) |
I'm very surprised that we have 700,000 downloads per day! |
yes! Not bad, FontTools! (for context, NumPy has 4,970,682 a day) |
FontTools has dropped support for 3.7, thus we follow suit fonttools/fonttools#2879 fonttools/fonttools#2878
FontTools has dropped support for 3.7, thus we follow suit fonttools/fonttools#2879 fonttools/fonttools#2878
@typemytype (Robofont developer) replied to FontTools twitter poll with https://twitter.com/typemytype/status/1590452125540261890?s=20&t=EIzwTbVxIrrprCICDylqwQ
I'd like to get more info about this. Is there any software or environment or users that are stuck with Python 3.7 for some reasons but would like to continue using up-to-date fonttools? Of course we can't promise we will support old python versions forever, but I'm open to find some compromise. |
regarding this, I don't see how it is relevant for the issue at stake. We are discussing about dropping support for 4 year old python 3.7 which is reaching EOL soon anyway, and I believe it doesn't even support running on the M1 arm64 architecture. |
It turns out building universal apps for DrawBot and RF is non-trivial since many PyPI libraries provide separate x86 and M1 wheels, but not universal. I consider this a packaging issue, and I also don't see how it relates to dropping support for 3.7. |
ok, so do DB and RF use python3.7? |
Yes, but there is no reason why they should be stuck there. |
Are you saying that current latest versions of Robofont and DrawBot use python3.7? If that's the case, we could wait a few more weeks to give @typemytype the time to upgrade to more up to date python. |
Yes. But for DrawBot, we don't immediately need a new release with an up-to-date fonttools. I can't speak for RF. |
I guess Robofont is a major consumer of fonttools and would like to keep it up-to-date.. |
After chatting with @typemytype, I convinced myself it's best for now we revert dropping 3.7 and give them a few more weeks to switch Robofont off from Python 3.7. Let's keep this open as reminder to revisit this early next year. |
Revisit time? |
RoboFont betas jumped already successfully to python3.9, with the same macOS support range. Dropping 3.7 is all fine for me! thanks! |
@typemytype out of curiosity, what is keeping RF from jumping to 3.10 or even 3.11? |
Building "universal2" apps for macOS is hard, as not everything on PyPI is consistently available as "universal2". There are workarounds, but it is more painful than you'd expect. |
FontTools has dropped support for 3.7, thus we follow suit fonttools/fonttools#2879 fonttools/fonttools#2878
Python 3.7 is EOL in about 7 months in June 2023 (see https://endoflife.date/python)
Other popular projects like numpy or scipy are already requiring Python 3.8 in their latest versions.
I think we can do the same without waiting for June 2023. Any objections?
The text was updated successfully, but these errors were encountered: