Falcon-Toolkit
Falcon-Toolkit copied to clipboard
Python 3.12 Support
It appears that the gnureadline
package on PyPI will not build properly on macOS Sonoma with Python 12.0, potentially due to some changes in clang
.
This issue acknowledges that we are aware of this, and for now recommend sticking with Python 3.11 if you require an alternative readline implementation. Note that this will apply to most macOS/Homebrew users, as Python is built against libedit by convention on macOS.
There are also some documented issues with the pick
ibrary that we use on Python 3.12 (see: https://github.com/wong2/pick/issues/110).
Support Task List
- [x] Get
gnureadline
built for Python 3.12 and onto PyPI (see: https://github.com/ludwigschwardt/python-gnureadline/pull/71). - [x] Either wait for a fix in the
pick
library, or migrate to Prompt Toolkit. As some of our internal tooling uses a combination of Prompt Toolkit andpick
, I am not opposed to reducing dependencies here and fully migrating to Prompt Toolkit. - [ ] Fully test the application on 3.12, paying attention to things like command history, curses-based UIs (keyboard selection menus), etc.