Skip to content

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1… #2387

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1…

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1… #2387

Triggered via push July 4, 2025 01:12
Status Failure
Total duration 3m 30s
Artifacts

verify.yml

on: push
Cache identify
6s
Cache identify
Shellcheck
4s
Shellcheck
Dependency
4s
Dependency
Ruff check and force
9s
Ruff check and force
Check commit
29s
Check commit
Matrix: pytest
Process test coverage
0s
Process test coverage
Run mypy
0s
Run mypy
Build and publish Python 🐍 distributions 📦 to TestPyPI
0s
Build and publish Python 🐍 distributions 📦 to TestPyPI
Process test complexity
0s
Process test complexity
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
Run pytest using Python 3.13
Process completed with exit code 1.
Run pytest using Python 3.13
Event loop is closed
Run pytest using Python 3.13
Event loop is closed
Run pytest using Python 3.13
Event loop is closed
Run pytest using Python 3.13: tests/test_usb.py#L940
TestStick.test_energy_circle AssertionError: assert EnergyStatist...on_reset=None) == EnergyStatist...on_reset=None) Omitting 8 identical items, use -vv to show Differing attributes: ['day_consumption', 'day_consumption_reset'] Drill down into differing attribute day_consumption: day_consumption: 0.6654729637405271 != None Drill down into differing attribute day_consumption_reset: day_consumption_reset: datetime.datetime(2025, 7, 4, 0, 0, tzinfo=datetime.timezone(datetime.timedelta(0), 'UTC')) != None
Run pytest using Python 3.13: venv/lib/python3.13/site-packages/_pytest/unraisableexception.py#L67
Exception ignored in: <coroutine object StickQueue._send_queue_worker at 0x7fa0e4e6cfb0> Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/queues.py", line 186, in get await getter GeneratorExit During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/plugwise_usb/connection/queue.py", line 142, in _send_queue_worker request = await self._submit_queue.get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/queues.py", line 188, in get getter.cancel() # Just in case getter is not done yet. ~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/base_events.py", line 833, in call_soon self._check_closed() ~~~~~~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/base_events.py", line 556, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
Run pytest using Python 3.13: venv/lib/python3.13/site-packages/_pytest/unraisableexception.py#L67
Exception ignored in: <coroutine object StickReceiver._data_queue_worker at 0x7fa0e4e6c860> Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/queues.py", line 186, in get await getter GeneratorExit During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/plugwise_usb/connection/receiver.py", line 229, in _data_queue_worker if (data := await self._data_queue.get()) != b"FFFFFFFF": ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/queues.py", line 188, in get getter.cancel() # Just in case getter is not done yet. ~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/base_events.py", line 833, in call_soon self._check_closed() ~~~~~~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/base_events.py", line 556, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.
Run pytest using Python 3.13: venv/lib/python3.13/site-packages/_pytest/unraisableexception.py#L67
Exception ignored in: <coroutine object StickReceiver._message_queue_worker at 0x7fa0e4e6d560> Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/queues.py", line 186, in get await getter GeneratorExit During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/python-plugwise-usb/python-plugwise-usb/plugwise_usb/connection/receiver.py", line 284, in _message_queue_worker response: PlugwiseResponse = await self._message_queue.get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/queues.py", line 188, in get getter.cancel() # Just in case getter is not done yet. ~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/base_events.py", line 833, in call_soon self._check_closed() ~~~~~~~~~~~~~~~~~~^^ File "/opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/asyncio/base_events.py", line 556, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.