wooden-dusk-90720
06/10/2023, 12:32 AMvictorious-lawyer-58417
06/10/2023, 12:34 AMvictorious-lawyer-58417
06/10/2023, 12:36 AMwooden-dusk-90720
06/10/2023, 12:38 AMwooden-dusk-90720
06/10/2023, 12:39 AMvictorious-lawyer-58417
06/10/2023, 12:49 AMwooden-dusk-90720
06/15/2023, 6:01 AMOSError: could not get source codevictorious-lawyer-58417
06/15/2023, 6:07 AMsubprocess as you would on the command line. Metaflow needs its own process anyways (and separate for child tasks), so a subprocess is needed in any casewooden-dusk-90720
06/16/2023, 3:38 AMpackage_A:
module_A/
flows/modelbuilder.py
flows/module_A <- this is a symlink to ../../module_A
cli.py
other_modules/
package_B:
module_B/
more_modules
package_B has a dependency on package_A. package_A exposes A-cli which I invoke from package_B to run the modelbuilder flow with some params (which can reference modules in package_B using some import magic). The SFN is failing with the following error:
./__conda_python: can't open file '/metaflow/modelbuilder.py': [Errno 2] No such file or directory
There seems to be two problems:
1. modelbuilder.py doesnt exist <-- it comes from package_A which i do see in the conda_v2.cnd file as a dependency but the actual location will be somewhere in the depths of site-packages after it's installed
2. package_B code doesn't exist in the tarball
Any suggestions/ideas on how to fix this or do what I want?