Skip to content

Use uv instead of pip across shared workflows#12

Merged
bboe merged 1 commit into
mainfrom
uv_migration
Jun 7, 2026
Merged

Use uv instead of pip across shared workflows#12
bboe merged 1 commit into
mainfrom
uv_migration

Conversation

@bboe

@bboe bboe commented Jun 7, 2026

Copy link
Copy Markdown
Member

Built on #11 (GitHub will retarget to main when #11 merges).

  • prepare_release / tag_release: 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 new requires-python >=3.14 regardless of runner python. tag_release's packaging one-liner runs under uv run --no-project --with packaging.
  • ci / pre-commit_autoupdate / set_active_docs: setup-python stays (matrix interpreters), but installs go through uv pip install --system; cache: pip dropped.
  • lint: pipx run zizmoruvx 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.

@bboe bboe force-pushed the bump_praw_release branch from 3294d30 to ccccf14 Compare June 7, 2026 17:08
Base automatically changed from bump_praw_release to main June 7, 2026 17:09
- 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.
@bboe bboe merged commit e86d5e7 into main Jun 7, 2026
2 checks passed
@bboe bboe deleted the uv_migration branch June 7, 2026 17:51
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