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

Fully incorporate Python dependencies into IPM lifecycle #542

Open
isc-tleavitt opened this issue Aug 2, 2024 · 0 comments
Open

Fully incorporate Python dependencies into IPM lifecycle #542

isc-tleavitt opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@isc-tleavitt
Copy link
Contributor

Every package installs its dependencies in /python. If you uninstall the package, they stay. If you install a different package with conflicting version requirements in its own requirements.txt, it'll overwrite and things in /python and the first package might break.

We brainstormed some bad ideas in weekly meeting today. Having a path for dependencies per IPM package is a bad idea. Using a virtual environment for each IPM package is too heavy a lift and also wouldn't play well at the IRIS level.

More promising would be having IPM catalog all of the requirements.txt of installed packages and be able to detect conflicts across the whole set and manage installations in a dedicated directory (not /python - maybe /ipm/python) that is also in sys.path.

Other use cases:

  • If the flexible python runtime version changes, being able to reinstall for proper python environment without having to reinstall all IPM packages.
  • Being able to do an instance-wide python dependency upgrade more generally e.g. to pick up security fixes
@isc-tleavitt isc-tleavitt added the enhancement New feature or request label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants