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

Move virtual environment test context into main context #4370

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Jun 17, 2024

It was becoming problematic that the virtual environment test context diverged from the other one i.e. we had to implement filtering twice. This combines the contexts and tweaks the TestContext API and filtering mechanisms for Python versions. Combined with my previous changes to the test context at #4364 and #4368 this finally unblocks the snapshots for test cases in #4360 and #4362.

@zanieb zanieb added the testing Internal testing of behavior label Jun 17, 2024
@zanieb zanieb force-pushed the zb/test-context branch 10 times, most recently from 7680651 to a0e377e Compare June 17, 2024 21:56
@zanieb zanieb force-pushed the zb/test-context branch 3 times, most recently from 4d76cfb to b2a114d Compare June 18, 2024 02:49
$Volume = New-VHD -Path C:/uv_dev_drive.vhdx -SizeBytes 10GB |
$Volume = New-VHD -Path C:/uv_dev_drive.vhdx -SizeBytes 12GB |
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows test builds failed with the mysterious LINK : fatal error LNK1318: Unexpected PDB error; LIMIT without this

@zanieb zanieb force-pushed the zb/test-context branch 3 times, most recently from 60789c6 to e6f41ad Compare June 18, 2024 03:18
Copy link
Member

@konstin konstin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! This improves the test filters a lot

r+ me with the two test regressions fixed

crates/uv/tests/common/mod.rs Show resolved Hide resolved
crates/uv/tests/pip_compile.rs Show resolved Hide resolved
crates/uv/tests/venv.rs Outdated Show resolved Hide resolved
crates/uv/tests/venv.rs Show resolved Hide resolved
@zanieb zanieb merged commit 76c26db into main Jun 18, 2024
47 checks passed
@zanieb zanieb deleted the zb/test-context branch June 18, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Internal testing of behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants