-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.12 Support #92
Comments
The second bullet point is being addressed by #113 |
FYI for anyone else who stumbles on this issue when trying to install falcon-toolkit with multiple versions of python. I have 3 versions of python installed via pyenv as well as python 3.12 installed directly on my mac.
Trying to install falcon-toolkit using the traditional command eventually gave me the readline error as described in this issue because it was defaulting to my system python version (3.12).
There is a workaround but it requires you to have prior versions of python installed and helps to have a manager like pyenv. To get falcon-toolkit to install correctly using a prior version of python, use the
|
FYI just last week the gnureadline maintainer has created a new PR that they say they prefer: ludwigschwardt/python-gnureadline#71 (the PR linked in the OP for gnureadline appears to be open even though ludwig disprefers that approach) |
Thanks Dav, I forgot to close that :-) Please let me know if the new PR works for you. |
Thank you to all who have commented above! I have updated the OP to link to Ludwig's new PR which I have tested as working under 3.12. See: ludwigschwardt/python-gnureadline#71 (comment) Once this PR has been approved and pushed to PyPI, I will close this issue as we don't have any other (known) 3.12 compatibility issues. Thanks to all for your patience on this one, and a massive thank you to Ludwig for his work on the |
Thanks to some great work from @ludwigschwardt, we now have a working version of gnureadline for Python 3.12!! 🎉 Thank you so much again, Ludwig! We'll get some better documentation written around this to certify Python 3.12 here. |
It appears that the
gnureadline
package on PyPI will not build properly on macOS Sonoma with Python 12.0, potentially due to some changes inclang
.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: aisk/pick#110).Support Task List
gnureadline
built for Python 3.12 and onto PyPI (see: Support Python 3.11 and 3.12 ludwigschwardt/python-gnureadline#71).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.The text was updated successfully, but these errors were encountered: