Skip to content

Commit 4a0a3a8

Browse files
thodson-usgsclaude
andcommitted
docs: drop NEWS.md entry — this is a minor PR
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f8334dc commit 4a0a3a8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

NEWS.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
**05/23/2026:** Paginated and chunked `waterdata` queries now report progress on a single, self-updating line on `stderr` (chunk and page counts, rows retrieved, and the remaining hourly request count from `x-ratelimit-remaining`), replacing the per-page `INFO` log messages that previously narrated each request. The line is shown automatically when `stderr` is an interactive terminal; when no API key is configured it also points (once per process) to API-key registration, since unauthenticated callers hit much lower limits. The request URL that was logged at `INFO` is now at `DEBUG` (enable with `logging.basicConfig(level=logging.DEBUG)`), and the per-hour "remaining requests" message is now part of the progress line. Failure-path warnings/errors are unchanged, and the "Geopandas not installed" advisory — previously `INFO` (silent) in the statistics path — is now logged at `WARNING`, consistent with the other getters.
2-
31
**05/14/2026:** Fixed two latent bugs in the paginated `waterdata` request loop (`_walk_pages` and `get_stats_data`). Previously, when `requests.Session.request(...)` itself raised mid-pagination (network error, timeout), the except block called `_error_body()` on the *prior page's* response, so the logged "error" described the wrong request and could itself crash on non-JSON bodies. Separately, no status-code check was performed on subsequent paginated responses, so a 5xx body that didn't include `numberReturned` was silently treated as an empty page — pagination quietly stopped and the user got truncated data with no error logged. The loop now status-checks each page like the initial request and reports the actual exception. The "best-effort" behavior (return whatever pages were collected) is preserved.
42

53
**05/07/2026:** Bumped the declared minimum Python version from **3.8** to **3.9** (`pyproject.toml`'s `requires-python` and the ruff target). This brings the manifest in line with what was already being tested — CI's matrix has long covered only 3.9, 3.13, and 3.14, the `waterdata` test module already skipped itself on Python < 3.10, and several modules already use 3.9-only stdlib (e.g. `zoneinfo`). Users on 3.8 will no longer be able to install the package; please upgrade.

0 commit comments

Comments
 (0)