Open
Description
When a version of a package has been released and then cached, if I start to develop that package again in local with the same version number, the cached version of the payload is used instead of the one in local despite having package_cache_local = False
Environment
- OS (Rocky Linux 8)
- Rez version (2.113.0)
- Rez python version (3.6)
To Reproduce
1. Setup rez package caching
2. Release a package, foo-1.0
3. rez-env foo
to cache the package
4. Modify the package and rez-build -i
to local
5. rez-env foo
again and see that while the local copy overrode the package definition, REZ_FOO_ROOT is pointing to the cache
Expected behavior
I expect that the local version would always take precedence over a cached version.
Actual behavior
The cached version takes precedence.