Skip to content

what to do about python2 deprecation in 2020 #52

Open

Description

@mcallaghan-bsm

'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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions