Skip to content

Commit 00a10dc

Browse files
patconclaude
andcommitted
Release v0.2.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bafdab4 commit 00a10dc

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased][] (YYYY-MM-DD)
44

5+
_No changes yet._
6+
7+
## [0.2.0][] (2026-02-16)
8+
59
### Added
610
- `hf:` and `huggingface:` source prefixes for `val.datasets.polis.load()` — load any HuggingFace-hosted Polis export as a one-liner, e.g. `load("hf:patcon/polis-aufstehen-2018")` ([#81][]).
711
- `CLAUDE.md` guidance file for Claude Code contributors ([#58][]).
@@ -80,5 +84,7 @@ Initial release includes:
8084

8185
<!-- Links -->
8286

83-
[Unreleased]: https://github.com/patcon/valency-anndata/compare/v0.1.1...main
87+
[Unreleased]: https://github.com/patcon/valency-anndata/compare/v0.2.0...main
88+
[0.2.0]: https://github.com/patcon/valency-anndata/compare/v0.1.1...v0.2.0
89+
[0.1.1]: https://github.com/patcon/valency-anndata/compare/v0.1.0...v0.1.1
8490
[0.1.0]: https://github.com/patcon/valency-anndata/releases/tag/v0.1.0

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ csv-export: ## Export Polis CSV files (usage: make csv-export URL=https://pol.is
4343
h5ad: ## Export a Polis conversation to h5ad (writes to exports/)
4444
uv run python scripts/export_h5ad.py
4545

46+
release: ## Print no-op documentation to guide the release process
47+
uv run python scripts/release.py
48+
4649
build: ## Build wheel package for publishing to PyPI
4750
rm -rf dist/
4851
uv build
@@ -54,7 +57,7 @@ publish: ## Publish built package to PyPI
5457
%:
5558
@true
5659

57-
.PHONY: help notebook-docs notebook-docs-debug serve docs lint fmt test test-live csv-export h5ad build publish
60+
.PHONY: help notebook-docs notebook-docs-debug serve docs lint fmt test test-live csv-export h5ad release build publish
5861

5962
help:
6063
@echo 'Usage: make <command>'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "valency-anndata"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
description = "Experimental tooling to support notebook analysis of polislike data"
55
readme = "README.md"
66
authors = [

scripts/release.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
instructions = """
2+
1. Checkout `main` branch.
3+
2. Edit and stage files (no commit yet).
4+
i. Update CHANGELOG.md
5+
- Add the new version heading below "Unreleased".
6+
- Write "_No changes yet._" in "Unreleased" section.
7+
- Add the link for the new version tag. (bottom of changelog)
8+
- Update the "Unreleased" comparison link (bottom) to the new tag.
9+
ii. Update `pyproject.toml` to new version.
10+
3. Rebuild the package artifacts:
11+
$ make build
12+
4. Publish to PyPI:
13+
$ make publish
14+
5. Commit change as "Release vX.Y.Z" and push.
15+
6. Create a GitHub release.
16+
- See: https://github.com/patcon/valency-anndata/releases/new
17+
- Name the new tag `vX.Y.Z`
18+
- Set the title `vX.Y.Z`
19+
- Copy the new changelog text into the body.
20+
- Attach the wheel and tar build files from `dist/`
21+
"""
22+
23+
print(instructions.strip())

0 commit comments

Comments
 (0)