Opened 6 years ago

Closed 6 years ago

#58382 closed defect (fixed)

py-urllib3 1.25 breaks py-requests

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-requests, py-urllib3

Description

$ /opt/local/bin/python3 -c 'import requests'
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)

requests-2.21.0 does not work with urllib3-1.25:

cat /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests-2.21.0-py3.7.egg-info/requires.txt
chardet<3.1.0,>=3.0.2
idna<2.9,>=2.5
urllib3<1.25,>=1.21.1
certifi>=2017.4.17

[security]
pyOpenSSL>=0.14
cryptography>=1.3.4
idna>=2.0.0

[socks]
PySocks!=1.5.7,>=1.5.6

[socks:sys_platform == "win32" and python_version == "2.7"]
win_inet_pton

Change History (2)

comment:1 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)

This prevents installation of cmake.

comment:2 Changed 6 years ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: assignedclosed

In 714a95bcd1e281f84586fd72d10097424f630f1b/macports-ports (master):

py-requests: fix runtime incompatibility with urllib3 1.25

Closes: #58382

Note: See TracTickets for help on using tickets.