forked from NOAA-OWP/hydrotools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add future warning to
nwm_client_new
about package name change. (NO…
…AA-OWP#267) * remove python version dependent registry check * add warning about package name change * bump nwm-client-new to v7.5.0
- Loading branch information
Showing
3 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
python/nwm_client_new/src/hydrotools/nwm_client_new/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# removing __version__ import will cause build to fail. see: https://github.com/pypa/setuptools/issues/1724#issuecomment-627241822 | ||
from ._version import __version__ | ||
|
||
import warnings | ||
|
||
warnings.warn( | ||
"nwm_client_new will be renamed to nwm_client for v8.0+. Update imports as necessary.", | ||
FutureWarning | ||
) |
2 changes: 1 addition & 1 deletion
2
python/nwm_client_new/src/hydrotools/nwm_client_new/_version.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "7.4.4" | ||
__version__ = "7.5.0" |