cgat-developers / cgat-flow

cgat-flow repository
MIT License
13 stars 9 forks source link

Refactor install-devel.sh #119

Closed sebastian-luna-valero closed 4 years ago

sebastian-luna-valero commented 4 years ago

Jenkins tests are failing because install-devel.sh creates a cgat-flow conda environment in several stages:

  1. add cgat-core deps
  2. add cgat-apps deps
  3. add a minimum set of cgat-flow deps
  4. ... and more...

The problem is that conda env upgrade -f env.yml statements may modify the version of Python in cgat-flow so you right now python setup.py develop is run in the cgat-flow environment with a version of Python, and after a conda env upgrade -f env.yml, the version of Python changes and therefore cgat-core and co. are not found in the testing part of install-devel.sh

This PR tries to solve that issue by reordering the installation of conda environments and the installation of CGAT code.