Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cache_prune::prune_unzipped test to match updated error message format #12329

Closed
wants to merge 2 commits into from

Conversation

chhoumann
Copy link
Contributor

Summary

Fixes the failing cache_prune::prune_unzipped test that was causing CI failures in my other PR (#12328) and others like PR #12327.

The error message format changed to show a specific version constraint (iniconfig<=2.0.0) rather than the generic 'all versions' message. This PR updates the test to expect the new, more specific error message.

Test Plan

Ran cargo test -p uv cache_prune::prune_unzipped to verify the test now passes.

When initializing a script with , automatically append .py extension
if the user didn't specify it.
…ormat

The error message format changed to show the specific version constraint
(iniconfig<=2.0.0) rather than the generic 'all versions' message.
This updates the test to expect the new, more specific error message.
@chhoumann
Copy link
Contributor Author

Closing in favor of PR #12330 which has a clean branch with only the test fix. The previous PR accidentally included changes from my feature PR #12328.

@chhoumann chhoumann closed this Mar 20, 2025
@chhoumann chhoumann deleted the fix-cache-prune-snapshot branch March 20, 2025 07:40
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