Open weaverba137 opened 3 months ago
My intent is that there are no python import dependencies on any DESI packages.
The only (soft) dependency should be that the desi.yaml file refers to paths within $DESIMODEL.
OK, but that's not what I see in the code. Both specsim.instrument
and specsim.fastfiberacceptance
import desimodel.fastfiberacceptance
. I do see other references to $DESIMODEL
which is probably OK, but those import statements definitely create a dependency.
That came from https://github.com/desihub/specsim/pull/114 from @julienguy but I don't remember why this was needed. Hopefully he can comment here.
I'm not sure where this was introduced, but a dependency on desimodel has been introduced into specsim, which means that specsim is no longer independent of the DESI software stack. Furthermore, desimodel required desiutil, so that's two DESI packages.
In contrast, speclite is still independent of the DESI software stack.
What is the long-term intention for specsim maintenance in this regard?