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

Pip uses wrong date for DEPRECATION: messages #8858

Closed
RubenGarcia opened this issue Sep 9, 2020 · 3 comments
Closed

Pip uses wrong date for DEPRECATION: messages #8858

RubenGarcia opened this issue Sep 9, 2020 · 3 comments

Comments

@RubenGarcia
Copy link

Environment

  • pip version: pip 20.2.3 from /home/di76gum/.local/lib/python3.5/site-packages/pip (python 3.5)
  • Python version: 3.5
  • OS: Ubuntu 16.04.6 LTS

Description

On 9 September 2020, I ran
python3 -m pip install django2-resumable
and obtained the following message:
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.

Expected behavior

Since the end of life is still in the future, I would expect the message to read "Python 3.5 will reach the end of its life on September 13th, 2020" instead.
How to Reproduce

Run
python3 -m pip install django2-resumable
before September 13 2020.

Output
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting django2-resumable
Downloading django2-resumable-0.1.1.tar.gz (7.6 kB)
Requirement already satisfied: Django>=2.0 in /usr/local/lib/python3.5/dist-packages (from django2-resumable) (2.2.7)
Requirement already satisfied: pytz in /usr/local/lib/python3.5/dist-packages (from Django>=2.0->django2-resumable) (2019.3)
Requirement already satisfied: sqlparse in /usr/local/lib/python3.5/dist-packages (from Django>=2.0->django2-resumable) (0.3.0)
Building wheels for collected packages: django2-resumable
Building wheel for django2-resumable (setup.py) ... done
Created wheel for django2-resumable: filename=django2_resumable-0.1.1-py2.py3-none-any.whl size=12304 sha256=163a94d95b4941ecc959f2022c8bf23633ddf99fe00e058de184322d2a56bcd2
Stored in directory: /home/di76gum/.cache/pip/wheels/7d/1d/a4/a94e57629412fe6425c84fb42b24d4d3ffc85e53e9cd096cc9
Successfully built django2-resumable
Installing collected packages: django2-resumable
Successfully installed django2-resumable-0.1.1

@McSinyx
Copy link
Contributor

McSinyx commented Sep 9, 2020

Thank you for noticing! In GH-8778:

It's not urgent, but this could be included in tomorrow's 20.2.3 release [...] If so, need to change the message from past to future tense,

I believe this was missed during the review process 😅 @pradyunsg, are you up for 20.2.4 with this fixed?

@pradyunsg
Copy link
Member

I'd rather wait for 4 days and it'll be deprecated. 🤷🏻‍♂️

@RubenGarcia
Copy link
Author

Ok, this can be closed now.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants