Skip to content
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

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Bump nwis_client version #258

merged 3 commits into from
Oct 8, 2024

Conversation

aaraney
Copy link
Member

@aaraney aaraney commented Oct 8, 2024

Bump version in preparation for release.

@aaraney aaraney requested a review from jarq6c October 8, 2024 15:43
@aaraney aaraney self-assigned this Oct 8, 2024
@aaraney aaraney marked this pull request as draft October 8, 2024 15:46
@aaraney
Copy link
Member Author

aaraney commented Oct 8, 2024

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')

@aaraney
Copy link
Member Author

aaraney commented Oct 8, 2024

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
@aaraney aaraney marked this pull request as ready for review October 8, 2024 20:43
@aaraney aaraney merged commit e43e527 into NOAA-OWP:main Oct 8, 2024
3 checks passed
@aaraney aaraney deleted the bump_nwis_client branch October 8, 2024 20:43
@aaraney
Copy link
Member Author

aaraney commented Oct 8, 2024

Copy link
Collaborator

@jarq6c jarq6c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants