Re-think caching install scripts #592
Submandarine
started this conversation in
General
Replies: 1 comment 6 replies
-
Hi @Submandarine I'm not able to fully understand the problem here. The state of a cached entry only describes the state at which it got created right? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It happens that multiple cm scripts are run in succession which need different versions of packages e.g. numpy. With the current way the cache works this can cause issues when a script fails and in the next run the execution e.g. of the installation of a specific numpy version is cached, but the installed version is different because of an install later in the script. In other words, cache entries should not try to guarantee states outside of the cache.
Beta Was this translation helpful? Give feedback.
All reactions