Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/7gllbm0c52hxhk9z7k4wzgavslmz6g6z-nix-eval-warnings source root is nix-eval-warnings setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "nix-eval-warnings/tests/test_nix_eval_warnings.py" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... * Building wheel... Successfully built nix_eval_warnings-0.1.0-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for nix_eval_warnings-0.1.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed nix_eval_warnings-0.1.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-53275-3306978235/ in /nix/store/c7z3vy060s4yczprnfzzai1q0dgzr3zq-nix-eval-warnings-0.1.0... patching script interpreter paths in /nix/store/c7z3vy060s4yczprnfzzai1q0dgzr3zq-nix-eval-warnings-0.1.0 stripping (with command strip and flags -S) in /nix/store/c7z3vy060s4yczprnfzzai1q0dgzr3zq-nix-eval-warnings-0.1.0/lib /nix/store/c7z3vy060s4yczprnfzzai1q0dgzr3zq-nix-eval-warnings-0.1.0/bin checking for references to /nix/var/nix/builds/nix-53275-3306978235/ in /nix/store/2pb4zvc0cizpi9hkgkkiydq4rwnmyah9-nix-eval-warnings-0.1.0-dist... patching script interpreter paths in /nix/store/2pb4zvc0cizpi9hkgkkiydq4rwnmyah9-nix-eval-warnings-0.1.0-dist Rewriting #!/nix/store/kmq6qdcg0yq6r4awf02dgq003n42r6zk-python3-3.14.7/bin/python3.14 to #!/nix/store/kmq6qdcg0yq6r4awf02dgq003n42r6zk-python3-3.14.7 wrapping `/nix/store/c7z3vy060s4yczprnfzzai1q0dgzr3zq-nix-eval-warnings-0.1.0/bin/nix-eval-warnings'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest ============================= test session starts ============================== platform darwin -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0 rootdir: /nix/var/nix/builds/nix-53275-3306978235/nix-eval-warnings configfile: pyproject.toml collected 12 items tests/test_nix_eval_warnings.py ..F......... [100%] =================================== FAILURES =================================== ____ TestNixEvalWarningsIntegration.test_source_location_has_file_and_line _____ self = def test_source_location_has_file_and_line(self) -> None: """Test that source file and line number are extracted.""" for w in self.warnings: > assert "flake.nix:" in w.source, ( f"Expected 'flake.nix:' in source, got: {w.source}" ) E AssertionError: Expected 'flake.nix:' in source, got: E assert 'flake.nix:' in '' E + where '' = EvalWarning(attr='x86_64-linux.uses-input', warning_type='warning from subflake', source='', option_path='').source tests/test_nix_eval_warnings.py:169: AssertionError =========================== short test summary info ============================ FAILED tests/test_nix_eval_warnings.py::TestNixEvalWarningsIntegration::test_source_location_has_file_and_line - AssertionError: Expected 'flake.nix:' in source, got: ========================= 1 failed, 11 passed in 4.75s =========================