Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Using setuptoolsShellHook Sourcing pip-install-hook Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing setuptools-check-hook Using setuptoolsCheckPhase Sourcing pytest-check-hook Using pytestCheckPhase Removing setuptoolsCheckPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/jknbi80lh7vwrc0s8gjdp264143d9ww1-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/utils.py @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } building Executing setuptoolsBuildPhase running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/httpx copying httpx/_exceptions.py -> build/lib/httpx copying httpx/__init__.py -> build/lib/httpx copying httpx/_status_codes.py -> build/lib/httpx copying httpx/_multipart.py -> build/lib/httpx copying httpx/_auth.py -> build/lib/httpx copying httpx/_api.py -> build/lib/httpx copying httpx/__version__.py -> build/lib/httpx copying httpx/_compat.py -> build/lib/httpx copying httpx/_content.py -> build/lib/httpx copying httpx/_config.py -> build/lib/httpx copying httpx/_client.py -> build/lib/httpx copying httpx/_models.py -> build/lib/httpx copying httpx/_types.py -> build/lib/httpx copying httpx/_decoders.py -> build/lib/httpx copying httpx/_utils.py -> build/lib/httpx creating build/lib/httpx/_transports copying httpx/_transports/default.py -> build/lib/httpx/_transports copying httpx/_transports/__init__.py -> build/lib/httpx/_transports copying httpx/_transports/base.py -> build/lib/httpx/_transports copying httpx/_transports/mock.py -> build/lib/httpx/_transports copying httpx/_transports/wsgi.py -> build/lib/httpx/_transports copying httpx/_transports/asgi.py -> build/lib/httpx/_transports running egg_info creating httpx.egg-info writing httpx.egg-info/PKG-INFO writing dependency_links to httpx.egg-info/dependency_links.txt writing requirements to httpx.egg-info/requires.txt writing top-level names to httpx.egg-info/top_level.txt writing manifest file 'httpx.egg-info/SOURCES.txt' reading manifest file 'httpx.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'httpx.egg-info/SOURCES.txt' copying httpx/py.typed -> build/lib/httpx installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_exceptions.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/__init__.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_status_codes.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_multipart.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_auth.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_api.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/__version__.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_compat.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_content.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_config.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_client.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/py.typed -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_models.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_types.py -> build/bdist.linux-x86_64/wheel/httpx creating build/bdist.linux-x86_64/wheel/httpx/_transports copying build/lib/httpx/_transports/default.py -> build/bdist.linux-x86_64/wheel/httpx/_transports copying build/lib/httpx/_transports/__init__.py -> build/bdist.linux-x86_64/wheel/httpx/_transports copying build/lib/httpx/_transports/base.py -> build/bdist.linux-x86_64/wheel/httpx/_transports copying build/lib/httpx/_transports/mock.py -> build/bdist.linux-x86_64/wheel/httpx/_transports copying build/lib/httpx/_transports/wsgi.py -> build/bdist.linux-x86_64/wheel/httpx/_transports copying build/lib/httpx/_transports/asgi.py -> build/bdist.linux-x86_64/wheel/httpx/_transports copying build/lib/httpx/_decoders.py -> build/bdist.linux-x86_64/wheel/httpx copying build/lib/httpx/_utils.py -> build/bdist.linux-x86_64/wheel/httpx running install_egg_info Copying httpx.egg-info to build/bdist.linux-x86_64/wheel/httpx-0.18.0-py3.9.egg-info running install_scripts adding license file "LICENSE.md" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-x86_64/wheel/httpx-0.18.0.dist-info/WHEEL creating 'dist/httpx-0.18.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'httpx/__init__.py' adding 'httpx/__version__.py' adding 'httpx/_api.py' adding 'httpx/_auth.py' adding 'httpx/_client.py' adding 'httpx/_compat.py' adding 'httpx/_config.py' adding 'httpx/_content.py' adding 'httpx/_decoders.py' adding 'httpx/_exceptions.py' adding 'httpx/_models.py' adding 'httpx/_multipart.py' adding 'httpx/_status_codes.py' adding 'httpx/_types.py' adding 'httpx/_utils.py' adding 'httpx/py.typed' adding 'httpx/_transports/__init__.py' adding 'httpx/_transports/asgi.py' adding 'httpx/_transports/base.py' adding 'httpx/_transports/default.py' adding 'httpx/_transports/mock.py' adding 'httpx/_transports/wsgi.py' adding 'httpx-0.18.0.dist-info/LICENSE.md' adding 'httpx-0.18.0.dist-info/METADATA' adding 'httpx-0.18.0.dist-info/WHEEL' adding 'httpx-0.18.0.dist-info/top_level.txt' adding 'httpx-0.18.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Finished executing setuptoolsBuildPhase @nix { "action": "setPhase", "phase": "installPhase" } installing Executing pipInstallPhase /build/source/dist /build/source Processing ./httpx-0.18.0-py3-none-any.whl Requirement already satisfied: certifi in /nix/store/v0jiyb0y6ghgigf24xs8nyghj07b4zra-python3.9-certifi-2021.05.30/lib/python3.9/site-packages (from httpx==0.18.0) (2021.5.30) Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /nix/store/pikfq8b2n5cnig15sl72bmrqr4psl55z-python3.9-rfc3986-1.5.0/lib/python3.9/site-packages (from httpx==0.18.0) (1.5.0) Requirement already satisfied: httpcore<0.14.0,>=0.13.0 in /nix/store/b1797wkawjd0gmniqimmy2xhi9vi9wps-python3.9-httpcore-0.13.6/lib/python3.9/site-packages (from httpx==0.18.0) (0.13.6) Requirement already satisfied: sniffio in /nix/store/i81pl5x86qr8mrp1qi3y4iq6dl565fp1-python3.9-sniffio-1.2.0/lib/python3.9/site-packages (from httpx==0.18.0) (1.2.0) Requirement already satisfied: h11<0.13,>=0.11 in /nix/store/zza6b8fps56q1c9v1j7a812ldc5f2b0k-python3.9-h11-0.12.0/lib/python3.9/site-packages (from httpcore<0.14.0,>=0.13.0->httpx==0.18.0) (0.12.0) Requirement already satisfied: anyio==3.* in /nix/store/x52jbrvfd5zxckkw75087j8yahjgw9mq-python3.9-anyio-3.3.0/lib/python3.9/site-packages (from httpcore<0.14.0,>=0.13.0->httpx==0.18.0) (3.3.0) Requirement already satisfied: idna>=2.8 in /nix/store/l1wsx7bj7w7z5m7b6d52fcmn06p4vmpy-python3.9-idna-3.2/lib/python3.9/site-packages (from anyio==3.*->httpcore<0.14.0,>=0.13.0->httpx==0.18.0) (3.2) Installing collected packages: httpx Successfully installed httpx-0.18.0 /build/source Finished executing pipInstallPhase @nix { "action": "setPhase", "phase": "fixupPhase" } post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/fam8d02qd8nzfii87xjklf26nlpfrlnd-python3.9-httpx-0.18.0 strip is /nix/store/fh9f7pr9kxfwvs8lm4479lvhrkzmmkdw-binutils-2.35.1/bin/strip stripping (with command strip and flags -S) in /nix/store/fam8d02qd8nzfii87xjklf26nlpfrlnd-python3.9-httpx-0.18.0/lib patching script interpreter paths in /nix/store/fam8d02qd8nzfii87xjklf26nlpfrlnd-python3.9-httpx-0.18.0 checking for references to /build/ in /nix/store/fam8d02qd8nzfii87xjklf26nlpfrlnd-python3.9-httpx-0.18.0... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir @nix { "action": "setPhase", "phase": "installCheckPhase" } running install tests no Makefile or custom installCheckPhase, doing nothing @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } pythonCatchConflictsPhase @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } pythonRemoveBinBytecodePhase @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: httpx @nix { "action": "setPhase", "phase": "pytestCheckPhase" } pytestCheckPhase Executing pytestCheckPhase ============================= test session starts ============================== platform linux -- Python 3.9.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 rootdir: /build/source, configfile: setup.cfg plugins: asyncio-0.15.1, trio-0.7.0, cov-2.12.1, anyio-3.3.0 collecting ...  collecting 348 items  collected 644 items / 4 deselected / 640 selected  tests/test_api.py .......... [ 1%] tests/test_asgi.py .................... [ 4%] tests/test_auth.py ... [ 5%] tests/test_config.py ................................ [ 10%] tests/test_content.py ................... [ 13%] tests/test_decoders.py .............................. [ 17%] tests/test_exceptions.py .... [ 18%] tests/test_exported_members.py . [ 18%] tests/test_multipart.py ...................... [ 22%] tests/test_status_codes.py ...... [ 22%] tests/test_timeouts.py ...... [ 23%] tests/test_utils.py ................................................ [ 31%] tests/test_wsgi.py .......... [ 32%] tests/client/test_async_client.py ...................................... [ 38%] .............. [ 41%] tests/client/test_auth.py ........................................... [ 47%] tests/client/test_client.py ................................. [ 52%] tests/client/test_cookies.py ....... [ 54%] tests/client/test_event_hooks.py ......... [ 55%] tests/client/test_headers.py ......... [ 56%] tests/client/test_properties.py ....... [ 57%] tests/client/test_proxies.py ........................................... [ 64%] ............................ [ 69%] tests/client/test_queryparams.py ... [ 69%] tests/client/test_redirects.py ............................. [ 74%] tests/models/test_cookies.py ....... [ 75%] tests/models/test_headers.py .................. [ 77%] tests/models/test_queryparams.py ............. [ 80%] tests/models/test_requests.py ..................... [ 83%] tests/models/test_responses.py ......................................... [ 89%] ............................. [ 94%] tests/models/test_url.py ..................................... [100%] =============================== warnings summary =============================== tests/client/test_auth.py::test_auth_invalid_type /nix/store/5zj6yyaxs3qy8a85a6cjd02r0b0adjsa-python3.9-pytest-6.2.4/lib/python3.9/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: Traceback (most recent call last): File "/build/source/httpx/_client.py", line 1894, in __del__ if self._state == ClientState.OPENED: AttributeError: 'AsyncClient' object has no attribute '_state' warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/warnings.html ================= 640 passed, 4 deselected, 1 warning in 5.60s ================= Finished executing pytestCheckPhase @nix { "action": "setPhase", "phase": "pytestcachePhase" } pytestcachePhase