python310Packages.urllib3: remove pyopenssl as it is no longer recommended
This commit is contained in:
parent
fe5d77ff39
commit
fb76309157
|
@ -35,8 +35,7 @@ buildPythonPackage rec {
|
||||||
trio
|
trio
|
||||||
trio-websocket
|
trio-websocket
|
||||||
urllib3
|
urllib3
|
||||||
] ++ urllib3.optional-dependencies.secure
|
] ++ urllib3.optional-dependencies.socks;
|
||||||
++ urllib3.optional-dependencies.socks;
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
, brotli
|
, brotli
|
||||||
, brotlicffi
|
, brotlicffi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, certifi
|
|
||||||
, cryptography
|
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, idna
|
|
||||||
, mock
|
, mock
|
||||||
, pyopenssl
|
|
||||||
, pysocks
|
, pysocks
|
||||||
, pytest-freezegun
|
, pytest-freezegun
|
||||||
, pytest-timeout
|
, pytest-timeout
|
||||||
|
@ -65,7 +61,9 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
brotli = if isPyPy then [ brotlicffi ] else [ brotli ];
|
brotli = if isPyPy then [ brotlicffi ] else [ brotli ];
|
||||||
secure = [ certifi cryptography idna pyopenssl ];
|
# we are removing secure dependencies as they are no longer relevant with py3:
|
||||||
|
# https://urllib3.readthedocs.io/en/stable/reference/contrib/pyopenssl.html
|
||||||
|
# secure = [ certifi cryptography idna pyopenssl ];
|
||||||
socks = [ pysocks ];
|
socks = [ pysocks ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue