Repository navigation
Conversation
| #[test] | ||
| fn remote_wheel_metadata_error_redacts_url() { | ||
| let context = uv_test::test_context!("3.12"); |
There was a problem hiding this comment.
[P3] Gate the regression test on test-python
The network module is included unconditionally, and test_context!("3.12") immediately locates Python 3.12 and creates a virtual environment. This new test therefore requires that interpreter even when test-python is disabled, potentially failing during setup before exercising redaction. Add #[cfg(feature = "test-python")] to honor the feature boundary.
d7ab378 to
b3fed36
Compare
3b9c144 to
5656488
Compare
b3fed36 to
cec615b
Compare
Merging this PR will not alter performance
|
5656488 to
3dff9d7
Compare
cec615b to
7c2c27a
Compare
|
Promoted to #22601. |
Wheel metadata errors from range requests can expose credentials because a
SafeUrlis passed to a helper asUrl. RetainSafeUrlthrough that path and other internal APIs so URL formatting uses redaction. Keep full-URL hashing for remote script cache keys.Stacked on #2711.