python3Packages.wandb: Disable tests that fail in Darwin's strict sandbox (#424446)

authored by Gaétan Lepage and committed by GitHub 1b7cbe23 00e1d725

+24 -10
+24 -10
pkgs/development/python-modules/wandb/default.nix
··· 279 279 "--timeout=1024" 280 280 ]; 281 281 282 - disabledTestPaths = [ 283 - # Require docker access 284 - "tests/system_tests" 282 + disabledTestPaths = 283 + [ 284 + # Require docker access 285 + "tests/system_tests" 285 286 286 - # broke somewhere between sentry-sdk 2.15.0 and 2.22.0 287 - "tests/unit_tests/test_analytics/test_sentry.py" 287 + # broke somewhere between sentry-sdk 2.15.0 and 2.22.0 288 + "tests/unit_tests/test_analytics/test_sentry.py" 288 289 289 - # Server connection times out under load 290 - "tests/unit_tests/test_wandb_login.py" 290 + # Server connection times out under load 291 + "tests/unit_tests/test_wandb_login.py" 291 292 292 - # PermissionError: unable to write to .cache/wandb/artifacts 293 - "tests/unit_tests/test_artifacts/test_wandb_artifacts.py" 294 - ]; 293 + # PermissionError: unable to write to .cache/wandb/artifacts 294 + "tests/unit_tests/test_artifacts/test_wandb_artifacts.py" 295 + ] 296 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ 297 + # Breaks in sandbox: "Timed out waiting for wandb service to start" 298 + "tests/unit_tests/test_job_builder.py" 299 + ]; 295 300 296 301 disabledTests = 297 302 [ ··· 391 396 392 397 # RuntimeError: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1] 393 398 "test_wandb_image_with_matplotlib_figure" 399 + 400 + # AssertionError: assert 'did you mean https://api.wandb.ai' in '1' 401 + "test_login_bad_host" 402 + 403 + # Asserttion error: 1 != 0 (testing system exit code) 404 + "test_login_host_trailing_slash_fix_invalid" 405 + 406 + # Breaks in sandbox: "Timed out waiting for wandb service to start" 407 + "test_setup_offline" 394 408 ]; 395 409 396 410 pythonImportsCheck = [ "wandb" ];