-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
feat: switch to creation of venv without Python or pip #233
Conversation
a77c161
to
0fa112d
Compare
4401ad5
to
1acec8e
Compare
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.
to make things easier on reviewers, WDYT about making this PR just the introduction of the Rust code, binaries and the build mechanism? Then a follow-up for the starlark changes?
If you want to review it that way, then ignore |
### Type of change - Refactor (a code change that neither fixes a bug or adds a new feature) ### Test plan - Covered by existing test cases #233 was mentioned as a fix for #218 but #233 includes a dependency on openssl. This dependency on openssl makes building containers on MacOS difficult as we then need to cross build openssl. I see that there was an attempt to remove the openssl dependency `rattler_installs_packages` however, `native-tls` is in the default features and is the only default feature. Disabling `default-features` removes the dependency on openssl. --------- Co-authored-by: Alex Eagle <[email protected]>
Switches creating the venv to a dedicated tool, removing the requirement for pip.
Venv is now created just before the binary or test runs, rather than as an action output. The overhead is minimal, venv creation and activation takes at most 7ms as observed during testing.
Closes #233
Closes #238
Closes #176
Closes #218
Closes #248
Closes #152
Closes #110