Misleading warning issued for packages with compiled Python extensions #5164
Labels
source::community
catch-all for issues filed by community members
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
When building a package with a compiled Python extension, conda-build issues a warning like:
I think in the past this warning was not issued because before Python 3.8 Python extensions did link to libpython (as stated here). Now though they do not link to libpython. I think the warning message is misleading because it suggests removing the dependency on python (overdepending) or adding it to
build/ignore_run_export
, but I think the run export is still important because typically Python extensions are built such that they can only be loaded by a specific Python version (unless the package specifies the Python stable ABI). Ideally there would be a configuration option like "allow_run_exports_from" that would suppress this warning even when the extension shared library file does not link to libpython.Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: