Skip to content

Commit 73c8e3f

Browse files
committed
Discontinue python 3.9; update sliderule
1 parent 7f58a7a commit 73c8e3f

4 files changed

Lines changed: 229 additions & 2696 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-latest, windows-latest]
23-
python-version: ["3.9", "3.12"]
23+
python-version: ["3.10", "3.11", "3.12"]
2424

2525
steps:
2626
- uses: actions/checkout@v4

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cd HydroEO
3030
uv sync
3131
```
3232
#### Python versions
33-
HydroEO currently runs on Python 3.9 - 3.12.
33+
HydroEO currently runs on Python 3.10 - 3.12.
3434

3535
## Quick start
3636
A single unified configuration template covers all four use cases: [notebooks/example_config.yaml](./notebooks/example_config.yaml).
@@ -491,7 +491,7 @@ export HYDROWEB_API_KEY="your_hydroweb_api_key"
491491
**Automated checks** run on every push and pull request via GitHub Actions (see [.github/workflows/ci.yml](.github/workflows/ci.yml)):
492492

493493
1. **Lint** (ruff) — checks code style and imports
494-
2. **Unit tests** — runs on Ubuntu and Windows, Python 3.9 and 3.12; publishes coverage to Codecov
494+
2. **Unit tests** — runs on Ubuntu and Windows, Python 3.10 and 3.12; publishes coverage to Codecov
495495
3. **Integration tests** — runs live API calls (only on official repo when enabled)
496496

497497
**For repo maintainers:** To enable live integration tests, set these GitHub secrets and variables:

pyproject.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
"scikit-learn>=1.4.0,<2.0",
3333
"scipy>=1.11.0,<2.0",
3434
"py-hydroweb>=1.0.2,<2.0",
35-
"sliderule>=5.3.0,<5.4",
35+
"sliderule>=5.4.0",
3636
"xarray>=2024.0.0,<2025.0",
3737
"rasterio>=1.3.0,<2.0",
3838
"rioxarray>=0.13.0,<1.0",
@@ -44,12 +44,11 @@ authors = [
4444
]
4545
description = "Easy access altimetry for water resource applications"
4646
readme = "README.md"
47-
requires-python = ">=3.9"
47+
requires-python = ">=3.10"
4848
license = {file = "LICENSE"}
4949
keywords = ["altimetry", "hydrology", "satellite", "SWOT", "Sentinel", "ICESat-2", "water-resources", "earth-observation"]
5050
classifiers = [
5151
"Programming Language :: Python :: 3",
52-
"Programming Language :: Python :: 3.9",
5352
"Programming Language :: Python :: 3.10",
5453
"Programming Language :: Python :: 3.11",
5554
"Programming Language :: Python :: 3.12",
@@ -111,9 +110,3 @@ markers = [
111110
[tool.ruff]
112111
# ignore long lines
113112
lint.ignore = ["E501"]
114-
115-
[tool.mypy]
116-
python_version = "3.9"
117-
ignore_missing_imports = true
118-
warn_unreachable = false
119-
no_implicit_optional = true

0 commit comments

Comments
 (0)