Skip to content

Use Packse scenarios to speed up tool tests - #21634

Merged
charliermarsh merged 5 commits into
mainfrom
charlie/small-tool-fixtures
Sep 15, 2026
Merged

charliermarsh merged 5 commits into
mainfrom
charlie/small-tool-fixtures

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

We currently download Babel, python-dotenv, Ansible, and Black to exercise tool upgrades and executable installation. Add console entry point support to Packse's generated wheels and source distributions, then use small local scenarios for these tests.

An earlier CI comparison measured the following summed duration across the 13 converted tests:

Platform Before After
Linux 11s 5.2s
macOS 90s 5.1s
Windows 61s 16s

@charliermarsh charliermarsh added the test:macos Enable macOS tests for a pull request label Sep 12, 2026
Comment thread crates/uv/tests/tool/fixtures.rs Resolved
@charliermarsh
charliermarsh marked this pull request as ready for review September 12, 2026 15:03
@charliermarsh charliermarsh changed the title Use small local wheel fixtures in tool tests Use Packse scenarios to speed up tool tests Sep 12, 2026
Comment thread crates/uv-test/src/packse/wheel.rs Resolved
Comment thread crates/uv-test/src/packse/wheel.rs Resolved
@charliermarsh
charliermarsh enabled auto-merge (squash) September 15, 2026 10:47
@charliermarsh
charliermarsh merged commit 2c35bb3 into main Sep 15, 2026
115 of 116 checks passed
@charliermarsh
charliermarsh deleted the charlie/small-tool-fixtures branch September 15, 2026 10:56
@charliermarsh charliermarsh added the internal A refactor or improvement that is not user-facing label Sep 15, 2026

This branch was previously deployed

1 inactive deployment
automations — 3bd2a831 Deployed Sep 15, 2026 by charliermarsh via review / security review #46722
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing test:macos Enable macOS tests for a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants