Git Product home page Git Product logo

Comments (7)

robvdl avatar robvdl commented on September 26, 2024 1

I'd watch out with dropping support for 3.6 as you're talking Ubuntu Bionic here which is still a very active LTS version of Ubuntu and dropping support for it just isn't necessary, dropping 3.6 would annoy too many users but I agree dropping 3.5 is acceptable.

from humanize.

hugovk avatar hugovk commented on September 26, 2024 1

No, Python 2.7 has been EOL since 2020-01-01.

16% is low when comparing with other projects which have also dropped Python 2, and for people still needing 2.7 it's still possible to install the last humanize that did support it.

from humanize.

hugovk avatar hugovk commented on September 26, 2024

Here's the pip installs for humanize from PyPI for May 2020:

category percent downloads
3.6 36.00% 367,639
3.7 29.64% 302,764
2.7 16.01% 163,475
3.8 11.41% 116,565
3.5 6.19% 63,198
null 0.60% 6,158
3.4 0.11% 1,102
3.9 0.04% 377
2.6 0.00% 13
3.10 0.00% 9
Total 1,021,300

Source: pip install -U pypistats && pypistats python_minor humanize --last-month

Another option is to follow NEP 29, which would suggest supporting 3.6+ already now, and 3.7+ from 2020-06-23:

Comments welcome!

from humanize.

ju-sh avatar ju-sh commented on September 26, 2024

Looks like a lot of people still use humanize with python2.7. Is 2.7 still supported?

from humanize.

hugovk avatar hugovk commented on September 26, 2024

Thanks for the feedback, let's keep Python 3.6 for a bit longer.

July 2020:

category percent downloads
3.6 33.92% 348,699
3.7 33.89% 348,385
3.8 15.59% 160,277
2.7 12.47% 128,228
3.5 3.39% 34,822
null 0.63% 6,441
3.4 0.08% 826
3.9 0.01% 145
3.10 0.01% 138
2.6 0.00% 5
3.3 0.00% 1
Total 1,027,967

Source: pip install -U pypistats && pypistats python_minor humanize --last-month

from humanize.

hugovk avatar hugovk commented on September 26, 2024

I'm considering this won't need a major version bump, as the python_requires will be updated so people still on 3.5 will get the last release that did support it.

Any thoughts on this?

from humanize.

hugovk avatar hugovk commented on September 26, 2024

No feedback on whether to bump, will bump for the extra clarity it brings. Releasing 3.0.0 now.

from humanize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.