Open zetetic opened 9 months ago
@zetetic same issue here. My team can repro the issue ondemand as well with Python v3.11 +, and remediated with python v3.10
Still happening with 3.12.2
NB it also fails for 3.12.4 but for a different reason: here, the imp
module is missing, which is deprecated. So this would be another thing that needs to be fixed.
Looks like this is an error from Termbox itself. This repo is just the bindings for Termbox in Elixir. The last update to Termbox was 6 years ago. Likely the issue should be raised there, but I doubt they will update it for the newer versions of Python. Link to Termbox repo https://github.com/nsf/termbox
The issue is that Termbox is using waf version 2.0.14. It looks like this issue has been fixed in waf 2.1.2: https://gitlab.com/ita1024/waf/blob/master/ChangeLog
I've opened an issue in termbox: https://github.com/nsf/termbox/issues/136
macOS 14.2
When running 'mix compile' on a new Elixir project including ratatouille (which depends on ex_termbox):
Downgrading Python to 3.10 allows 'mix compile' to complete successfully.
I think this is related to the following issue, which mentions that support for the deprecated 'U' flag was removed in v3.11:
open(): remove 'U' mode, deprecated since Python 3.3 #81511