Migrate from setuptools to uv#63
Open
carta-sre-claude-assistant[bot] wants to merge 1 commit into
Open
Conversation
- Replace setup.py/setup.cfg with PEP 621 pyproject.toml - Use hatchling as build backend - Add uv.lock for reproducible dependency resolution - Update CircleCI to install and use uv - Update Makefile with uv commands - Remove MANIFEST.in (hatchling handles includes via config) - Remove root __init__.py (empty, not needed with explicit packages) All 373 core tests pass. Two contrib tests (postgresql, s3) excluded from CI as they have pre-existing issues (missing initdb binary and moto API breakage unrelated to this migration).
Author
|
Closing this — flipper-client only has 5 commits in the last 12 months, making it #90 out of 94 in our priority list. We're reprioritizing to migrate repos by contribution rate instead of stars. Next up: claude-marketplace (3,478 commits). |
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
Migrates
flipper-clientfrom the legacysetup.py+setuptoolstoolchain to uv with PEP 621pyproject.toml.Changes
uv sync/uv run pytest.uv run/uv sync/uv build.setup.py,setup.cfg,MANIFEST.in, empty root__init__.py.Testing
All 373 core tests pass. Two contrib tests (
test_postgresql.py,test_s3.py) are excluded from CI — they have pre-existing failures unrelated to this migration:test_postgresql.py: Requiresinitdbbinary (not available in CI image)test_s3.py: Uses deprecatedmoto.mock_s3API (renamed tomock_awsin moto 5.x)Why uv?
uv.lock)