mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
pythonPackages.ansible-runner: skip failing test on Catalina (#80484)
Catalina replaced the director /home with a symbolic link to `/System/Volumes/Data/home` and this test is looking for `/home` explicitly. I filed https://github.com/ansible/ansible-runner/issues/413 to get this fix upstream.
This commit is contained in:
parent
3adda62dc3
commit
f84bc7264c
|
@ -6,6 +6,7 @@
|
||||||
, python-daemon
|
, python-daemon
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, six
|
, six
|
||||||
|
, stdenv
|
||||||
, ansible
|
, ansible
|
||||||
, pytest
|
, pytest
|
||||||
, mock
|
, mock
|
||||||
|
@ -30,8 +31,12 @@ buildPythonPackage rec {
|
||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# test_process_isolation_settings is currently broken on Darwin Catalina
|
||||||
|
# https://github.com/ansible/ansible-runner/issues/413
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
HOME=$(mktemp -d) pytest --ignore test/unit/test_runner.py -k "not test_prepare"
|
HOME=$TMPDIR pytest \
|
||||||
|
--ignore test/unit/test_runner.py \
|
||||||
|
-k "not prepare ${lib.optionalString stdenv.isDarwin "and not process_isolation_settings"}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue