NOAA-OWP / hydrotools

Suite of tools for retrieving USGS NWIS observations and evaluating National Water Model (NWM) data.
Other
53 stars 12 forks source link

DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace #223

Closed jarq6c closed 10 months ago

jarq6c commented 1 year ago
DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    pkg_resources.declare_namespace(__name__)

Noticed this while testing nwm_client_new. Waiting for google-cloud-storage to update. See details here: https://github.com/googleapis/python-storage/issues/1000#issue-1610742091

jarq6c commented 10 months ago

Looks like this warning is gone, though a new one has popped up concerning numpy.alltrue