Use uv instead of pip across shared workflows#12
Merged
Merged
Conversation
- prepare_release and tag_release install praw-release via 'uv tool install' from the pinned archive; uv provisions Python 3.14 for the tool venv (praw-release now requires it) so setup-python is dropped. tag_release's prerelease probe runs via 'uv run --with packaging'. - pre-commit_autoupdate and set_active_docs install dependencies with 'uv pip install --system'; lint runs zizmor via uvx instead of pipx. - ci.yml rewritten for uv-managed consumer repos: now that prawcore, praw, and asyncpraw are all uv projects with tox-uv environments in pyproject, per-repo differences collapse into inputs python_versions (JSON list, ubuntu), min_python (also tested on macOS and Windows), and network_test (live Reddit test, *praw repos only). Job names keep the 'test with X on Y' shape so branch protection contexts carry over.
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.
Built on #11 (GitHub will retarget to main when #11 merges).
setup-python+pip install <archive>→setup-uv+uv tool install "praw-release @ <pinned archive>". uv auto-provisions Python 3.14 for the tool venv, satisfying praw-release's newrequires-python >=3.14regardless of runner python. tag_release's packaging one-liner runs underuv run --no-project --with packaging.uv pip install --system;cache: pipdropped.pipx run zizmor→uvx zizmor(pipx may not stay preinstalled forever; uv is now guaranteed by setup-uv).If this merges before v1.1.1 is tagged, the prawcore v3.1.0rc1 release will live-test the uv versions of prepare_release and tag_release end to end.