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(processing_engine): integration with virtual environments. #25895

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jacksonrnewhouse
Copy link
Contributor

Opening a draft PR to track progress on handling dependencies. The current changes look for a ".venv" folder in the plugin dir, and if there is one attempt to initialize a virtualenv. It mostly worked out of the box, the only addition I needed to make for pyo3 was to add the virtualenv's site-package dir to PYTHONPATH.

Before this becomes a proper PR I want the plugin engine to be initialized with some dependency manager specified (starting with pip and uv, I think), and then there be endpoints to install a dependency. Also you should be able to just pass in the virtualenv location if you'd like.

@jacksonrnewhouse jacksonrnewhouse force-pushed the processing_engine/dependencies branch 2 times, most recently from c8da105 to e0485a9 Compare January 23, 2025 19:22
@jacksonrnewhouse jacksonrnewhouse force-pushed the processing_engine/dependencies branch from e0485a9 to 499153a Compare January 23, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant