[Bug 1877297] Re: python3 requests reports RequestsDependencyWarning on import

Christian Ehrhardt  1877297 at bugs.launchpad.net
Fri May 8 07:43:14 UTC 2020


Hi, which release are you on?

I retried on the latest release being focal and this is fine:
$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> 

But your python version indicates you are on - well maybe Ubuntu 19.04 ?
 python3 | 3.6.5-3          | bionic          | amd64, arm64, armhf, i386, ppc64el, s390x
 python3 | 3.6.7-1~18.04    | bionic-updates  | amd64, arm64, armhf, i386, ppc64el, s390x
 python3 | 3.7.3-1          | disco           | amd64, arm64, armhf, i386, ppc64el, s390x
 python3 | 3.7.5-1          | eoan            | amd64, arm64, armhf, i386, ppc64el, s390x
 python3 | 3.8.2-0ubuntu2   | focal           | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3 | 3.8.2-0ubuntu2   | groovy          | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x

If it is 19.04 that isn't supported any more and I'd urge you to upgrade.
Otherwise please let me know which release you are on so that we can take a look again.
Best is to provide the following:

$ cat /etc/os-release 
$ apt-cache policy python3 python3-requests


On a recent system that would look like:
$ apt-cache policy python3 python3-requests
python3:
  Installed: 3.8.2-0ubuntu2
  Candidate: 3.8.2-0ubuntu2
  Version table:
 *** 3.8.2-0ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
python3-requests:
  Installed: 2.22.0-2ubuntu1
  Candidate: 2.22.0-2ubuntu1
  Version table:
 *** 2.22.0-2ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages
        100 /var/lib/dpkg/status

Interested to see how your system is set up to get this issues

** Changed in: requests (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1877297

Title:
  python3 requests reports RequestsDependencyWarning on import

Status in requests package in Ubuntu:
  Incomplete

Bug description:
  Importing requests in the system python3 results in an dependency
  warning,

  
  python3
  Python 3.6.9 (default, Apr 18 2020, 01:56:04) 
  [GCC 8.4.0] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import requests
  /usr/lib/python3/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.25.8) or chardet (3.0.4) doesn't match a supported version!
    RequestsDependencyWarning)
  >>>

  This impacts vim-nox when enabling the distribution supplied vim-
  youcompleteme plugin as it attempts to make use of the requests
  library during it's setup.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1877297/+subscriptions



More information about the foundations-bugs mailing list