python3Packages.jeepney: skip failing io tests on darwin

All of these are failing with `OSError: [Errno 22] Invalid argument`.
This commit is contained in:
Martin Weinelt
2025-03-21 13:16:43 +01:00
parent 8fa05d5ca4
commit d723427220
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitLab,
pythonOlder,
@@ -28,19 +29,20 @@ buildPythonPackage rec {
build-system = [ flit-core ];
nativeCheckInputs = [
async-timeout
dbus
pytest
pytest-trio
pytest-asyncio
testpath
trio
] ++ lib.optionals (pythonOlder "3.11") [
async-timeout
];
checkPhase = ''
runHook preCheck
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf -- pytest
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf -- pytest ${lib.optionalString stdenv.hostPlatform.isDarwin "--ignore=jeepney/io/tests"}
runHook postCheck
'';