Live data from Hacker News

NumPy 1.16 is the last release to support Python 2.7

github.com

101–110 of 115 posts

Re: NumPy 1.16 is the last release to support Python 2.7

#102
post #10

Earlier quoted context omitted.

Debian also does not have anything above python 3.4 on the stable packages branch 3.6 has been dev and test since 2016

Debian stable (Stretch aka Debian 9, released summer 2017, regular support through ~summer 2020) has Python 3.5. Debian oldstable (Jessie aka Debian 8, released summer 2015, regular support through summer 2018) had Python 3.4. If you're on oldstable it's time to think about upgrading.... The next stable release (Buster aka Debian 10) is just starting the freeze process now and expected to come out this summer - Debia…

wow 3.5

I already have apps that won't install unless 3.6 is there

Re: NumPy 1.16 is the last release to support Python 2.7

#103

Earlier quoted context omitted.

True, there probably is, but Debian is pretty known to be conservative towards newer releases.

Is there any distribution besides Arch that isn't like this? Alpine is also pretty bad about this, and I haven't tried other distros in years.

I find Nix is pretty up to date, and helpfully you can use it on top of any distro.

Re: NumPy 1.16 is the last release to support Python 2.7

#104

Earlier quoted context omitted.

I generally try to leave the system python alone. Use pyenv or conda to get the python interpreters for your own code and apps.

How does this compare with managing python with brew?

I love pyenv. Brew is excellent for establishing a decent baseline, but pyenv is good for "we've tested this service to run under 3.5.7 and this one to run under 3.6.2, so I want to develop locally with those exact versions without them being upgraded from beneath me". And when upgrade, running "pyenv local 3.6.3" is almost all that's required to start working with the new one.

Re: NumPy 1.16 is the last release to support Python 2.7

#105
post #70
post #63

Earlier quoted context omitted.

Let's check the package "python" in Ubuntu... 14.04 (2014): Python 2 16.04 (2016): Python 2 18.04 (this is obvious but... less than 12 months ago!): you guessed it, Python 2 (!!!) So, still in 2018 and until 2020 (when I guess the next LTS release of Ubuntu is scheduled) all instructions over the internet telling you to run "python" or "pip install" will run Python 2 if copied into your Ubuntu terminal. I already sai…

You should assume that python means “2” and python3 what it says in the name. The bigger problem is that invoking “python3” and having a script developed for “python3” still doesn’t guarantee that the script will work, there were incompatible changes during python3 history.

This has always been true. New syntax or libraries were added in almost every major Python version.

If python2 was python2.2, it wouldn't support `with`. It's just that python2 has been Python 2.7 for a decade, so it's been relatively stable.

Re: NumPy 1.16 is the last release to support Python 2.7

#106
post #7

Earlier quoted context omitted.

Debian also does not have anything above python 3.4 on the stable packages branch 3.6 has been dev and test since 2016

Why in the world is Debian like this? Their buggy latexmk is also from 2015. Somehow I feel like every system that I want to keep updated stays on an old version, and every system that I want to keep pinned to some version just force-feeds me its updates...

> Somehow I feel like every system that I want to keep updated stays on an old version, and every system that I want to keep pinned to some version just force-feeds me its updates...

Spot on.

Re: NumPy 1.16 is the last release to support Python 2.7

#107
post #64

Earlier quoted context omitted.

Please enable additional repos (EPEL, IUS) providing sane Python versions. Python 2.6 isn't even supported by pip anymore. RHEL appeals to "enterprise" people for claiming to be able to run the same software for ten years without adaptations. It's a seductive trap imho.

why would I add 3rd party repos to install a modern python when I can just run my sysadmin python scripts under the system python without worrying about it? python2 is a perfectly good python for 99% of the things need to do

But definitely not Python 2.6!

Re: NumPy 1.16 is the last release to support Python 2.7

#108
post #51

Earlier quoted context omitted.

The Debian LaTeX maintainer was essentially harassed out of the project by the Anti-Harassment Team.

Source?

The horse's mouth: https://lists.debian.org/debian-project/2018/12/msg00032.htm...

Downvoters: If you're honest, then do your homework instead of downvoting. If you're dishonest, and you're trying to cover it up, shame on you--you're as bad as the abusers in Debian.

Re: NumPy 1.16 is the last release to support Python 2.7

#109
post #99
post #87

Earlier quoted context omitted.

In Python 3 they are two distinct types as well.

They're not really "types" when you only find out at runtime.

When handling tricky string issues, my first step is usually to explicitly type annotate the code (using mypy annotations). This makes string handling and tracking much simpler.

Re: NumPy 1.16 is the last release to support Python 2.7

#110
post #89

Earlier quoted context omitted.

Well, it’s open-source so you’re free to volunteer your resources and maintain it yourself

Well, it's dependent upon by lots of huge companies, so I'm sure it will forked and maintained anyway well beyond 2020... Strongly wishing things to die doesn't make it so...

Great, so everyone’s happy!
Post reply on HN