This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients Alex.Willmer, bill9889, doko, iliis, steve.dower, wscullin
Date 2020-03-19.20:19:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584649159.96.0.0274847446188.issue22699@roundup.psfhosted.org>
In-reply-to
Content
So ultimately this is a major sysconfig design flaw, and it likely requires a rewrite.

The mix of information sources between _sysconfigdata (even when overriding the name and PYTHONPATH) and the Makefile, and the order in which you can rely them to be loaded (you can't) and the fact that INSTALL_SCHEMES depends on _neither_ (it only uses the running interpreter's sys module) means you can't possibly get a coherent view of the settings for anything other than the running interpreter.

Since we need something else for cross-compiling, we should either fix sysconfig so that it's possible to override the source of information reliably, or we avoid using it completely for building the CPython extension modules. The former would likely help third-party cross-compilation more.

I'm not sure who needs to be in on this, so I'll post to python-dev before going any further.
History
Date User Action Args
2020-03-19 20:19:20steve.dowersetrecipients: + steve.dower, doko, Alex.Willmer, bill9889, wscullin, iliis
2020-03-19 20:19:19steve.dowersetmessageid: <1584649159.96.0.0274847446188.issue22699@roundup.psfhosted.org>
2020-03-19 20:19:19steve.dowerlinkissue22699 messages
2020-03-19 20:19:19steve.dowercreate