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

what to do about python2 deprecation in 2020 #52

Open
mcallaghan-bsm opened this issue Apr 5, 2019 · 0 comments
Open

what to do about python2 deprecation in 2020 #52

mcallaghan-bsm opened this issue Apr 5, 2019 · 0 comments

Comments

@mcallaghan-bsm
Copy link

'twas using your alpine3 base image, and ran a few pip upgrades myself to get "latest-latest" going on an internal docker image

Step 9/12 : RUN pip install --upgrade pip
 ---> Running in 752a09df9528
Collecting pip
  Downloading https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-19.0.3
Removing intermediate container 752a09df9528
 ---> 1f319e283a90
Step 10/12 : RUN pip install --upgrade       pip       cffi       ansible       pycrypto
 ---> Running in 3a9855c0f86e

But yikes:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

https://pythonclock.org/

Looks like over the next 6 months or so need to flip over to python3 entirely!

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

1 participant