-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump nwis_client
version
#258
Conversation
Really odd. The GH action runners say that the tests passed, but looking at the output there was some kind of failure. https://github.com/NOAA-OWP/hydrotools/actions/runs/11239006782/job/31245048101?pr=258#step:6:43 Fatal error on SSL transport
protocol: <asyncio.sslproto.SSLProtocol object at 0x7ff174b7e640>
transport: <_SelectorSocketTransport closing fd=7>
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/selector_events.py", line 910, in write
n = self._sock.send(data)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/sslproto.py", line 685, in _process_write_backlog
self._transport.write(chunk)
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/selector_events.py", line 916, in write
self._fatal_error(exc, 'Fatal write error on socket transport')
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/selector_events.py", line 711, in _fatal_error
self._force_close(exc)
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/selector_events.py", line 7[23](https://github.com/NOAA-OWP/hydrotools/actions/runs/11239006782/job/31245048101?pr=258#step:6:24), in _force_close
self._loop.call_soon(self._call_connection_lost, exc)
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/base_events.py", line 719, in call_soon
self._check_closed()
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
Error: raise RuntimeError('Event loop is closed') |
I've got to pop over to another task for now. I will look at this in a bit. |
`pytest-aiohttp` re-exports `pytest-asyncio`'s `event_loop` fixture as `loop`. `pytest-aiohttp` will remove the `loop` fixture in the future. use the `pytest-asyncio`'s `event_loop` directly. aio-libs/pytest-aiohttp#19
9d3ae43
to
a96e431
Compare
this is annoying... a warning is issued without this present. the change to `pytest-asyncio` was added here: pytest-dev/pytest-asyncio@c74d1c3#diff-b6eecb9684dfb3a8e0ad8e43510999af4dc5dc5d03edaafd7fe6f872b22fe857R211
a96e431
to
e5d66b3
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Bump version in preparation for release.