-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Deprecate Python 3.4 #6123
Conversation
258b876
to
5dd7bec
Compare
There was a problem hiding this 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.
59d6b62
to
2700329
Compare
tests/lib/__init__.py
Outdated
@@ -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): |
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 🙄
3619774
to
18ad3c2
Compare
There was a problem hiding this 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
011309d
to
2f20217
Compare
Version bumped and text slightly updated to mention Python 3.4 end of life. |
2f20217
to
b268c67
Compare
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. |
No description provided.