Skip to content

<pkg>.overridePythonAttrs: take both checkPhase and installCheckPhase and pass installCheckPhase#469804

Draft
ShamrockLee wants to merge 4 commits into
NixOS:stagingfrom
ShamrockLee:build-python-install-check-compat
Draft

<pkg>.overridePythonAttrs: take both checkPhase and installCheckPhase and pass installCheckPhase#469804
ShamrockLee wants to merge 4 commits into
NixOS:stagingfrom
ShamrockLee:build-python-install-check-compat

overridePythonAttrs: take both checkPhase and installCheckPhase and p…

9f06448
Select commit
Loading
Failed to load commit list.
OfBorg / overridePythonAttrs, overridePythonAttrs.passthru.tests, python3Packages.buildPythonPackage, python3Packages.buildPythonPackage.passthru.tests, python3Packages.pytestCheckHook, python3Packages.pytestCheckHook.passthru.tests, python3Packages.unittestCheckHook, python3Packages.unittestCheckHook.passthru.tests on aarch64-darwin completed Dec 28, 2025 in 0s

Unexpected error: command failed with exit code 1

Attempted: python3Packages.pytestCheckHook, python3Packages.pytestCheckHook.passthru.tests, python3Packages.unittestCheckHook

The following builds were skipped because they don't evaluate on aarch64-darwin: overridePythonAttrs, overridePythonAttrs.passthru.tests, python3Packages.buildPythonPackage, python3Packages.buildPythonPackage.passthru.tests, python3Packages.unittestCheckHook.passthru.tests

Details

Partial log

       > original builder: @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
       > original builder: Running phase: pythonRemoveBinBytecodePhase
       > original builder: @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
       > original builder: Running phase: pythonImportsCheckPhase
       > original builder: @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
       > original builder: Executing pythonImportsCheckPhase
       > original builder: Check whether the following modules can be imported: objprint
       > testBuildFailure: The builder did not fail, but a failure was expected!
       For full logs, run 'nix log /nix/store/agamk6sbr0l713qcm86h6v3gwha0pnjh-python3.13-test-pytestCheckHook-disabledTestPaths-glob-nonexistent-objprint-0.3.0.drv'.
error: build of '/nix/store/agamk6sbr0l713qcm86h6v3gwha0pnjh-python3.13-test-pytestCheckHook-disabledTestPaths-glob-nonexistent-objprint-0.3.0.drv', '/nix/store/aqsz2m6r01xzwmryyywn8rprn3pmdkzm-python3.13-test-pytestCheckHook-enabledTestPaths-glob-nonexistent-objprint-0.3.0.drv', '/nix/store/brd90dv9znn5hv3ra1s351ncj9q66201-python3.13-test-pytestCheckHook-enabledTestPaths-nonexistent-objprint-0.3.0.drv', '/nix/store/c96a30xylsnqcpjr47hhxyf7m1miv1qx-python3.13-test-pytestCheckHook-disabledTestPaths-nonexistent-objprint-0.3.0.drv' failed