You are not logged in.
After installing pip, I always get the following warning when I use it:
/usr/lib/python3.6/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
I checked the requests/__init__.py and it says urllib3 version should be >= 1.21.1, <= 1.22, and running pacman -S python-pip installs urllib3 1.23.
Is anyone else experiencing this or is it just me? This could be happening because I used to have broken pip thanks to using "sudo pip install --upgrade pip", but I removed it and reinstalled from pacman.
EDIT: Changed subject from "python-pip-10.0.1-1 gives RequestsDependencyWarning when using pip" to "python-requests requires version of python-urllib3 not in repos".
Last edited by 4k1 (2018-06-06 12:19:36)
Offline
Despite the timing that had me suspect as much, this is not due to an improper use of pip. This, so far, looks like it may be a legitimate packaging bug, but not with pip, with python-requests. It looks like the version of python-requests currently in the repos may not work with the version of python-urllib also in the repos. But I *just* started looking into it ... confirmation from others would be good before a bug report is considered.
Modifying your title to highlight the real problem may draw better attention (the current title had me reading this with the mindset of "oh god, someone else f*** up with pip"). A potential title could include "python-requests requires version of python-urllib3 not in repos."
Last edited by Trilby (2018-06-06 11:34:16)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Hi. I have the same issue when using docker-compose.
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline
Thanks Trilby. I changed the subject. Still really new to Arch so lot to learn about it and the package system.
Offline
After installing pip, I always get the following warning when I use it:
/usr/lib/python3.6/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)I checked the requests/__init__.py and it says urllib3 version should be >= 1.21.1, <= 1.22, and running pacman -S python-pip installs urllib3 1.23.
Is anyone else experiencing this or is it just me?
I can also confirm the exact same behavior after reinstalling python-pip from extra, stemming from the same stray version upper cap of 1.22 in /usr/lib/python3.6/site-packages/requests/__init__.py.
Downgrading to urllib3-1.22-1 fixes it, as does changing the line `assert minor <= 22' in that .py file to `assert minor <= 23'.
Offline
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline