Skip to content

Run the wheel smoke test through uv; bump actions to Node 24 majors - #105

Merged
pattonw merged 2 commits into
mainfrom
fix/uv-ty-standard
Nov 16, 2026
Merged

pattonw merged 2 commits into
mainfrom
fix/uv-ty-standard

Conversation

@pattonw

@pattonw pattonw commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Two small workflow changes. No library, test, or dependency changes; the PyPI upload step and its credentials are untouched.

1. Wheel smoke test uses uv instead of pip

publish.yaml test-wheel was the only Python step in the workflows that went through actions/setup-python + pip install. It now installs uv and runs the same script with

uv run --isolated --no-project --python 3.11 --with dist/daisy-*-cp311-cp311-*.whl python - <<'EOF'

The wheel under test is the file from the build job (passed by path, so never PyPI's copy of the same version); dependencies come from PyPI into a throwaway environment. The smoke script itself is unchanged.

Checked locally with that exact command (uv 0.13.7), both printing wheel smoke test OK:

  • against a wheel built from this branch with uv build --wheel --python 3.11;
  • against the wheels-linux-x86_64 artifact of the last publish run on main (eight wheels in dist/; the glob selects the single cp311 one).

test-wheel also runs on this pull request, so the check below exercises it in CI.

2. Actions move to their Node 24 majors

Every job on main is annotated "Node.js 20 is deprecated". Each tag below was confirmed to exist and to declare node24 (or composite):

Action Was Now
actions/checkout v4 v7
actions/setup-python v5 v7
actions/upload-artifact v4 v7
actions/download-artifact v4 v8
actions/cache v4 v6
actions/upload-pages-artifact v3 v5
actions/deploy-pages v4 v5
astral-sh/setup-uv v5 (lint), v6 (elsewhere) v7 everywhere
peter-evans/create-pull-request v7 v8

astral-sh/setup-uv publishes no major tag after v7, so v7 is the newest major pin.

Not exercised by this pull request's checks, because they do not trigger on pull requests: docs.yml (tags / manual), benchmark.yaml (after tests on main), lock-upgrade.yaml (monthly / manual), and the Release job. The bumps there are version tags only, with no input changes. One behaviour to know about: actions/upload-pages-artifact since v4 leaves dotfiles (e.g. .buildinfo, .doctrees) out of the Pages artifact. A manual docs run on this branch builds without deploying if you want to check the build before merging.

Local verification

  • uv lock --check: ok
  • uv run --locked --only-group lint ruff check .: All checks passed
  • uv run --locked --only-group lint ruff format --check .: 144 files already formatted
  • uv run --locked --group lint ty check --error-on-warning: All checks passed
  • uv run pytest: 300 passed, 4 skipped, 1 xfailed; coverage 77.30% (floor 77%)

🤖 Generated with Claude Code

pattonw and others added 2 commits November 16, 2026 10:54
The test-wheel job was the only Python step in the workflows that used
actions/setup-python and pip. It now installs uv and runs the same script
with uv run --with <built wheel>, so the wheel under test is the file from
the build job and its dependencies come from PyPI.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Every job was annotated 'Node.js 20 is deprecated'. Each action moves to
its newest major tag, and astral-sh/setup-uv is on one major (v7) in every
workflow instead of v5 in lint and v6 elsewhere.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@pattonw
pattonw merged commit b1a918c into main Nov 16, 2026
16 checks passed
@pattonw
pattonw deleted the fix/uv-ty-standard branch November 16, 2026 19:31
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