Skip to content

Migrate to uv - #14

Merged
mcarans merged 1 commit into
mainfrom
touv
Oct 29, 2026
Merged

mcarans merged 1 commit into
mainfrom
touv

Conversation

@mcarans

@mcarans mcarans commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Migrates the repo to uv following the hdx-scraper-copier template.

Changes

  • uv frontend with hatchling/hatch-vcs backend; uv.lock replaces requirements.txt/requirements-test.txt
  • Hatch, ruff, pytest and coverage config consolidated into pyproject.toml (hatch.toml, ruff.toml, pytest.ini, .coveragerc removed)
  • requires-python raised to >=3.13; stale classifiers and unused pytest-check/cydifflib test deps dropped; description corrected
  • Workflows renamed .yml → .yaml and switched to astral-sh/setup-uv + uv run --frozen, with pinned actions and a keepalive job. Run-script env vars and the gh-pages deploy step are unchanged
  • .pre-commit-config.yaml (ruff 0.17.3, uv-lock hook) and .gitignore from template
  • README install/usage updated for uv; CLAUDE.md and docs/decisions/README.md added
  • Ruff 0.17.3 lint fixes in src/ and tests/ (import order, timezone.utc → UTC, merged conditionals, max()); no behaviour change

Notes

  • Renamed workflows show up as new workflows in the Actions UI; history stays under the old names.

Verification

  • uv run pytest: 2 passed
  • uv run pre-commit run --all-files: all hooks pass

Switch to uv as package manager frontend (hatchling/hatch-vcs backend) per
hdx-scraper-copier template. Consolidate hatch, ruff, pytest and coverage
config into pyproject.toml and replace requirements*.txt with uv.lock.
Update workflows (renamed to .yaml), pre-commit, .gitignore and README, and
add CLAUDE.md and docs/decisions. Apply ruff 0.17.3 lint fixes.
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Test Results

2 tests  ±0   2 ✅ ±0   1m 25s ⏱️ +27s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 2db022f. ± Comparison against base commit 1094427.

♻️ This comment has been updated with latest results.

@mcarans
mcarans merged commit d3ce000 into main Oct 29, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant