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

feat: expose py_venv rule, allowing creation of virtual envs from multiple targets #181

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

mattem
Copy link
Contributor

@mattem mattem commented Sep 8, 2023

Exposes the py_venv rule, which can create a Python virtual environment from a set of targets.
This allows for easier creation of environments for IDE use, as they can contain dependencies from multiple targets, such as tests.

The virtual environment that is created uses paths for first party libraries that resolve into the source tree. While this allows for a nicer user experience within the IDE, such as editing files being "live", it is less "correct" as the Bazel target may reflect a different state.

@mattem mattem enabled auto-merge (squash) September 13, 2023 22:04
@mattem mattem merged commit bb2ea0c into main Sep 13, 2023
1 check passed
@mattem mattem deleted the ide_venvs branch September 13, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants