Describe the bug here.
Environment
- rocky 9.5 linux
- Rez 3.4.0
- Rez python 3.11
To Reproduce
Add these lines in a package.py file
@late()
def private_build_requires():
pass
then rez build -ci
Expected behavior
This is a regression. In Rez 3.3.0, this has no effect. In Rez 3.4.0, this generates a traceback.
The setting is wrong - the function should return a list, not None. But it does not fail in 3.3.0, but does in 3.4.0.
I am not sure which version is the bug, but I think the correct behavior would be a warning that the value was not set properly, and then ignore it and continue.
Also, this only seems to happen with a late-binding function. If I just have this:
private_build_requires = None
It "works" (does not crash) in Rez 3.4.0
Describe the bug here.
Environment
To Reproduce
Add these lines in a
package.pyfilethen
rez build -ciExpected behavior
This is a regression. In Rez 3.3.0, this has no effect. In Rez 3.4.0, this generates a traceback.
The setting is wrong - the function should return a list, not None. But it does not fail in 3.3.0, but does in 3.4.0.
I am not sure which version is the bug, but I think the correct behavior would be a warning that the value was not set properly, and then ignore it and continue.
Also, this only seems to happen with a late-binding function. If I just have this:
It "works" (does not crash) in Rez 3.4.0