Skip to content

Migrate project to modern python PEPs and uv#24

Open
balsa-sarenac wants to merge 9 commits intomainfrom
chore/modernize-uv-pep517
Open

Migrate project to modern python PEPs and uv#24
balsa-sarenac wants to merge 9 commits intomainfrom
chore/modernize-uv-pep517

Conversation

@balsa-sarenac
Copy link

No description provided.

Switch to PEP 517/621 metadata so installs work with build isolation (including uv pip) and remove legacy setup.py-driven configuration.
Use uv pip for dependency installation so CI matches modern build isolation workflows and avoids legacy pip/setuptools bootstrapping.
Route install/uninstall operations through uv pip when available, while keeping pip for list/check. This avoids relying on deprecated pip behaviors and makes upgrades resilient to stdout changes.
Stop asserting pip-specific uninstall/install output so tests remain valid when installs are performed via uv pip.
Use python -m build to generate test wheels so fixture generation matches modern, isolated build workflows.
Add a uv-first dev install snippet so contributors use the same modern installer behavior as CI and production.
Preserve symlinks when cloning venvs for blue/green upgrades and treat failed upgrade subprocess output as empty so error paths don't crash with TypeError.
Use uv pip install/uninstall -p <python> so installs target the intended interpreter even when the venv is not activated.
Avoid untracked upgrade/_version.py after editable installs.
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