Skip to content

Can't build C extensions with --enable-pystats builds #121583

Description

@mdboom

Bug report

Bug description:

After building with --enable-pystats, you can't build any C extensions because Python.h includes pycode_uop_ids.h (indirectly).

      In file included from /home/mdboom/Work/builds/cpython/Include/pystats.h:16,
                       from /home/mdboom/Work/builds/cpython/Include/Python.h:65,
                       from src/_imagingmorph.c:14:
      /home/mdboom/Work/builds/cpython/Include/cpython/pystats.h:22:10: fatal error: pycore_uop_ids.h: No such file or directory
         22 | #include "pycore_uop_ids.h"
            |          ^~~~~~~~~~~~~~~~~~
      compilation terminated.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Jul 10, 2024
  2. self-assigned this
    on Jul 10, 2024
  3. added a commit that references this issue on Jul 10, 2024
  4. added a commit that references this issue on Jul 16, 2024
  5. added a commit that references this issue on Jul 16, 2024
  6. added a commit that references this issue on Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13only security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions