Skip to content

Commit

Permalink
Update HT super package dependencies (#266)
Browse files Browse the repository at this point in the history
* lock versions of compatible subpackages, bump to 2.3.0

* remove deprecated packages add svi client

* ignore deprec packages

* update citation
  • Loading branch information
jarq6c authored Nov 21, 2024
1 parent 8e0e374 commit f6b6144
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ authors:
given-names: "Austin"
orcid: "https://orcid.org/0000-0002-7670-1298"
title: "OWPHydroTools"
version: 2.2.2
date-released: 2021-12-15
version: 2.3.0
date-released: 2024-11-21
url: "https://github.com/noaa-owp/hydrotools"
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PYTHON=$(PYENV)/bin/python3
NAMESPACE_DIR := ./python/

PACKAGE := hydrotools
SUBPACKAGES := _restclient[develop] nwis_client[develop] caches[develop] nwm_client_new[develop] events[develop] metrics[develop] nwm_client[develop]
SUBPACKAGES := _restclient[develop] nwis_client[develop] nwm_client_new[develop] events[develop] metrics[develop] svi_client[develop]

# discard `extras_require` qualifies from subpackage names (e.g. [develop])
SUBPACKAGES_WITHOUT_EXTRA_REQUIRE = $(shell echo $(SUBPACKAGES) | sed 's|\[[^][]*\]||g')
Expand All @@ -29,10 +29,10 @@ help:
.DEFAULT_GOAL := help

tests: install
$(PYTHON) -m pytest -s -m "not slow"
$(PYTHON) -m pytest -s -m "not slow" --ignore=./python/caches --ignore=./python/nwm_client

all-tests: install
$(PYTHON) -m pytest -s
$(PYTHON) -m pytest -s --ignore=./python/caches --ignore=./python/nwm_client

install: $(PYENV)/bin/activate
$(PYTHON) -m pip install $(SUBPACKAGES_PATHS)
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"hydrotools.nwis_client>=3.2.1",
"hydrotools.nwm_client[gcp]>=5.0.3",
"hydrotools.events>=1.1.5",
"hydrotools.metrics>=1.2.3",
"hydrotools.nwis_client==3.4.1",
"hydrotools.nwm_client_new==7.4.4",
"hydrotools.events==1.1.7",
"hydrotools.metrics==1.3.5",
"hydrotools.svi_client==0.0.3"
]
dynamic = ["version"]

Expand Down
2 changes: 1 addition & 1 deletion src/hydrotools/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.2.3"
__version__ = "2.3.0"

0 comments on commit f6b6144

Please sign in to comment.