structuredAttrs is enabled 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-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/slr5xh89jijm70dwvm49ypwx7ws8njhv-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/test_verbatim_prompts.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 claude_agent_sdk-0.2.174-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for claude_agent_sdk-0.2.174-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed claude_agent_sdk-0.2.174-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/kl85286scfx2xq8m4h119qy60jjl804a-python3.14-claude-agent-sdk-0.2.174-dist checking for references to /build/ in /nix/store/kl85286scfx2xq8m4h119qy60jjl804a-python3.14-claude-agent-sdk-0.2.174-dist... patching script interpreter paths in /nix/store/kl85286scfx2xq8m4h119qy60jjl804a-python3.14-claude-agent-sdk-0.2.174-dist shrinking RPATHs of ELF executables and libraries in /nix/store/4kwr6db2dc2l31ncbbqspcz7i71bwd9f-python3.14-claude-agent-sdk-0.2.174 checking for references to /build/ in /nix/store/4kwr6db2dc2l31ncbbqspcz7i71bwd9f-python3.14-claude-agent-sdk-0.2.174... patching script interpreter paths in /nix/store/4kwr6db2dc2l31ncbbqspcz7i71bwd9f-python3.14-claude-agent-sdk-0.2.174 stripping (with command strip and flags -S -p) in /nix/store/4kwr6db2dc2l31ncbbqspcz7i71bwd9f-python3.14-claude-agent-sdk-0.2.174/lib 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 Check whether the following modules can be imported: claude_agent_sdk Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest --ignore-glob=tests/test_close_cancellation.py -k not\ \(test_query_with_async_iterable\)\ and\ not\ \(test_ceiling_closes_stdin_when_idle_never_comes\)\ and\ not\ \(test_caller_who_opted_in_sees_the_frames\)\ and\ not\ \(test_follow_up_turn_is_served_and_sdk_frames_stay_hidden\) ============================= test session starts ============================== platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml testpaths: tests plugins: anyio-4.15.1, asyncio-1.4.0, cov-stub-1.0.0 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 1620 items / 8 deselected / 5 skipped / 1612 selected tests/test_build_wheel.py ...............................s.... [ 2%] tests/test_changelog.py ...... [ 2%] tests/test_client.py ................ [ 3%] tests/test_download_cli.py ............................................. [ 6%] ..................................................... [ 9%] tests/test_errors.py ......... [ 10%] tests/test_integration.py ..... [ 10%] tests/test_mcp_large_output.py .................. [ 11%] tests/test_message_parser.py ........................................... [ 14%] ..................................... [ 16%] tests/test_option_warnings.py .......................................... [ 19%] ...... [ 19%] tests/test_query.py .................................................... [ 22%] ......................................... [ 25%] tests/test_rate_limit_event_repro.py ..... [ 25%] tests/test_sdk_mcp_integration.py ...................................... [ 28%] ........................................................................ [ 32%] ................................ [ 34%] tests/test_session_helpers_store.py .................................... [ 36%] ...................................................... [ 40%] tests/test_session_import.py .................................. [ 42%] tests/test_session_mutations.py ........................................ [ 44%] ............ [ 45%] tests/test_session_resume.py ........................................... [ 48%] .................................................. [ 51%] tests/test_session_store_anyio.py .............. [ 52%] tests/test_session_store_conformance.py ............................. [ 53%] tests/test_session_summary.py .......................................... [ 56%] ....... [ 56%] tests/test_sessions.py ................................................. [ 59%] ........................................................................ [ 64%] .. [ 64%] tests/test_streaming_client.py ......................................... [ 67%] ..................... [ 68%] tests/test_subprocess_buffering.py ..................... [ 69%] tests/test_task_compat.py .............. [ 70%] tests/test_tool_callbacks.py ..................................... [ 72%] tests/test_transcript_mirror.py ........................................ [ 75%] .................... [ 76%] tests/test_transport.py ................................................ [ 79%] ........................................................................ [ 83%] ........................................................................ [ 88%] ............. [ 89%] tests/test_types.py .................................................... [ 92%] .................. [ 93%] tests/test_update_cli_version.py ....................................... [ 96%] ......................... [ 97%] tests/test_verbatim_prompts.py ....................................... [100%] ================ 1611 passed, 6 skipped, 8 deselected in 21.80s ================ Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase