cxcsds / ciao-contrib

Extra scripts and code to enhance the capabilities of CIAO.
GNU General Public License v3.0
8 stars 6 forks source link

check_ciao_version with non-conda managers #886

Open DougBurke opened 2 months ago

DougBurke commented 2 months ago

This is with CIAO development but behaviour is the same with the released version. Looks like we need to update the processing of the JSON output

% check_ciao_version --debug
Finding conda package manager
  - found MAMBA / /nix/store/ml2q0w4kf34q4agfl6pbach5blrf75yh-micromamba-1.4.4/bin/micromamba
About to query the MAMBA environment
 - found ciao 4.17.0.b1 https://cxc.cfa.harvard.edu/conda/test
 - found ciao-contrib 4.16.1 https://cxc.cfa.harvard.edu/conda/test
 - found ds9 8.6b1 https://cxc.cfa.harvard.edu/conda/test
 - found sherpa 4.17.0.b1 https://cxc.cfa.harvard.edu/conda/test
 - found xpa 2.1.20 https://cxc.cfa.harvard.edu/conda/test
 - found xspec-modelsonly 12.14.0i https://cxc.cfa.harvard.edu/conda/test
Trying to run /nix/store/ml2q0w4kf34q4agfl6pbach5blrf75yh-micromamba-1.4.4/bin/micromamba update --json --dry-run -c https://cxc.cfa.harvard.edu/conda/test -c conda-forge ciao ciao-contrib ds9 sherpa xpa xspec-modelsonly
 - unable to find actions/FETCH in {'dry_run': True, 'message': 'All requested packages already installed', 'prefix': '/home/dburke/micromamba/envs/ciaot', 'success': True}
It looks like a CIAO package needs to be updated by CIAO but I can't find which.