indygreg / python-build-standalone

Produce redistributable builds of Python
Mozilla Public License 2.0
1.99k stars 127 forks source link

Investigate dropping readline on Linux with Python 3.10+ #91

Closed indygreg closed 3 years ago

indygreg commented 3 years ago

It looks like CPython's build system gained more generic support for handling libedit in 3.10 and no longer assumes some things based on the target platform. We might be able to always distribute a libedit based distribution now and drop support for readline. This would eliminate a GPL dependency on a commonly used extension.

indygreg commented 3 years ago

Commit 1148eb932709500719eb1418c64750290badbaad switches Python 3.10 builds to libedit and stops building multiple variants of the readline extension. With the commit after that dropping gdbm, Python 3.10 distributions will no longer have any GPL licensed libraries.