python310Packages.python-jenkins: allow binding to localhost on darwin

This commit is contained in:
Theodore Ni 2023-07-09 16:41:15 -07:00
parent 38145de4f3
commit 02963742b8
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -33,6 +33,8 @@ buildPythonPackage rec {
buildInputs = [ mock ];
propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ stestr testscenarios requests-mock ];
checkPhase = ''
# Skip tests that fail due to setuptools>=66.0.0 rejecting PEP 440