3
0
Fork 0
forked from mirrors/nixpkgs

Merge #180518: python310Packages.selenium: fix dependencies

...into staging-next
This commit is contained in:
Vladimír Čunát 2022-07-08 07:27:08 +02:00
commit 7147d42084
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 9 additions and 5 deletions

View file

@ -35,7 +35,8 @@ buildPythonPackage rec {
trio trio
trio-websocket trio-websocket
urllib3 urllib3
] ++ urllib3.optional-dependencies.socks; ] ++ urllib3.optional-dependencies.secure
++ urllib3.optional-dependencies.socks;
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook

View file

@ -2,14 +2,18 @@
, brotli , brotli
, brotlicffi , brotlicffi
, buildPythonPackage , buildPythonPackage
, python-dateutil , certifi
, cryptography
, fetchPypi , fetchPypi
, idna
, isPyPy , isPyPy
, mock , mock
, pyopenssl
, pysocks , pysocks
, pytest-freezegun , pytest-freezegun
, pytest-timeout , pytest-timeout
, pytestCheckHook , pytestCheckHook
, python-dateutil
, tornado , tornado
, trustme , trustme
}: }:
@ -61,9 +65,8 @@ buildPythonPackage rec {
passthru.optional-dependencies = { passthru.optional-dependencies = {
brotli = if isPyPy then [ brotlicffi ] else [ brotli ]; brotli = if isPyPy then [ brotlicffi ] else [ brotli ];
# we are removing secure dependencies as they are no longer relevant with py3: # Use carefully since pyopenssl is not supported aarch64-darwin
# https://urllib3.readthedocs.io/en/stable/reference/contrib/pyopenssl.html secure = [ certifi cryptography idna pyopenssl ];
# secure = [ certifi cryptography idna pyopenssl ];
socks = [ pysocks ]; socks = [ pysocks ];
}; };