idaholab / raven

RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
https://raven.inl.gov/
Apache License 2.0
217 stars 133 forks source link

[TASK] Add way to override the mamba create command line #2216

Closed joshua-cogliati-inl closed 9 months ago

joshua-cogliati-inl commented 9 months ago

Issue Description

It would be useful to be able to add to the mamba creating command line, because sometimes this is needed to get it to work.

For example, #2197 was caused by the following error

Could not solve for environment specs
The following packages are incompatible
├─ python 3.8**  is requested and can be installed;
└─ truststore is not installable because there are no viable options
   ├─ truststore [0.7.0|0.8.0] would require
   │  └─ python >=3.10  but there are no viable options
   │     ├─ python [3.11.0|3.11.1|...|3.11.6] conflicts with any installable versions previously reported;
   │     ├─ python [3.10.0|3.10.1|...|3.10.9] conflicts with any installable versions previously reported;
   │     ├─ python 3.12.0 conflicts with any installable versions previously reported;
   │     └─ python 3.12.0rc3 would require
   │        └─ _python_rc, which does not exist (perhaps a missing channel);
   ├─ truststore 0.8.0 would require
   │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
   └─ truststore 0.8.0 would require
      └─ python >=3.11,<3.12.0a0 , which conflicts with any installable versions previously reported.

which could have been solved by adding python=3.8 to when mamba was installed.

This feature would mainly be usable for debugging installs.


For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.


For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.