Am 26.01.21 um 12:58 schrieb Matthias Klose:
On 12/19/20 8:21 PM, Bastian Germann wrote:
Package: python3.9
Version: 3.9.1-1
Severity: normal

Please consider replacing the GPL-3 licensed build dependency
libreadline-dev with libedit-dev, which is also supported by Python. The
GPL-3 is incompatible with some licenses such as GPL-2-only. Therefore,
a foundational package such as Python should choose the more
liberally licensed dependency to allow as much software in the archive
as possible without license headaches.

Most probably, there is already a GPL-2-only Python software in the
archive that uses the readline module but I did not check.

The readline module is usually loaded interactively, I don't see it as a
hard-coded dependency.

The configure code doesn't seem to look for libedit anyway.


The Misc/NEWS file has:
"bpo-38634: The :mod:`readline` module now detects if Python is linked to libedit at runtime on all platforms. Previously, the check was only done on macOS."

The configure script has some appearances of "libedit" and "editline".

I do not think that only "hard-coded" is something that makes a derivative work of some other work. The Python interpreter is most probably a derivative work of readline (or libedit) and so are the programs which load the readline module. If that was not true you could circumvent copyleft just by wrapping any GPL software with some kind of interpreter and make use of it with a proprietary program.

Reply via email to