Skip to content

Commit d2a77da

Browse files
authored
Merge pull request #322 from EC-USGS/v2.0.1
Release 2.0.1
2 parents 856ac8e + 470ee0c commit d2a77da

File tree

8 files changed

+46
-48
lines changed

8 files changed

+46
-48
lines changed

.github/RELEASE.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,16 @@ To release a new version:
4444
`v{major}.{minor}.{patch}` ([semantic version](https://semver.org/) number
4545
with a leading 'v'). For instance, for a minor release, if this repo is an
4646
`upstream` remote and one's local `develop` is up to date with upstream
47-
`develop`, then from `develop` run `git switch -c vx.y.z`.
47+
`develop`, then from `develop` run `git switch -c vx.y.z`.
4848

4949
1. If this is a patch release, make changes/fixes locally. If this is a major or
5050
minor release, no changes may be needed. In either case, add the release version
5151
and date to the top of `doc/whats-new.rst`. If a patch, put it below the
5252
pending minor release. Also update the version in `doc/index.rst`. Update the
5353
CITATION.cff file. If a major release, get the provisional new DOI from USGS
54-
and add it to CITATION.cff and the main README.md.
54+
and add it to CITATION.cff and the top-level README.md. If the release is
55+
approved, put the disclaimer for approved releases onthe top-level README.md.
56+
Otherwise keep the provisional disclaimer.
5557

5658
1. Push the branch to this repo. For instance, if this repo is an `upstream`
5759
remote: `git push -u upstream vx.y.z`. This starts a job to:
@@ -103,13 +105,15 @@ To release a new version:
103105

104106
1. In the case of a minor or major release, (a patch would be applied to both
105107
main and develop?) a couple of manual steps:
106-
- Check out `main` as a new branch to get it back into develop,
108+
- Check out `main` as a new branch in order to get it back into develop,
107109
eg feat_main_to_dev.
108110
- Run `.github/scripts/update_version.py -v x.y+1.0.dev0` to update
109111
`version.txt` and `pywatershed/version.py` with the minor version number
110112
incremented. The `.dev0` suffix indicates preliminary development status.
111113
- Add a new minor release to the top of `doc/whats-new.rst`
112114
- Incorporate the ASV details from the previous section above.
115+
- If main was an approved release, revert the disclaimer on the top-level
116+
README.md to the provisional disclaimer.
113117
- Open a PR against `develop` with the updated version files and the
114118
updates previously merged to `main`.
115119

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ jobs:
331331
- name: Setup Python
332332
uses: actions/setup-python@v4
333333
with:
334-
python-version: 3.10
334+
python-version: "3.10"
335335
cache: 'pip'
336336
cache-dependency-path: pyproject.toml
337337

README.md

+9-21
Original file line numberDiff line numberDiff line change
@@ -153,27 +153,15 @@ guidelines.
153153
Thank you for your interest.
154154

155155
## How to Cite
156-
McCreight, J., Langevin, C. D., Hughes, J. D., & Bonelli, W. P. (2024). pywatershed (Version 2.0.0) [Computer software]. [https://doi.org/10.5066/P13EWPEV](https://doi.org/10.5066/P13EWPEV)
156+
157+
McCreight, J. L., Langevin, C. D., Hughes, J. D., & Bonelli, W. P. (2024). pywatershed (Version 2.0.0) [Computer software]. [https://doi.org/10.5066/P13EWPEV](https://doi.org/10.5066/P13EWPEV)
157158

158159
## Disclaimer
159160

160-
This information is preliminary or provisional and is subject to revision. It is
161-
being provided to meet the need for timely best science. The information has not
162-
received final approval by the U.S. Geological Survey (USGS) and is provided on
163-
the condition that neither the USGS nor the U.S. Government shall be held liable
164-
for any damages resulting from the authorized or unauthorized use of the
165-
information.
166-
167-
From: https://www2.usgs.gov/fsp/fsp_disclaimers.asp#5
168-
169-
This software is in the public domain because it contains materials that
170-
originally came from the U.S. Geological Survey, an agency of the United States
171-
Department of Interior. For more information, see the [official USGS copyright
172-
policy](https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
173-
"official USGS copyright policy")
174-
175-
Although this software program has been used by the USGS, no warranty, expressed
176-
or implied, is made by the USGS or the U.S. Government as to the accuracy and
177-
functioning of the program and related program material nor shall the fact of
178-
distribution constitute any such warranty, and no responsibility is assumed by
179-
the USGS in connection therewith. This software is provided "AS IS."
161+
This software has been approved for release by the U.S. Geological Survey (USGS). Although the
162+
software has been subjected to rigorous review, the USGS reserves the right to update the
163+
software as needed pursuant to further analysis and review. No warranty, expressed or implied,
164+
is made by the USGS or the U.S. Government as to the functionality of the software and related
165+
material nor shall the fact of release constitute any such warranty. Furthermore, the software
166+
is released on condition that neither the USGS nor the U.S. Government shall be held liable
167+
for any damages resulting from its authorized or unauthorized use.

doc/whats-new.rst

+10
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ What's New
1212
np.random.seed(123456)
1313
1414
15+
.. _whats-new.2.0.1:
16+
17+
v2.0.1 (19 December 2024)
18+
---------------------
19+
20+
New Features
21+
~~~~~~~~~~~~~~~~
22+
Corrected disclaimer on top-level README.md. Other minor fixes not to code base (CI, envs, etc).
23+
24+
1525
.. _whats-new.2.0.0:
1626

1727
v2.0.0 (16 December 2024)

environment.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@ name: pws
22
channels:
33
- conda-forge
44
- nodefaults
5-
- pyviz
6-
- bioconda
75
dependencies:
6+
- asv
87
- cartopy
8+
- click != 8.1.0
99
- dataretrieval
1010
- contextily
11-
- epiweeks
11+
- epiweeks4cf
1212
- filelock
13+
- flopy
1314
- folium
1415
- geopandas
1516
- geoviews
1617
- git
1718
- holoviews
1819
- hvplot
1920
- ipython
21+
- modflow-devtools
2022
- netCDF4
2123
- networkx
2224
- numpy>=2.0.0
@@ -33,20 +35,16 @@ dependencies:
3335
- pytest-xdist
3436
- python<3.12,>=3.10
3537
- pyyaml
38+
- ruff
3639
- shapely
3740
- sphinx
3841
- sphinx-book-theme>=0.3.3
42+
- sphinx-autodoc-typehints>=2.2.1
3943
- sphinx-autosummary-accessors
4044
- sphinx-copybutton
4145
- tqdm
4246
- xarray>=2024.06.0
47+
- xmltodict
4348
- pip:
44-
- asv
45-
- click != 8.1.0
46-
- filelock
47-
- git+https://github.com/modflowpy/flopy.git
48-
- modflow-devtools
4949
- git+https://github.com/jararias/mpsplines.git
5050
- git+https://github.com/paknorton/pyPRMS.git@development
51-
- sphinx-autodoc-typehints>=2.2.1
52-
- ruff

environment_w_jupyter.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ name: pws
22
channels:
33
- conda-forge
44
- nodefaults
5-
- pyviz
6-
- bioconda
75
dependencies:
6+
- asv
87
- cartopy
8+
- click != 8.1.0
99
- dataretrieval
1010
- contextily
11-
- epiweeks
11+
- epiweeks4cf
1212
- filelock
13+
- flopy
1314
- folium
1415
- geopandas
1516
- geoviews
@@ -25,6 +26,7 @@ dependencies:
2526
- networkx
2627
- numpy>=2.0.0
2728
- numba
29+
- modflow-devtools
2830
- pandas>=1.4.0
2931
- pint
3032
- pip
@@ -37,21 +39,17 @@ dependencies:
3739
- pytest-xdist
3840
- python<3.12,>=3.10
3941
- pyyaml
42+
- ruff
4043
- shapely
4144
- sphinx
4245
- sphinx-book-theme>=0.3.3
46+
- sphinx-autodoc-typehints>=2.2.1
4347
- sphinx-autosummary-accessors
4448
- sphinx-copybutton
4549
- tqdm
4650
- xarray>=2024.06.0
51+
- xmltodict
4752
- pip:
48-
- asv
49-
- click != 8.1.0
50-
- filelock
51-
- git+https://github.com/modflowpy/flopy.git
5253
- jupyter_black
53-
- modflow-devtools
5454
- git+https://github.com/jararias/mpsplines.git
5555
- git+https://github.com/paknorton/pyPRMS.git@development
56-
- sphinx-autodoc-typehints>=2.2.1
57-
- ruff

pywatershed/version.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# pywatershed version file automatically created using update_version.py on December 16, 2024 23:49:01 #noqa: E501
1+
# pywatershed version file automatically created using update_version.py on December 19, 2024 21:53:33 #noqa: E501
22

3-
__version__ = "2.0.0"
3+
__version__ = "2.0.1"
44
__pakname__ = "pywatershed"
55

66
author_dict = {

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
2.0.1

0 commit comments

Comments
 (0)