Closed aaraney closed 1 year ago
This does not appear to affect > python 3.7
. I see two paths forward here, 1.) we drop support for python 3.7
for nwm_client_new
, 2.) we pin the version of importlib-metadata
to < 5.0.0
for python 3.7
only (I would have to look into how to do this). Thoughts, @jarq6c?
xarray
dropping support for python 3.7
seems like a good reason for us to drop it. It looks like other downstream projects have linked to that PR and also chosen to drop 3.7
support. Python 3.7
will hit EOL by 2023-06 or 2023-07.
Probably a good move to drop support for 3.7
and bring in support for 3.10
. I've begun resenting having to from typing import Dict, Tuple, List
anyway.
Im happy with dropping 3.7
support also. When did you intend to switch nwm_client
and nwm_client_new
? Just curious is now is a good time or at least at the next release, swap in nwm_client_new
and drop support for 3.7
?
Nice, #219 is a repeat of this.
@jarq6c, for now to stop the github actions from failing I am going to pin importlib-metadata<=4.13.0
. When we get around to dropping support for 3.7
ill remove that dependency.
The test runners for #210 found a failing
nwm_client_new
test. TheAttributeError
is raised inxarray
source when getting axarray
backend. See the below collapsed test failure trace for more detail.full trace
[source](https://github.com/NOAA-OWP/hydrotools/actions/runs/3500004127/jobs/5862205193#step:5:39) ```shell =================================== FAILURES =================================== _______________________________ test_get_dataset _______________________________ Unclosed client session client_session:A quick look on
xarray
's issue tracker led me to this -- a verbatim reproduction of this issue. Conversation there pointed to the issue's source, the newly released version (5.0.0
) ofimportlib-metadata
andpython 3.7
(no longer actively supported byxarray
).