-
Notifications
You must be signed in to change notification settings - Fork 21
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
Bootstrapping IPM from artifact ignores requirements.txt #698
Comments
The artifacts, e.g. zpm-0.10.0-beta.3.xml, do not contain any information from Unless there's a way to attach arbitrary files into the xml artifact, we may need to hard code the python dependency installation into the code if we want to keep using the .xml artifact for one-liner installation. |
@isc-shuliu This got me thinking about what would happen in an environment that has no internet access. How would it install python dependencies? Could the oras python package be packaged up at time of publishing the zpm artifact? Also, unrelated note but if we are changing the artifact type from xml, perhaps also rename it to ipm? |
Useful post for downloading python packages for packaging into IPM distributable: https://stackoverflow.com/questions/49333152/copy-installed-packages-using-pip-to-another-environment |
@isc-shuliu The work-around mentioned is not working for me (when trying with stakeholder devs). I was on a 0.10.0-beta.11 version and tried loading from the source code zip file on the Releases page. It fails when it hits the reload phase and tries to load requirements.txt with this error: [USER|ZPM] Initialize SUCCESS |
Does your instance have embedded python enabled? It seems the error stems from this line Set tSysModule = ##class(%SYS.Python).Import("sys") which should work as long as embedded python is available. As a sanity check, can you try running
|
@isc-tleavitt
Which way do you recommend? |
During recent meetings with Eric (from IPE) and @isc-jili , we discovered that when loading the installer artifact of IPM 0.10.0 (e.g., zpm-0.10.0-beta.3.xml) on a fresh iris instance, the python requirements.txt is ignored, causing all
import oras
calls to fail.However, manually installation from source code works fine. Namely,
Something in the bootstrap process is missing.
The text was updated successfully, but these errors were encountered: