Skip to content

Commit adf24c3

Browse files
committed
chore: make version dynamic, change install recommendation, fix: missing pytest-timeout
1 parent 52d54d6 commit adf24c3

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,22 @@ async tile I/O underneath.
4141
## Installation
4242

4343
```bash
44-
pip install "rasteret[all]" # recommended, includes all extras
44+
uv pip install rasteret
4545
```
4646

47-
> [!TIP]
48-
> We recommend [uv](https://docs.astral.sh/uv/) for faster installs: `uv pip install "rasteret[all]"`
49-
5047
<details>
51-
<summary><strong>More install options</strong></summary>
48+
<summary><strong>Extras</strong></summary>
5249

5350
```bash
54-
pip install rasteret # core only
55-
pip install "rasteret[xarray]" # + xarray output
56-
pip install "rasteret[torchgeo]" # + TorchGeo for ML
51+
uv pip install "rasteret[xarray]" # + xarray output
52+
uv pip install "rasteret[torchgeo]" # + TorchGeo for ML pipelines
53+
uv pip install "rasteret[aws]" # + requester-pays buckets (Landsat, NAIP)
54+
uv pip install "rasteret[azure]" # + Planetary Computer signed URLs
5755
```
5856

59-
Available extras: `xarray`, `torchgeo`, `aws`, `azure`, `earthdata`, `examples`, `dev`, `docs`, `all`.
57+
Combine as needed: `uv pip install "rasteret[xarray,aws]"`.
58+
59+
Available extras: `xarray`, `torchgeo`, `aws`, `azure`, `earthdata`.
6060
See [Getting Started](https://terrafloww.github.io/rasteret/getting-started/) for details.
6161

6262
> [!NOTE]

docs/getting-started/index.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,18 @@
55
Rasteret requires Python 3.12 or later.
66

77
```bash
8-
# Recommended: includes all extras
9-
pip install "rasteret[all]"
8+
uv pip install rasteret
9+
```
1010

11-
# Core only (STAC indexing + GeoDataFrame reads)
12-
pip install rasteret
11+
Add extras as needed:
1312

14-
# With TorchGeo for ML pipelines
15-
pip install "rasteret[torchgeo]"
13+
```bash
14+
uv pip install "rasteret[xarray]" # + xarray output
15+
uv pip install "rasteret[torchgeo]" # + TorchGeo for ML pipelines
16+
uv pip install "rasteret[aws]" # + requester-pays buckets (Landsat, NAIP)
1617
```
1718

18-
!!! tip "Faster installs with [uv](https://docs.astral.sh/uv/)"
19-
20-
Replace `pip install` with `uv pip install` in the commands above for
21-
significantly faster dependency resolution.
19+
Combine extras: `uv pip install "rasteret[xarray,aws]"`
2220

2321
??? note "All extras"
2422

@@ -30,9 +28,7 @@ pip install "rasteret[torchgeo]"
3028
| `azure` | planetary-computer | Planetary Computer signed URLs |
3129
| `earthdata` | requests | Earthdata / DAAC auth (temporary S3 credentials) |
3230
| `dev` | pytest, ruff, pre-commit | Running tests and linting |
33-
| `examples` | duckdb, stac-geoparquet | Running example scripts |
3431
| `docs` | mkdocs + plugins | Building documentation locally |
35-
| `all` | Everything above | Full development environment |
3632

3733
Verify the installation:
3834

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "rasteret"
3-
version = "0.3.0rc2"
3+
dynamic = ["version"]
44
description = "Index-first GeoTIFF access layer for ML and analysis, powered by queryable Parquet indexes."
55
readme = "README.md"
66
requires-python = ">=3.12"
@@ -32,7 +32,7 @@ dependencies = [
3232
"zstandard>=0.22.0",
3333
"pyproj>=3.6.1",
3434
"affine>=2.4.0",
35-
"rasterio>=1.4.0",
35+
"rasterio>=1.4.3,<1.5.0",
3636
"tqdm>=4.60",
3737
]
3838

@@ -54,6 +54,7 @@ dev = [
5454
"pytest>=8.4.2",
5555
"pytest-cov>=7.0.0",
5656
"pytest-asyncio>=0.23.2",
57+
"pytest-timeout>=2.3.0",
5758
"tifffile>=2023.9.18",
5859
"ruff==0.8.6",
5960
"pre-commit>=3.7.0",
@@ -87,9 +88,12 @@ Changelog = "https://terrafloww.github.io/rasteret/changelog/"
8788
rasteret = "rasteret.cli:main"
8889

8990
[build-system]
90-
requires = ["hatchling"]
91+
requires = ["hatchling", "hatch-vcs"]
9192
build-backend = "hatchling.build"
9293

94+
[tool.hatch.version]
95+
source = "vcs"
96+
9397
[tool.hatch.build.targets.wheel]
9498
packages = ["src/rasteret"]
9599
exclude = ["src/rasteret/tests"]

0 commit comments

Comments
 (0)