conda / conda-lock

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

use matchspec in LockedDependency creation (issue 414) #415

Closed AlbertDeFusco closed 1 year ago

AlbertDeFusco commented 1 year ago

This addresses #414

Description

The previous implementation assumed that dependencies of installed packages listed in the dry-run-solve json output are of the format "\<name> \<version>", which is a subset of MatchSpec.

netlify[bot] commented 1 year ago

Deploy Preview for conda-lock ready!

Name Link
Latest commit 3aace6f55e26845af7259453c17e368af45aa0fd
Latest deploy log https://app.netlify.com/sites/conda-lock/deploys/646e0e1750065c00085a9fa1
Deploy Preview https://deploy-preview-415--conda-lock.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

maresb commented 1 year ago

Thank you very much for this, @AlbertDeFusco. It's indeed much better to replace such string manipulations with proper classes.