Bugzilla Automation <[email protected]> has asked freebsd-python mailing
list <[email protected]> for maintainer-feedback:
Bug 243358: [PATCH] lang/python*: DISABLED_EXTENSIONS doesn't work as
advertised
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243358



--- Description ---
I tried building lang/python38 on a system with sqlite3 available, and
unfortunately it failed `check-plist` because the extension had been installed.

Doing some grepping around, DISABLE_EXTENSIONS isn't actively referred to in
setup.py nor in Makefile.pre*:

ports/lang/python38/work/Python-3.8.1/setup.py:DISABLED_MODULE_LIST = []
ports/lang/python38/work/Python-3.8.1/setup.py:                      if
ext.name not in DISABLED_MODULE_LIST]
ports/lang/python38/work/Python-3.8.1/setup.py:        sysconf_dis =
sysconfig.get_config_var('MODDISABLED_NAMES').split()

It turns out that the correct way to do this is via `Modules/Setup`, but this
method seems to be broken.

An upstream bug is pending for the issue.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[email protected]"

Reply via email to