Skip to content

python3-config not installed properly for all platforms / Python versions #1193

Description

@mmomtchev

Description:
python3-config is not installed properly for all platforms / Python versions

Action version:
v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions