3.2.0 (2024-10-20)
This release introduces a long awaited and requested feature: the ability to synchronously cache
package payloads. This behaviour can be controlled centrally using the new package_cache_async
setting in your rezconfig files. The default value is True, which means that as before, caches
will be synced asynchrously. rez-env
also gained a new --pkg-cache-mode
to control the
caching behaviour on a per case basis.
Other note worthy additions are the new testing
object that can be used to test if rez-test
is currently running from withing commands functions and early bound functions. Additionally, a new setting default_build_process
was added to set the default build process to be used by rez-build.
Thanks to everybody who contributed and made all these features, bugfixes and improvements possible!
Features
- Add ability to cache package payloads synchronously #1679 #1853 (@isohedronpipeline, @Pixel-Minions)
- Add new
default_build_process
setting to set the default build process #1724 (@predat) - Add new
testing
object to check if rez-test is running #1740 (@fabal, @nca45) - Convert Windows registry queries to use
winreg
module. Expect some speed improvements on Windows #1780 (@nrusch)
Fixes
- Fix shell detection code to handle a case where the parent PID is zero #1735 (@JeanChristopheMorinPerso)
- Don't expand tilde in
REZ_USED_IMPLICIT_PACKAGES
andREZ_USED_REQUEST
environment variables #1760 (@cfxegbert) - Fix incorrect string operations on bytes output of 'ps' subprocess in shell detecton code #1765 (@parikshittiwari740)
- Fix missing path in GitBash warning message #1775 (@brycegbrazen)
- Make Powershell aliases exit with correct exit code #1778 (@brycegbrazen)
- Fix TypeError when running get_rpaths in
rez.utils.elf
module #1798 (@ruzette) - Fix
package_cache_async
missing fromResolvedContext
dict round-trip #1810 (@nrusch) - Move winreg import to local import to avoid import errors on non-windows systems #1846 (@JeanChristopheMorinPerso)
- Fix rez-test commands defined as list that result in an empty command #1850 (@JeanChristopheMorinPerso)
- Adjust python requirement of rez bound package to
python-3.7+<3.12"
#1848 (@JeanChristopheMorinPerso)
Documentation
- Add adopters list #1720 (@maxnbk)
- Various updates to contributing.md for support, legal, versioning #1721 (@maxnbk)
- Various updates to release.md for release cadence and versioning used #1722 (@maxnbk)
- Add package orderers documentation #1737 (@BryceGattis)
Miscellaneous
- Fix formatting sonarcloud compliance issue #1697 (@BryceGattis)
- Add argcomplete vendored version to vendor README.md #1742 (@BryceGattis)
- Add date to vendored pika #1743 (@BryceGattis)
- Migrate plugin type settings to plugin rez configs #1746 (@BryceGattis)
- Remove Python 2 vendored pyyaml library #1845 (@maxnbk)
Deprecated
- The
rez.package_cache.PackageCache.add_variants_async
method. Use theadd_variants
method instead.