4 ms·
Can you define dependencies loosely and still have a lock file in Anaconda so when you come back to the project a year later you can install the exact same depe
by fphilipe 7y ago
Can you define dependencies loosely and still have a lock file in Anaconda so when you come back to the project a year later you can install the exact same dependencies at the same versions? (Honest question, not familiar with Anaconda.)
- yegle 7y agoIf you have these requirements, why not vendorize all your dependencies?
- delaaxe 7y agoYou can pip freeze
- aldanor 7y agoSo you want to define your dependencies loosely or lock them?
- fjp 7y agoYou can do both! Your general file can loosely define dependencies like greater than this version, less than this version, skip this version, etc Then you “lock” and it builds a dependency tree with the newest version of everything that satisfies your loose requirements. Then you can choose to install dependencies from your lockfile, which is exact frozen versions OR you can re-run the lock later, which will again attempt to update everything to the latest versions that satisfy your loose constraints