Description:
python3-config is not installed properly for all platforms / Python versions
Action version:
v5
Platform:
Runner type:
Tools version:
All versions from 3.9 to 3.12
Repro steps:
https://github.com/mmomtchev/pymport/actions/runs/17413713251/job/49436903531
All shared_python jobs - only a handful are working
Each job compares the output of pkg-config python3-embed with python3-config --embed
Expected behavior:
python3-config is an official part of the Python distribution. Unlike the python3-embed.pc which uses standard pkg-config syntax, it is a Python script that extracts the information from the Python binary itself.
One of its main advantages is that it is compatible with pyenv - when pyenv manages multiple Python installations, python3-config will work correctly.
Actual behavior:
It should be possible to build a package that embeds Python using the output of python3-config
Note: there are two stale issues about this problem:
#91
#297
Description:
python3-config is not installed properly for all platforms / Python versions
Action version:
v5
Platform:
Runner type:
Tools version:
All versions from 3.9 to 3.12
Repro steps:
https://github.com/mmomtchev/pymport/actions/runs/17413713251/job/49436903531
All
shared_pythonjobs - only a handful are workingEach job compares the output of
pkg-config python3-embedwithpython3-config --embedExpected behavior:
python3-configis an official part of the Python distribution. Unlike thepython3-embed.pcwhich uses standardpkg-configsyntax, it is a Python script that extracts the information from the Python binary itself.One of its main advantages is that it is compatible with
pyenv- whenpyenvmanages multiple Python installations,python3-configwill work correctly.Actual behavior:
It should be possible to build a package that embeds Python using the output of
python3-configNote: there are two stale issues about this problem:
#91
#297