chore(deps): update pre-commit hook pycqa/bandit to v1.8.6 (#281) #2392
verify.yml
on: push
Cache identify
5s
Matrix: pytest
Run mypy
0s
Build and publish Python 🐍 distributions 📦 to TestPyPI
0s
Process test complexity
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: 1.3268052948131053 != None
Drill down into differing attribute day_consumption_reset:
day_consumption_reset: datetime.datetime(2025, 7, 6, 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 0x7fa8e3669220>
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 0x7fa8e3669e50>
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 0x7fa8e3669080>
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.
|