Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 20, 2021 23:24
Show Gist options
  • Save r-rmcgibbo/b0d3dbd03b72cb21533e716249bc81de to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/b0d3dbd03b72cb21533e716249bc81de to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 7 seconds | https://github.com/NixOS/nixpkgs/pull/117069
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pip-build-hook
Using pipBuildPhase
Using pipShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pytest-check-hook
Using pytestCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/flr3nz2zdv39lg7sd8gh115jbpa0v11r-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_websocket.py
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing pipBuildPhase
Creating a wheel...
WARNING: The directory '/homeless-shelter/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Processing /build/source
Preparing wheel metadata ... done
Building wheels for collected packages: simplisafe-python
Building wheel for simplisafe-python (PEP 517) ... done
Created wheel for simplisafe-python: filename=simplisafe_python-9.6.9-py3-none-any.whl size=25511 sha256=a07d3d7003dd671d7f5964266a5379ba45401668db55ed4e00fb6281f2652cbb
Stored in directory: /build/pip-ephem-wheel-cache-zs3xw12a/wheels/e1/fb/ff/3c7bf8327fe7b38e0848fbd084e404c8a61b776977c550714b
Successfully built simplisafe-python
Finished creating a wheel...
Finished executing pipBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/source/dist /build/source
Processing ./simplisafe_python-9.6.9-py3-none-any.whl
Requirement already satisfied: pytz<2022.0,>=2019.3 in /nix/store/8nrf8nxcnpd0dvnwx79gnzy5vdm9i55y-python3.8-pytz-2021.1/lib/python3.8/site-packages (from simplisafe-python==9.6.9) (2021.1)
Requirement already satisfied: python-socketio<6.0,>=4.6 in /nix/store/52qxmb5zaamcghcqb82dqzh9z56y1rdj-python3.8-python-socketio-5.0.4/lib/python3.8/site-packages (from simplisafe-python==9.6.9) (5.0.4)
Requirement already satisfied: voluptuous<0.13.0,>=0.11.7 in /nix/store/y78vcsnkv93vkmg2j5wrnr734hb04gmh-python3.8-voluptuous-0.12.1/lib/python3.8/site-packages (from simplisafe-python==9.6.9) (0.12.1)
Requirement already satisfied: websockets<9.0,>=8.1 in /nix/store/f24dpd3ffrak02xdq83zd53nzrdjhlav-python3.8-websockets-8.1/lib/python3.8/site-packages (from simplisafe-python==9.6.9) (8.1)
Requirement already satisfied: aiohttp<4.0.0,>=3.7.4 in /nix/store/a4a72lzy7fnp51szgxacdizy5w346hy1-python3.8-aiohttp-3.7.4.post0/lib/python3.8/site-packages (from simplisafe-python==9.6.9) (3.7.4.post0)
Requirement already satisfied: python-engineio<5.0.0,>=3.13.1 in /nix/store/761x8plw4rf35pvjfhrd8j604d12bi97-python3.8-python-engineio-4.0.0/lib/python3.8/site-packages (from simplisafe-python==9.6.9) (4.0.0)
Requirement already satisfied: attrs>=17.3.0 in /nix/store/663m340i8nwc4x2lg6ikvpgkp13657ph-python3.8-attrs-20.3.0/lib/python3.8/site-packages (from aiohttp<4.0.0,>=3.7.4->simplisafe-python==9.6.9) (20.3.0)
Requirement already satisfied: chardet<5.0,>=2.0 in /nix/store/9m4p624ywpl2j3m1cf1gq6kkx59131nn-python3.8-chardet-3.0.4/lib/python3.8/site-packages (from aiohttp<4.0.0,>=3.7.4->simplisafe-python==9.6.9) (3.0.4)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /nix/store/zydd9afdks5x73bhaddnfsb8g3a94a7d-python3.8-async-timeout-3.0.1/lib/python3.8/site-packages (from aiohttp<4.0.0,>=3.7.4->simplisafe-python==9.6.9) (3.0.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /nix/store/cziqxrdrwzb4sq9mcngyqz8p05bqmvv4-python3.8-multidict-5.1.0/lib/python3.8/site-packages (from aiohttp<4.0.0,>=3.7.4->simplisafe-python==9.6.9) (5.1.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /nix/store/8nlnxkig0zdz505y3bjq932568l5w5vj-python3.8-yarl-1.6.3/lib/python3.8/site-packages (from aiohttp<4.0.0,>=3.7.4->simplisafe-python==9.6.9) (1.6.3)
Requirement already satisfied: typing-extensions>=3.6.5 in /nix/store/gwkb6a1wi5v2j4d54bgyfws53iv96m6m-python3.8-typing_extensions-3.7.4.3/lib/python3.8/site-packages (from aiohttp<4.0.0,>=3.7.4->simplisafe-python==9.6.9) (3.7.4.3)
Requirement already satisfied: bidict>=0.21.0 in /nix/store/jsbbdb8lrjr1bsvj37ij856xl1pkk4yv-python3.8-bidict-0.21.2/lib/python3.8/site-packages (from python-socketio<6.0,>=4.6->simplisafe-python==9.6.9) (0.21.2)
Requirement already satisfied: idna>=2.0 in /nix/store/n5m51fwlbv677l2zibrhga61mplvbmbi-python3.8-idna-2.10/lib/python3.8/site-packages (from yarl<2.0,>=1.0->aiohttp<4.0.0,>=3.7.4->simplisafe-python==9.6.9) (2.10)
Installing collected packages: simplisafe-python
Successfully installed simplisafe-python-9.6.9
/build/source
Finished executing pipInstallPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jhbsd65hfvghkbg5h9qgdybryb0ci3ql-python3.8-simplisafe-python-9.6.9
strip is /nix/store/h5wgppbyv8vkla58v8zi535j5i9akly5-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/jhbsd65hfvghkbg5h9qgdybryb0ci3ql-python3.8-simplisafe-python-9.6.9/lib
patching script interpreter paths in /nix/store/jhbsd65hfvghkbg5h9qgdybryb0ci3ql-python3.8-simplisafe-python-9.6.9
checking for references to /build/ in /nix/store/jhbsd65hfvghkbg5h9qgdybryb0ci3ql-python3.8-simplisafe-python-9.6.9...
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: simplipy
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
pytestCheckPhase
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.8.8, pytest-6.2.2, py-1.9.0, pluggy-0.13.1
rootdir: /build/source
plugins: aresponses-2.1.4, asyncio-0.14.0, cov-2.10.1
collecting ...
collected 71 items
tests/test_api.py ....... [ 9%]
tests/test_camera.py .. [ 12%]
tests/test_lock.py ...... [ 21%]
tests/test_websocket.py .......... [ 35%]
tests/sensor/test_base.py . [ 36%]
tests/sensor/test_v2.py . [ 38%]
tests/sensor/test_v3.py .... [ 43%]
tests/system/test_base.py ..... [ 50%]
tests/system/test_v2.py ...... [ 59%]
tests/system/test_v3.py ............................. [100%]
=============================== warnings summary ===============================
tests/test_websocket.py::test_connect_sync_success
tests/test_websocket.py::test_reconnect_on_new_access_token
tests/test_websocket.py::test_sync_events
/build/source/simplipy/websocket.py:270: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
target()
tests/test_websocket.py::test_sync_events
/build/source/simplipy/websocket.py:322: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
target(message)
tests/test_websocket.py::test_sync_events
/build/source/simplipy/websocket.py:243: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
self._sync_disconnect_handler()
-- Docs: https://docs.pytest.org/en/stable/warnings.html
======================== 71 passed, 5 warnings in 2.25s ========================
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