Skip to content

Comments

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

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
chhoumann:fix-cache-prune-test-only
Mar 20, 2025
Merged

Fix cache_prune::prune_unzipped test to match updated error message format#12330
charliermarsh merged 1 commit intoastral-sh:mainfrom
chhoumann:fix-cache-prune-test-only

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.

…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.
@charliermarsh charliermarsh merged commit 584dd36 into astral-sh:main Mar 20, 2025
76 checks passed
@charliermarsh
Copy link
Member

Thanks. I think this is because the "available versions" list doesn't omit versions based on --exclude-newer...

@chhoumann chhoumann deleted the fix-cache-prune-test-only branch March 20, 2025 13:54
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.

2 participants