Steps to upgrade python-urllib3

Asked by John Williams

Hello

Version of my Linux is 16.04.6 LTS (Xenial Xerus)

$ apt list | grep urllib

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

python-urllib3/xenial-updates 1.13.1-2ubuntu0.16.04.2 all
python3-urllib3/xenial-updates,now 1.13.1-2ubuntu0.16.04.2 all [installed]

There is a newer version of urllib3 and I am able to upgrade using the command pip install --upgrade urllib3

After upgrade,

$ pip list | grep urllib3
urllib3 1.25.2

But even after the upgrade,

$ apt list | grep urllib

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

python-urllib3/xenial-updates 1.13.1-2ubuntu0.16.04.2 all
python3-urllib3/xenial-updates,now 1.13.1-2ubuntu0.16.04.2 all [installed]

Can you explain, how to upgrade python-urllib3 without upgrading using the command pip install --upgrade urllib3

If there is no way to upgrade python-urllib3 and if it has to be updated using pip, why apt-list is still showing the version as python-urllib3/xenial-updates 1.13.1-2ubuntu0.16.04.2 all ?

- John

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu python-urllib3 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.