Migrate to uv, setuptools-scm, prek, and ruff#14457
Draft
rtibbles wants to merge 9 commits intolearningequality:release-v0.19.xfrom
Draft
Migrate to uv, setuptools-scm, prek, and ruff#14457rtibbles wants to merge 9 commits intolearningequality:release-v0.19.xfrom
rtibbles wants to merge 9 commits intolearningequality:release-v0.19.xfrom
Conversation
Contributor
c290799 to
f66bbd4
Compare
416e76e to
34d457b
Compare
…r-python-imports)
34d457b to
5a4c15d
Compare
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
Migrate Kolibri's Python tooling from pip/tox/setup.py to uv, and replace flake8+black with ruff.
uv sync --group devfor venv creation, Python version management, and dependency installationkolibri/utils/version.pygeneration logic)make staticdeps) stays on pip — uv cannot resolve for Python 3.6References
Reviewer guidance
Local verification before PR:
make staticdepstested in a Python 3.6 container — installs correctlyuv buildproduces wheel and tarballFor review:
AI usage
This PR was authored collaboratively with Claude Code. Claude implemented the migration based on a brainstormed design, with each decision reviewed and approved interactively. Tests and build were verified in Python 3.6 containers.