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 support for Python 2.6 #1175

Merged
merged 1 commit into from
May 16, 2018
Merged

Drop support for Python 2.6 #1175

merged 1 commit into from
May 16, 2018

Conversation

dstufft
Copy link
Member

@dstufft dstufft commented May 16, 2018

No description provided.

@sigmavirus24
Copy link
Member

🎉 👍 ✨

@dstufft dstufft merged commit 974fca9 into pypa:master May 16, 2018
@dstufft dstufft deleted the drop-2.6 branch May 16, 2018 20:13
@avylove
Copy link

avylove commented May 25, 2018

Why drop support for 2.6? Is there a blocker?
While The Python Software Foundation doesn't support 2.6 anymore, it's still the main Python interpreter in RHEL/Centos 6 which is still very widely used. Red Hat is scheduled to retire RHEL 6 on November 30, 2020. Those of us who write enterprise software have to support Python versions 2.6.6 to 3.7, so it would be great to be able to use standard tools to validate them.

@tobiasherp
Copy link

I agree with @avylove; don't drop support unless there is a really compelling reason.

@pradyunsg
Copy link
Member

The Python Software Foundation doesn't support 2.6

This is reason enough honestly.

Other than that, it is a burden to support multiple Python versions as is and dropping Python 2.6 support enables the use of a lot of nicer Python features in 2.7. Further pip, wheel and setuptools have already dropped support for 2.6.

Those of us who write enterprise software have to support Python versions 2.6.6 to 3.7, so it would be great to be able to use standard tools to validate them.

You can still use an older version of virtualenv which supports Python 2.6.

@avylove
Copy link

avylove commented Jun 2, 2018

I don't think that's reason enough for a keystone module like virtualenv. This is the tool that is used to workaround those limitations in other packages. From the docs

virtualenv is a tool to create isolated Python environments.

The basic problem being addressed is one of dependencies and versions, and indirectly permissions.

There are a lot of developers dealing with version dependencies. I'm sure no one wants to support 2.6, but that's what the market demands. Dropping support just puts more of a burden on other people and since supporting 2.6 does not break functionality for other versions, and there is community support for it (#1170), why not just support it until there is a compelling reason?

@dstufft
Copy link
Member Author

dstufft commented Jun 3, 2018 via email

@Ekultek
Copy link

Ekultek commented Jun 3, 2018

@dstufft why are you being condescending to someone bringing up a legit issue, and since “we’re all volunteers” and “supporting an ancient version is not productive” why are you even here? Your job as a dev is to create a tool that people can use. I honestly couldn’t give a shit less what versions you support but you don’t have to be a dick about people having concerns about you dropping support for things.

@avylove
Copy link

avylove commented Jun 3, 2018

Just use an ancient version of virtualenv to go with your ancient version of Python

I think you're misunderstanding the use case. I'm using Python 3.6 in my development environment and testing (with tox) for Python 2.6 through 3.7 beta. The problem is when you create a virtual environment for Python 2.6, it executes virtualenv.py with the Python 2.6 interpreter (or whatever interpreter is given). It doesn't execute the version specifically installed for 2.6.

We’re not going to support an ancient version of Python with like 3% of the total downloads from PyPI

It was almost 3% of the downloads over the last month, over 54,000. Which is even more significant given most people on RHEL/CentOS 6 are going to use the version supplied in EPEL and people like myself aren't downloading it for 2.6.

We’re all volunteers and taking up time dealing with 2.6 is not a productive use of our time

Yes, we're all volunteers. Why make it harder on other open source contributors unless there is a blocker? I have no doubt issues will come up, but other volunteers in the community will step up with pull requests as long as there is a need.

@gaborbernat
Copy link
Contributor

@avylove tox also dropped support for Python 2.6 so your use case only works if you pin tox. Once you pin tox you can also pin virtualenv similarly.

@gaborbernat
Copy link
Contributor

If you cannot pin virtualenv env then let's first offer a way to do it and then drop support, instead of trying to maintain an unsupported Python compatibility in the medium term.

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

Successfully merging this pull request may close these issues.

7 participants