eliminate most glue dependencies by migrating pipeline.py from gstlal
Detailed Description
This is some packaging house-keeping. With only two exceptions, the only actual dependency lalsuite has on the old glue package is the "pipeline.py" module. That module had originally been developed under the lalsuite umbrella but was moved to glue when that project was created. It came to be unmaintained for a long time, for example it didn't get ported to python 2 when that was needed, so the gstlal project forked it and maintained a working version locally. This patch set copies pipeline.py from gstlal into lalsuite, and replaces the glue.pipeline imports found in several lalsuite packages with lal.pipeline imports. Finally, the version from glue is merged back into the module so that it provides the same API as that module (not that anything needs it, just for posterity). That almost completely decouples lalsuite from the glue package. Since pipeline.py in glue was non-functional for many years when Python 2 became unavailable, clearly the codes in lalsuite that rely on it are not used regularly and are therefore almost certainly bit-rotted in other ways. I make no guarantees that these patches leave any of them in a working state. It is left as an exercise for the maintainers of the DAG scripts to resurrect them if needed. I can speak about the cosmic string pipeline, one of the DAG scripts affected: the production version of that pipeline is not on master or even in lscsoft's lalsuite, it lives in a branch in a forked tree, but that came to be mostly because of the breakage related to glue and python 2; this work might facilitate the production version of that pipeline being brought back onto lalsuite's mainline tree.
API Changes
Please tick one of the following options:
-
These changes do not modify the API. -
These changes do modify the API, and are backwards compatible. -
These changes do modify the API, and are backwards incompatible.
No existing API is modified, but pipeline.py is added to lal's Python namespace.
Justification for Backwards Incompatible Changes
N/A
Review Status
These patches are not reviewed. I believe the affected codes in lalsuite are bit-rotted and non-functional. It's possible that this new pipeline.py version is enough to fix some of them. The pipeline.py module from gstlal has been and is used for production running, and that pipeline is reviewed. The pipeline.py version that appears here differs from that version only by the addition of a few classes from the glue version and in whitespace changes.
Merge request reports
Activity
assigned to @adam-mercer
enabled an automatic merge when all merge checks for 7c5be697 pass
requested review from @gregory.ashton, @patricia-schmidt, @marco-drago, @david-keitel, @john-whelan, @evan-goetz, @john-veitch, @bfarr, @vivien, @salvatore-vitale, @karl-wette, @matthew-pitkin, @adam-mercer, @soichiro.kuwahara, @daichi.tsuna, @cjhaster, @ian-harry, @aaron.zimmerman, @florent-robinet, @jolien-creighton, and @duncanmmacleod
- Resolved by Kipp Cannon
@matthew-pitkin it looks like the one code in lalpulsar relying on this is knope - any opinions?
added 648 commits
-
7c5be697...bcd3ed25 - 638 commits from branch
lscsoft:master
- 691206c5 - migrate pipeline.py from gstlal
- 31fd7fe0 - pipeline.py: restore classes deleted from gstlal's version
- 4a4faab6 - pipeline.py: switch burst codes' import
- c4453284 - lalinspiral: remove glue dependency
- 7b1cc11b - SWIGLALMetaIOOmega.i: update documentation
- ebff3f29 - lalapps: remove obsolete inspiral.py module
- 646f2bf1 - lalpulsar: glue.pipeline --> lal.pipeline
- e0bd328a - lalinference: glue.pipeline --> lal.pipeline
- 2a87e9b0 - pipeline.py: port to igwn_segments
- 0cc6d03b - merge pipeline.py from glue
Toggle commit list-
7c5be697...bcd3ed25 - 638 commits from branch
enabled an automatic merge when all merge checks for 0cc6d03b pass
@aaron.zimmerman @cjhaster @gregory.ashton @patricia-schmidt @vivien @salvatore-vitale @john-veitch @bfarr This merge request needs you to approve changes to
lalinference/
.Please review the changes, and either add your approval or leave comments for @adam-mercer to address.
assigned to @kipp and unassigned @adam-mercer