Open victorfleury opened 8 months ago
Thanks for reporting this! We'll have a couple of changes to do before we can support Python 3.12.
Hopefully we should be able to get to fixing this after support for Python 2.7 is removed (so post rez 3.0).
Looks like it is working fine with the new 3.0.0 version.
Just spotted a small typo in rezconfig.py
making Python complain about a bad escaping sequence.
I think it'll fail later, somewhere in the plugin loading stage.
Indeed, trying both rez bind
and rez build
yields errors :
Traceback (most recent call last):
File "/opt/rez/lib64/python3.12/site-packages/rez/plugin_managers.py", line 211, in get_plugin_class
return self.plugin_classes[plugin_name]
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'memory'
I tried to install Rez on my machine with Python 3.12 on Fedora 39
The installation script seemed to run almost flawlessly except for the end where even if I got a
SUCCESS
message it turned out to be a faulty installation with the following traceback (see below)After a bit of investigation from @JeanChristopheMorinPerso it looks like the vendored
six
package is not enough up to date. Rez bundlessix-1.12.0
when Python 3.12 comes up withsix-1.16.0
.One solution would be to update the bundled version of
six
with Rez. The other probably to remove the vendored version ofsix
and use the one from the system Python already.Environment
rez-python --version
throws the error below.To Reproduce
Expected behavior The expected behaviour would have been to get Rez installed and ready to use.
Actual behavior The actual result was this traceback :
And running any
rez
commands would end up spitting out the same error message.