Loading pkgs/development/python-modules/swh-auth/default.nix +4 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitLab, setuptools, Loading Loading @@ -47,6 +48,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "swh.auth" ]; # Many broken tests on Darwin. Disabling them for now. doCheck = !stdenv.hostPlatform.isDarwin; nativeCheckInputs = [ aiocache djangorestframework Loading pkgs/development/python-modules/swh-core/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,9 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; # Many broken tests on Darwin. Disabling them for now. doCheck = !stdenv.hostPlatform.isDarwin; nativeCheckInputs = [ aiohttp-utils flask Loading pkgs/development/python-modules/swh-journal/default.nix +11 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitLab, setuptools, Loading Loading @@ -45,6 +46,16 @@ buildPythonPackage rec { pytest-mock ]; disabledTestPaths = [ # AssertionError: assert {'author': {'email': b'', 'fullname': b'foo', 'name': b'foo'}, 'date': {'offset_bytes': b'+0200', 'timestamp': {'micro...': 1234567890}}, 'id': b'\x80Y\xdcN\x17\xfc\xd0\xe5\x1c\xa3\xbc\xd6\xb8\x0fEw\xd2\x81\xfd\x08', 'message': b'foo', ...} is None "swh/journal/tests/test_kafka_writer.py" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ #Fatal Python error: Segmentation fault" "swh/journal/tests/test_client.py" "swh/journal/tests/test_pytest_plugin.py" ]; meta = { description = "Persistent logger of changes to the archive, with publish-subscribe support"; homepage = "https://gitlab.softwareheritage.org/swh/devel/swh-journal"; Loading pkgs/development/python-modules/swh-objstorage/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "swh.objstorage" ]; # Many broken tests on Darwin. Disabling them for now. doCheck = !stdenv.hostPlatform.isDarwin; enabledTestPaths = [ "swh/objstorage/tests" ]; nativeCheckInputs = [ Loading pkgs/development/python-modules/swh-scanner/default.nix +8 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitLab, setuptools, Loading Loading @@ -65,6 +66,13 @@ buildPythonPackage rec { types-requests ]; disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin) [ # Failed: Failed to start the server after 5 seconds. "test_add_provenance_with_release" "test_add_provenance_with_revision" "test_scanner_result" ]; disabledTestPaths = [ # pytestRemoveBytecodePhase fails with: "error (ignored): error: opening directory "/tmp/nix-build-python3.12-swh-scanner-0.8.3.drv-5/build/pytest-of-nixbld/pytest-0/test_randomdir_policy_info_cal0/big-directory/dir/dir/dir/ ......" "swh/scanner/tests/test_policy.py" Loading Loading
pkgs/development/python-modules/swh-auth/default.nix +4 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitLab, setuptools, Loading Loading @@ -47,6 +48,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "swh.auth" ]; # Many broken tests on Darwin. Disabling them for now. doCheck = !stdenv.hostPlatform.isDarwin; nativeCheckInputs = [ aiocache djangorestframework Loading
pkgs/development/python-modules/swh-core/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,9 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; # Many broken tests on Darwin. Disabling them for now. doCheck = !stdenv.hostPlatform.isDarwin; nativeCheckInputs = [ aiohttp-utils flask Loading
pkgs/development/python-modules/swh-journal/default.nix +11 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitLab, setuptools, Loading Loading @@ -45,6 +46,16 @@ buildPythonPackage rec { pytest-mock ]; disabledTestPaths = [ # AssertionError: assert {'author': {'email': b'', 'fullname': b'foo', 'name': b'foo'}, 'date': {'offset_bytes': b'+0200', 'timestamp': {'micro...': 1234567890}}, 'id': b'\x80Y\xdcN\x17\xfc\xd0\xe5\x1c\xa3\xbc\xd6\xb8\x0fEw\xd2\x81\xfd\x08', 'message': b'foo', ...} is None "swh/journal/tests/test_kafka_writer.py" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ #Fatal Python error: Segmentation fault" "swh/journal/tests/test_client.py" "swh/journal/tests/test_pytest_plugin.py" ]; meta = { description = "Persistent logger of changes to the archive, with publish-subscribe support"; homepage = "https://gitlab.softwareheritage.org/swh/devel/swh-journal"; Loading
pkgs/development/python-modules/swh-objstorage/default.nix +3 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "swh.objstorage" ]; # Many broken tests on Darwin. Disabling them for now. doCheck = !stdenv.hostPlatform.isDarwin; enabledTestPaths = [ "swh/objstorage/tests" ]; nativeCheckInputs = [ Loading
pkgs/development/python-modules/swh-scanner/default.nix +8 −0 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitLab, setuptools, Loading Loading @@ -65,6 +66,13 @@ buildPythonPackage rec { types-requests ]; disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin) [ # Failed: Failed to start the server after 5 seconds. "test_add_provenance_with_release" "test_add_provenance_with_revision" "test_scanner_result" ]; disabledTestPaths = [ # pytestRemoveBytecodePhase fails with: "error (ignored): error: opening directory "/tmp/nix-build-python3.12-swh-scanner-0.8.3.drv-5/build/pytest-of-nixbld/pytest-0/test_randomdir_policy_info_cal0/big-directory/dir/dir/dir/ ......" "swh/scanner/tests/test_policy.py" Loading