Skip to content
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/Lock support for python 2.7 #356

Closed
ShadowJonathan opened this issue May 28, 2020 · 5 comments
Closed

Drop/Lock support for python 2.7 #356

ShadowJonathan opened this issue May 28, 2020 · 5 comments

Comments

@ShadowJonathan
Copy link

While developing something for #340, I encountered this deprecation warning;

pip 21.0 will drop support for Python 2.7 in January 2021.

Python 2.7 support has been dropped begin 2020, would it be time to remove all support from cibuildwheel and make a note in the readme that version xyz was the last version with py2.7 support, or provide a "max pip version" with new versions and keep python 2.7 support?

@Czaki
Copy link
Contributor

Czaki commented May 28, 2020

Many projects are using python2.7 and it is not a problem because pip version can be frezeed in https://github.com/joerick/cibuildwheel/blob/master/cibuildwheel/resources/constraints-python27.txt

@YannickJadoul
Copy link
Member

We've discussed this before in some random issues and PRs (that might not be too easy to find, so I'm not going to try). As long as the maintenance is OK, I vote to keep supporting Python 2.7, at least until crucial tools like pip start dropping it.

Also, PyPy 2.7 very likely won't be deprecated soon, and it would be nice to keep supporting it.

So currently, and until there's a pressing reason, I don't see why. But maybe at some point, we could make (C)Python 2.7 opt-in with an option, rather than opt-out, though? That could help push people towards not supporting 2.7 anymore?

@YannickJadoul
Copy link
Member

Ah, there we go. At least 1 issue has a title related to this, and a reasonably discussion: #245

So I'm closing this issue for now. Feel free to reopen (or maybe reopen #245) if there's something to add to the discussion.

@ShadowJonathan
Copy link
Author

Maybe after pip has dropped it, this issue can be reopened.

@YannickJadoul
Copy link
Member

Yes, indeed, or maybe a bit before! I hadn't really realized that yet, but let's hope things become more clear over the next half year :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants