-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
Plumb the custom certs file through to Pip (via Pex) #10837
Conversation
[ci skip-rust] [ci skip-build-wheels]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Thanks for adding a test.
# The certs file will typically not be in the repo, so we can't digest it via a PathGlobs. | ||
# Instead we manually create a FileContent for it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stuhood bump on our convo about porting PathGlobsAndRoot
to the Async API. This is really not great to have Path.read_bytes()
in a rule. Fine as a temporary workaround, but I think this shows the need.
We can caution plugin authors about the risks of using it. They're adults.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Rust tests and lints will be skipped. Delete if not intended. [ci skip-rust] # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
Pip makes its own network connections, so may need the certs file.
Fortunately Pex already plumbs this through, using the
--cert
flag.[ci skip-rust]
[ci skip-build-wheels]