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

Refresh sys.path upon loading a new module #818

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

dongreenberg
Copy link
Contributor

@dongreenberg dongreenberg commented May 21, 2024

If a user runs cluster.run(["pip install ...."]) after the env process is already created, we need to refresh the sys.path inside the env process to incorporate any new directories added.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dongreenberg and the rest of your teammates on Graphite Graphite

@dongreenberg dongreenberg marked this pull request as ready for review May 21, 2024 21:41
@dongreenberg dongreenberg merged commit 2a4e453 into main May 22, 2024
9 of 12 checks passed
@dongreenberg dongreenberg deleted the reload_sys_path branch June 6, 2024 13:27
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