Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 19, 2021 03:59
Show Gist options
  • Save r-rmcgibbo/ce2f5bcda9dc2e8bbae2a3cf8cc68775 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/ce2f5bcda9dc2e8bbae2a3cf8cc68775 to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: 10 seconds | https://github.com/NixOS/nixpkgs/pull/116814
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/vcjlnidpnz696p813hjkzkfgqakzqr4g-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/_decoders.py -> build/lib/httpx
copying httpx/_multipart.py -> build/lib/httpx
copying httpx/_api.py -> build/lib/httpx
copying httpx/_exceptions.py -> build/lib/httpx
copying httpx/_models.py -> build/lib/httpx
copying httpx/_status_codes.py -> build/lib/httpx
copying httpx/_auth.py -> build/lib/httpx
copying httpx/__init__.py -> build/lib/httpx
copying httpx/_types.py -> build/lib/httpx
copying httpx/_utils.py -> build/lib/httpx
copying httpx/_client.py -> build/lib/httpx
copying httpx/__version__.py -> build/lib/httpx
copying httpx/_content.py -> build/lib/httpx
copying httpx/_config.py -> build/lib/httpx
creating build/lib/httpx/_transports
copying httpx/_transports/mock.py -> 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/asgi.py -> build/lib/httpx/_transports
copying httpx/_transports/wsgi.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/_decoders.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/_api.py -> build/bdist.linux-x86_64/wheel/httpx
copying build/lib/httpx/_exceptions.py -> build/bdist.linux-x86_64/wheel/httpx
copying build/lib/httpx/_models.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/_auth.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/_types.py -> build/bdist.linux-x86_64/wheel/httpx
copying build/lib/httpx/_utils.py -> build/bdist.linux-x86_64/wheel/httpx
copying build/lib/httpx/py.typed -> build/bdist.linux-x86_64/wheel/httpx
creating 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/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/asgi.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/_client.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/_content.py -> build/bdist.linux-x86_64/wheel/httpx
copying build/lib/httpx/_config.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.17.1-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.17.1.dist-info/WHEEL
creating 'dist/httpx-0.17.1-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/_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/default.py'
adding 'httpx/_transports/mock.py'
adding 'httpx/_transports/wsgi.py'
adding 'httpx-0.17.1.dist-info/LICENSE.md'
adding 'httpx-0.17.1.dist-info/METADATA'
adding 'httpx-0.17.1.dist-info/WHEEL'
adding 'httpx-0.17.1.dist-info/top_level.txt'
adding 'httpx-0.17.1.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.17.1-py3-none-any.whl
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /nix/store/g9bx8yn3a345lapgglxbjfjk34vz1v60-python3.9-rfc3986-1.4.0/lib/python3.9/site-packages (from httpx==0.17.1) (1.4.0)
Requirement already satisfied: httpcore<0.13,>=0.12.1 in /nix/store/l37ywcasaf0yrbypp1p6s06463m0ii8h-python3.9-httpcore-0.12.3/lib/python3.9/site-packages (from httpx==0.17.1) (0.12.3)
Requirement already satisfied: certifi in /nix/store/hahdybiqj7j1kvcqss343ygfzlnnhld0-python3.9-certifi-2020.12.5/lib/python3.9/site-packages (from httpx==0.17.1) (2020.12.5)
Requirement already satisfied: sniffio in /nix/store/py7czxm74vvy47gaq9k6hpblyrqk8fny-python3.9-sniffio-1.2.0/lib/python3.9/site-packages (from httpx==0.17.1) (1.2.0)
Requirement already satisfied: h11==0.* in /nix/store/pyh560w11gmflzd7khgs5fw620j0g66v-python3.9-h11-0.12.0/lib/python3.9/site-packages (from httpcore<0.13,>=0.12.1->httpx==0.17.1) (0.12.0)
Requirement already satisfied: idna in /nix/store/k5kzl6zyldy0zxygzycl7wbwm7rpw4pm-python3.9-idna-2.10/lib/python3.9/site-packages (from rfc3986[idna2008]<2,>=1.3->httpx==0.17.1) (2.10)
Installing collected packages: httpx
Successfully installed httpx-0.17.1
/build/source
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/8439khpxndm8q1vzw3hzwayvph8vpgrd-python3.9-httpx-0.17.1
strip is /nix/store/xdii8qvch5h8chyp0z2is2qzky565w68-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/8439khpxndm8q1vzw3hzwayvph8vpgrd-python3.9-httpx-0.17.1/lib
patching script interpreter paths in /nix/store/8439khpxndm8q1vzw3hzwayvph8vpgrd-python3.9-httpx-0.17.1
checking for references to /build/ in /nix/store/8439khpxndm8q1vzw3hzwayvph8vpgrd-python3.9-httpx-0.17.1...
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.2, pytest-6.2.2, py-1.9.0, pluggy-0.13.1
rootdir: /build/source, configfile: setup.cfg
plugins: asyncio-0.14.0, trio-0.7.0, cov-2.10.1
collecting ...
collecting 301 items
collecting 580 items
collected 612 items / 4 deselected / 608 selected
tests/test_api.py .......... [ 1%]
tests/test_asgi.py ................ [ 4%]
tests/test_auth.py ... [ 4%]
tests/test_config.py ................................ [ 10%]
tests/test_content.py ................ [ 12%]
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 ....... [ 23%]
tests/test_timeouts.py ...... [ 24%]
tests/test_utils.py ................................................ [ 32%]
tests/test_wsgi.py .......... [ 33%]
tests/client/test_async_client.py ...................................... [ 40%]
............ [ 42%]
tests/client/test_auth.py ........................................... [ 49%]
tests/client/test_client.py ............................... [ 54%]
tests/client/test_cookies.py ...... [ 55%]
tests/client/test_event_hooks.py ......... [ 56%]
tests/client/test_headers.py ......... [ 58%]
tests/client/test_properties.py ....... [ 59%]
tests/client/test_proxies.py ........................................... [ 66%]
.......................... [ 70%]
tests/client/test_queryparams.py ... [ 71%]
tests/client/test_redirects.py ........................... [ 75%]
tests/models/test_cookies.py ....... [ 76%]
tests/models/test_headers.py .................. [ 79%]
tests/models/test_queryparams.py ....... [ 80%]
tests/models/test_requests.py .................. [ 83%]
tests/models/test_responses.py ......................................... [ 90%]
......................... [ 94%]
tests/models/test_url.py ................................ [100%]
=============================== warnings summary ===============================
tests/client/test_auth.py::test_auth_invalid_type
/nix/store/5nbqcx553p6fzx1rcx8ljh22168a5p0z-python3.9-pytest-6.2.2/lib/python3.9/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <function AsyncClient.__del__ at 0x7ffff59675e0>
Traceback (most recent call last):
File "/build/source/httpx/_client.py", line 1771, in __del__
if self._state == ClientState.OPENED:
AttributeError: 'AsyncClient' object has no attribute '_state'
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
tests/client/test_proxies.py::test_unsupported_proxy_scheme
/nix/store/5nbqcx553p6fzx1rcx8ljh22168a5p0z-python3.9-pytest-6.2.2/lib/python3.9/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <function Client.__del__ at 0x7ffff5936a60>
Traceback (most recent call last):
File "/build/source/httpx/_client.py", line 1134, in __del__
self.close()
File "/build/source/httpx/_client.py", line 1106, in close
self._transport.close()
AttributeError: 'Client' object has no attribute '_transport'
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
================ 608 passed, 4 deselected, 2 warnings in 6.87s =================
Finished executing pytestCheckPhase
@nix { "action": "setPhase", "phase": "pytestcachePhase" }
pytestcachePhase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment