Project: datamanagement
Issue DM-2769: sconsUtil has a hard dependency on EUPS for both tests and installation
After some discussion on Data Management, its clear that sconsUtils is a hard requirement on EUPS for both tests and installation. It was decided by RFC-44 that tests should not depend on EUPS. However, I'd argue that sconsUtils should also not depend on EUPS as any package that uses sconsUtils (the virtual entirety of the stack) can not build or run tests without the presence of EUPS. The current situation is that the complete stack has a hard dependency on EUPS. Attempting to build sconUtils without the presence of EUPS. The tests fail attempting to import the eups module. {code} $ SCONSUTILS_DIR=. scons -Q Unable to import eups; guessing flavor CC is gcc version 4.8.3 Checking for C++11 support C++11 supported with '-std=c++11' Unable to import eups; guessing flavor Doxygen is not setup; skipping documentation build. ImportError: No module named eups: File "/home/vagrant/sconsUtils/SConstruct", line 9: scripts.BasicSConstruct.initialize(packageName="sconsUtils") File "python/lsst/sconsUtils/scripts.py", line 106: SCons.Script.SConscript(os.path.join(root, "SConscript")) File "/usr/lib/scons/SCons/Script/SConscript.py", line 609: return method(*args, **kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 546: return _SConscript(self.fs, *files, **subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 260: exec _file_ in call_stack[-1].globals File "/home/vagrant/sconsUtils/tests/SConscript", line 5: import eups {code} Attempting to bypass the test failures: {code} [vagrant@jenkins-el7-1 sconsUtils]$ rm -rf tests [vagrant@jenkins-el7-1 sconsUtils]$ SCONSUTILS_DIR=. scons -Q install Unable to import eups; guessing flavor CC is gcc version 4.8.3 Checking for C++11 support C++11 supported with '-std=c++11' Error with git version: uncommitted changes Found problem with version number; update or specify force=True to proceed {code}
Story points: 6