Commit 9133935f authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.datalad: ensure tests work on Darwin

parent 625bb930
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -152,6 +152,8 @@ buildPythonPackage (finalAttrs: {
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    # pbcopy not found
    "test_wtf"
    # hangs
    "test_keyring"
  ]
  ++ lib.optionals (pythonAtLeast "3.14") [
    # For all: https://github.com/datalad/datalad/issues/7781
@@ -180,6 +182,9 @@ buildPythonPackage (finalAttrs: {
    "-Wignore::DeprecationWarning"
  ];

  # Tests use ports on localhost
  __darwinAllowLocalNetworking = true;

  pythonImportsCheck = [ "datalad" ];

  meta = {