chore: migrate from Poetry to uv#3
Merged
Connorrmcd6 merged 1 commit intoFeb 13, 2026
Merged
Conversation
Replace Poetry with uv for dependency management and project tooling to align with the Nansen cookiecutter-python-uv-boilerplate template. - Rewrite pyproject.toml from Poetry format to PEP 621 + hatchling - Replace poetry.lock with uv.lock - Expand pre-commit hooks (codespell, yamllint, yamlfmt, etc.) via prek - Restructure CI into reusable workflows (on-pr, on-merge, job-prek, job-test) - Update all docs (CLAUDE.md, CONTRIBUTING.md, README.md, CHANGELOG.md) - Fix B017 bugbear violation in test_retry.py - Bump version to 0.1.1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pyproject.tomlfrom Poetry format to PEP 621 + hatchling build backendpre-commitwithprekas the hook runner, expanding hooks (codespell, yamllint, yamlfmt, trailing-whitespace, etc.)on-pr,on-merge,job-prek,job-test)uvcommands0.1.1What does NOT change
src/nansen/— zero modificationstests/— zero modifications (except fixing a B017 bugbear lint violation)examples/— zero modificationsTest plan
uv run pytest— 75 tests passuv run ruff check .— cleanuv run ruff format --check .— cleanuv run mypy src/— no issuesuv run prek run --all-files— all 12 hooks passuv build— produces valid wheel withpy.typedmarker🤖 Generated with Claude Code