Monday, October 31, 2022

Python 3.10+ readline issue (was Re: [New(ish)] Python 3.11.0)

On Mon, Oct 31, 2022 at 10:04:30PM +0000, Stuart Henderson wrote:

> If anyone has an idea what's up with readline, I'd love to hear it,
> it's a bit of a blocker for switching to 3.10 by default and I don't find
> the build system particularly easy to work with.

> There's one fairly obvious issue (tb and I both found this one), the
> newer build system wants a libreadline.so symlink; putting that in place
> temporarily in /usr/lib works around that but doesn't fix the problem.

Further details:

Up until Python 3.8.x the readline module built just fine. Starting with
3.9, it complained about the readline module not working, but a working
module _does_ get built anyway. So looking into what changed between 3.8,
3.9, and 3.10 for the build system may yield something.

--Kurt

No comments:

Post a Comment