Rez

Latest version: v3.2.1

Safety actively analyzes 688386 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 37

3.2.1

[Source](https://github.com/AcademySoftwareFoundation/rez/tree/3.2.1) | [Diff](https://github.com/AcademySoftwareFoundation/rez/compare/v3.2.0...3.2.1)

Fixes

- Fix key error on getting the "testing" key on older contexts [\1863](https://github.com/AcademySoftwareFoundation/rez/pull/1863) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))

This will fix issues where contexts created from rez less than 3.2.0 would fail to be loaded in 3.2+.

3.2.0

[Source](https://github.com/AcademySoftwareFoundation/rez/tree/3.2.0) | [Diff](https://github.com/AcademySoftwareFoundation/rez/compare/3.1.1...3.2.0)

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](https://github.com/AcademySoftwareFoundation/rez/pull/1679) [\#1853](https://github.com/AcademySoftwareFoundation/rez/pull/1853) ([isohedronpipeline](https://github.com/isohedronpipeline), [Pixel-Minions](https://github.com/Pixel-Minions))
- Add new `default_build_process` setting to set the default build process [\1724](https://github.com/AcademySoftwareFoundation/rez/pull/1724) ([predat](https://github.com/predat))
- Add new `testing` object to check if rez-test is running [\1740](https://github.com/AcademySoftwareFoundation/rez/pull/1740) ([fabal](https://github.com/fabal), [nca45](https://github.com/nca45))
- Convert Windows registry queries to use `winreg` module. Expect some speed improvements on Windows [\1780](https://github.com/AcademySoftwareFoundation/rez/pull/1780) ([nrusch](https://github.com/nrusch))

Fixes
- Fix shell detection code to handle a case where the parent PID is zero [\1735](https://github.com/AcademySoftwareFoundation/rez/pull/1735) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))
- Don't expand tilde in `REZ_USED_IMPLICIT_PACKAGES` and `REZ_USED_REQUEST` environment variables [\1760](https://github.com/AcademySoftwareFoundation/rez/pull/1760) ([cfxegbert](https://github.com/cfxegbert))
- Fix incorrect string operations on bytes output of 'ps' subprocess in shell detecton code [\1765](https://github.com/AcademySoftwareFoundation/rez/pull/1765) ([parikshittiwari740](https://github.com/parikshittiwari740))
- Fix missing path in GitBash warning message [\1775](https://github.com/AcademySoftwareFoundation/rez/pull/1775) ([brycegbrazen](https://github.com/brycegbrazen))
- Make Powershell aliases exit with correct exit code [\1778](https://github.com/AcademySoftwareFoundation/rez/pull/1778) ([brycegbrazen](https://github.com/brycegbrazen))
- Fix TypeError when running get_rpaths in `rez.utils.elf` module [\1798](https://github.com/AcademySoftwareFoundation/rez/pull/1798) ([ruzette](https://github.com/ruzette))
- Fix `package_cache_async` missing from `ResolvedContext` dict round-trip [\1810](https://github.com/AcademySoftwareFoundation/rez/pull/1810) ([nrusch](https://github.com/nrusch))
- Move winreg import to local import to avoid import errors on non-windows systems [\1846](https://github.com/AcademySoftwareFoundation/rez/pull/1846) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))
- Fix rez-test commands defined as list that result in an empty command [\1850](https://github.com/AcademySoftwareFoundation/rez/pull/1850) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))
- Adjust python requirement of rez bound package to `python-3.7+<3.12"` [\1848](https://github.com/AcademySoftwareFoundation/rez/pull/1848) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))

Documentation
- Add adopters list [\1720](https://github.com/AcademySoftwareFoundation/rez/pull/1720) ([maxnbk](https://github.com/maxnbk))
- Various updates to contributing.md for support, legal, versioning [\1721](https://github.com/AcademySoftwareFoundation/rez/pull/1721) ([maxnbk](https://github.com/maxnbk))
- Various updates to release.md for release cadence and versioning used [\1722](https://github.com/AcademySoftwareFoundation/rez/pull/1722) ([maxnbk](https://github.com/maxnbk))
- Add package orderers documentation [\1737](https://github.com/AcademySoftwareFoundation/rez/pull/1737) ([BryceGattis](https://github.com/BryceGattis))

Miscellaneous

- Fix formatting sonarcloud compliance issue [\1697](https://github.com/AcademySoftwareFoundation/rez/pull/1697) ([BryceGattis](https://github.com/BryceGattis))
- Add argcomplete vendored version to vendor README.md [\1742](https://github.com/AcademySoftwareFoundation/rez/pull/1742) ([BryceGattis](https://github.com/BryceGattis))
- Add date to vendored pika [\1743](https://github.com/AcademySoftwareFoundation/rez/pull/1743) ([BryceGattis](https://github.com/BryceGattis))
- Migrate plugin type settings to plugin rez configs [\1746](https://github.com/AcademySoftwareFoundation/rez/pull/1746) ([BryceGattis](https://github.com/BryceGattis))
- Remove Python 2 vendored pyyaml library [\1845](https://github.com/AcademySoftwareFoundation/rez/pull/1845) ([maxnbk](https://github.com/maxnbk))

Deprecated

* The `rez.package_cache.PackageCache.add_variants_async` method. Use the `add_variants` method instead.

3.1.1

[Source](https://github.com/AcademySoftwareFoundation/rez/tree/3.1.1) | [Diff](https://github.com/AcademySoftwareFoundation/rez/compare/3.1.0...3.1.1)

Fixes

- Add symlink locking for filesystems that do not support hardlinks [\1708](https://github.com/AcademySoftwareFoundation/rez/pull/1708) ([cfxegbert](https://github.com/cfxegbert))
- Fix error caused by weakly referenced package not specifying version ▒ [\1712](https://github.com/AcademySoftwareFoundation/rez/pull/1712) ([loonghao](https://github.com/loonghao))

Documentation

- Add plugin documentation page [\1703](https://github.com/AcademySoftwareFoundation/rez/pull/1703) ([BryceGattis](https://github.com/BryceGattis))
- Make gh-rez external link dynamic [\1707](https://github.com/AcademySoftwareFoundation/rez/pull/1707) ([BryceGattis](https://github.com/BryceGattis))

Miscellaneous

- Convert all plugin rezconfig to rezconfig.py [\1692](https://github.com/AcademySoftwareFoundation/rez/pull/1692) ([brycegbrazen](https://github.com/brycegbrazen))

3.1.0

[Source](https://github.com/AcademySoftwareFoundation/rez/tree/3.1.0) | [Diff](https://github.com/AcademySoftwareFoundation/rez/compare/3.3.0...3.1.0)

Features

- Add support for `virtualenv` in the installer [\1645](https://github.com/AcademySoftwareFoundation/rez/pull/1645) ([Pixel-Minions](https://github.com/Pixel-Minions))
- Add `-e/--editable` flag to the installer to create an editable install [\1672](https://github.com/AcademySoftwareFoundation/rez/pull/1672) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))

Fixes

- Add retry mechanism when renaming folders on Windows [\1666](https://github.com/AcademySoftwareFoundation/rez/pull/1666) ([loonghao](https://github.com/loonghao))
- Apply package orderers on variants [\1684](https://github.com/AcademySoftwareFoundation/rez/pull/1684) ([isohedronpipeline](https://github.com/isohedronpipeline) and [pmolodo](https://github.com/pmolodo))

Documentation

- Remove the note about Python 2.7 compatibility from the docs [\1644](https://github.com/AcademySoftwareFoundation/rez/pull/1644) ([vergeev](https://github.com/vergeev))
- Add clear information on how to contact maintainers [\1659](https://github.com/AcademySoftwareFoundation/rez/pull/1659) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))
- Installation instructions now include how to download rez [\1660](https://github.com/AcademySoftwareFoundation/rez/pull/1660) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))
- Add development environment docs to [CONTRIBUTING.md](./CONTRIBUTING.md) [\1633](https://github.com/AcademySoftwareFoundation/rez/pull/1633) ([BryceGattis](https://github.com/BryceGattis))
- Improve clarity and expliciteness of `rez-env --command` flag help [\1682](https://github.com/AcademySoftwareFoundation/rez/pull/1682) ([BryceGattis](https://github.com/BryceGattis))
- Add releasing packages documentation [\1689](https://github.com/AcademySoftwareFoundation/rez/pull/1689) ([BryceGattis](https://github.com/BryceGattis))
- Improve clarify of early binding functions documentation [\1677](https://github.com/AcademySoftwareFoundation/rez/pull/1677) ([BryceGattis](https://github.com/BryceGattis))

Miscellaneous

- Remove Python2-related `__future__` imports [\1640](https://github.com/AcademySoftwareFoundation/rez/pull/1640) ([vergeev](https://github.com/vergeev))
- Replace usages of `rez.vendor.enum` with the built-in enum module [\1649](https://github.com/AcademySoftwareFoundation/rez/pull/1649) ([predat](https://github.com/predat))
- Remove `rez.backport` [\1634](https://github.com/AcademySoftwareFoundation/rez/pull/1634) ([BryceGattis](https://github.com/BryceGattis))
- Remove `rez.utils.json` [\1673](https://github.com/AcademySoftwareFoundation/rez/pull/1673) ([BryceGattis](https://github.com/BryceGattis))
- Remove `rez.utils.py23` and cleanup more python 2.7 leftovers [\1678](https://github.com/AcademySoftwareFoundation/rez/pull/1678) ([wandth](https://github.com/wandth))

3.0.0

- [disable_rez_1_compatibility](https://rez.readthedocs.io/en/stable/configuring_rez.html#disable_rez_1_compatibility) will become enabled by default.
- [rez_1_environment_variables](https://rez.readthedocs.io/en/stable/configuring_rez.html#rez_1_environment_variables) will become disabled by default.

2.114.1

[Source](https://github.com/AcademySoftwareFoundation/rez/tree/2.114.1) | [Diff](https://github.com/AcademySoftwareFoundation/rez/compare/2.114.0...2.114.1)

**Merged pull requests:**

- Fix exception when deprecated settings appear in a user config [\1595](https://github.com/AcademySoftwareFoundation/rez/pull/1595) ([JeanChristopheMorinPerso](https://github.com/JeanChristopheMorinPerso))
- Add cross reference for package_cache_during_build in docs [\1598](https://github.com/AcademySoftwareFoundation/rez/pull/1598) ([brycegbrazen](https://github.com/brycegbrazen))

Page 1 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.