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

Deprecate Python 3.4 #6123

Merged
merged 2 commits into from
Jan 13, 2019
Merged

Deprecate Python 3.4 #6123

merged 2 commits into from
Jan 13, 2019

Conversation

xavfernandez
Copy link
Member

No description provided.

@xavfernandez xavfernandez force-pushed the deprecate34 branch 2 times, most recently from 258b876 to 5dd7bec Compare January 9, 2019 22:09
Copy link
Member

@pradyunsg pradyunsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I think something was missed -- CI is failing.

@@ -381,6 +381,9 @@ def pip(self, *args, **kwargs):
if (pyversion_tuple < (2, 7, 9) and
args and args[0] in ('search', 'install', 'download')):
kwargs['expect_stderr'] = True
# Python 3.4 is deprecated and we emit a warning on it.
if pyversion_tuple[:2] == (3, 4):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could have made the script fixture depend on deprecated_python but wasn't sure it was worth it...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'll be cleaner IMO, since then we'll only need to update the tests to reflect deprecated versions in one place.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, adding a deprecation warning for Python 2.7 should now be quite easy 🙄

@xavfernandez xavfernandez force-pushed the deprecate34 branch 2 times, most recently from 3619774 to 18ad3c2 Compare January 11, 2019 10:14
Copy link
Member

@pradyunsg pradyunsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except for the removal version.

pip usually emits a warning and tests have to be adapted
@xavfernandez
Copy link
Member Author

Version bumped and text slightly updated to mention Python 3.4 end of life.

@pradyunsg pradyunsg merged commit 47d7f2b into pypa:master Jan 13, 2019
@xavfernandez xavfernandez deleted the deprecate34 branch January 13, 2019 21:13
@lock
Copy link

lock bot commented May 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label May 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants