Closed sbrus89 closed 9 months ago
I think this is a great idea.
The first change would be to update the alpha/beta/rc version every time a dependency changes, rather than just for spack changes like currently happens.
The second would be to check if the code version is the same as the version in the load script and complain if it isn't. That should be pretty easy.
It would be convenient if the load script would recognize if an existing environment is outdated relative to a checked-out branch. This would avoid recreating the environment unnecessarily out of caution to prevent problems with changed dependencies (or running into dependency issues due to not recreating the environment when it is necessary).
I'm just raising this as a discussion topic in case others have input.