Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Dropping Python 2.7 support #5

Closed
wesm opened this issue Aug 28, 2016 · 17 comments
Closed

Dropping Python 2.7 support #5

wesm opened this issue Aug 28, 2016 · 17 comments
Labels

Comments

@wesm
Copy link
Owner

wesm commented Aug 28, 2016

There were a few comments about this in the initial pull requests.

Some of my arguments for dropping Python 2.7 support

  • Probably first production-ready release of pandas 2.x will realistically be late 2017 / early 2018 (beta / testing releases available before then). This means < 3 years until Python 2 end-of-life (https://pythonclock.org/)
  • C++11 is not well supported in Windows builds of Python 2.7 due to a dependence on an older MSVC runtime. I feel pretty strongly that judicious use of modern C++ (aka C++11/14) will yield better developer productivity (auto, anyone?) and higher quality software in the libpandas internals
  • Can start thinking about / making use of Python 3.x only features, like asyncio

It would be great for us to reach some decision about this and also join the Python 3 statement: https://python3statement.github.io/ (per @takluyver suggestion)

@shoyer
Copy link

shoyer commented Aug 28, 2016

I'm totally on board with this for pandas 2.0.

@jorisvandenbossche
Copy link
Contributor

Me as well, +1

@sinhrks
Copy link

sinhrks commented Aug 29, 2016

+1

@wesm
Copy link
Owner Author

wesm commented Sep 1, 2016

Anyone opposed to joining the Python 3 statement website? I'll leave the question open for a few days before we decide one way or another

@jorisvandenbossche
Copy link
Contributor

With the thumbs up I mean that I am not opposed :)

@TomAugspurger
Copy link

👍 Like IPython's timeline that's split between IPython 5.x LTS and other, we should note that pandas 1.x will support 2.7 until sometime (2020?), and 2.x is py3 only.

@FrancescAlted
Copy link

+1 for dropping support for Python 3 on pandas 2.0

@jtratner
Copy link

jtratner commented Sep 1, 2016

Sounds like the right choice to go python 3 only for 2.X
On Thu, Sep 1, 2016 at 6:53 AM Tom Augspurger [email protected]
wrote:

👍 Like IPython's timeline that's split between IPython 5.x LTS and
other, we should note that pandas 1.x will support 2.7 until sometime
(2020?), and 2.x is py3 only.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABhjqzW8GP2tDnK7mUZwxElLO9TsuPxoks5qltgogaJpZM4Ju_-p
.

@takluyver
Copy link

There seems to be pretty enthusiastic support for the general idea. Would you like me to add pandas to the Python 3 statement website?

Also, is there a square-ish version of the pandas logo somewhere? Or is it OK if I cut out just the three plots on the right and put them above the word pandas?

@TomAugspurger
Copy link

+1 to joining the Python 3 statement, but do we have a rough date for when pandas 1.X support would end? Not that this is binding...

@wesm
Copy link
Owner Author

wesm commented Sep 15, 2016

@takluyver that is fine by me if there are no objections from others.

If/when pandas 2.0 goes to production, we'll have to decide how much longer to continue maintaining 1.x (e.g. what severity of bug fix will merit backporting / bugfix release). Hard to predict until we get there

takluyver added a commit to python3statement/python3statement.github.io that referenced this issue Sep 15, 2016
@takluyver
Copy link

Have a look at python3statement/python3statement.github.io#49, which adds it using the right-hand part of the logo.

The statement is roughly saying that our projects won't make any more Python 2 compatible releases beyond 2020. We won't enforce that, of course, but I think dropping support in four years time should be reasonable.

@jorisvandenbossche
Copy link
Contributor

@takluyver That looks good to me, thanks.
I see that not all projects with a logo are listed in the timeline, so I suppose we can always later add it there when we have an idea of the timeline of 1.x and 2.x?

@takluyver
Copy link

Yep, the timeline is an optional extra - there's no need to have a detailed schedule worked out to sign the statement. :-)

@takluyver
Copy link

I'll merge the PR adding pandas to the python3statement website tomorrow unless anyone objects.

@takluyver
Copy link

I've merged the PR, so pandas is on the list at https://python3statement.github.io/ . Thanks everyone :-)

@jreback jreback added the compat label Sep 30, 2016
@hugovk
Copy link

hugovk commented Aug 28, 2021

Pandas is now Python 3.6+ (and next release 3.7+ pandas-dev/pandas#41989).

Safe to close this issue now? :)

@jreback jreback closed this as completed Aug 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants