conda / conda-lock

Lightweight lockfile for conda environments
https://conda.github.io/conda-lock/
Other
489 stars 103 forks source link

Add missing tests for conda-lock install #411

Open maresb opened 1 year ago

maresb commented 1 year ago

Merging #389, in particular 08f2292, broke conda-lock install because LockedDependency is a StrictModel, so removing optional means existing lockfiles which contain optional now have fields which are not permitted and lead to an error. CC @srilman

I merged #389 because all the tests were passing. We should have tests to detect when we can't install from the lockfiles we create.