FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

`--disable-gil` test failures due to ABI flag · Issue #110119 · python/cpython · GitHub

Repository navigation

--disable-gil test failures due to ABI flag #110119

Description

Bug report

On Linux and macOS, test_cppext fails due to:

AssertionError: would build wheel with unsupported tag ('cp313', 'cp313td', 'linux_x86_64')

Example build: https://buildbot.python.org/all/#/builders/1217/builds/286

Resolving this failure will require updating pip and our bundled pip version. In the meantime, I will skip this test on --disable-gil builds.

On Windows, there are additional build failures (test_importlib, test_peg_generator)

AssertionError: '_d.cp313-win32.pyd' not found in ['_d.cp313t-win_amd64.pyd', '_d.pyd']
LINK : fatal error LNK1181: cannot open input file 'python313_d.lib'

Example build: https://buildbot.python.org/all/#/builders/1241/builds/18

Resolving the Windows test failures require #110049 so that we have a standard way of determining --disable-gil builds from Python code.

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    testsTests in the Lib/test dir
    3.13only security fixes
    on Sep 29, 2023
  2. self-assigned this
    on Sep 29, 2023
  3. added a commit that references this issue on Sep 29, 2023
  4. added a commit that references this issue on Sep 29, 2023
  5. added a commit that references this issue on Oct 5, 2023
  6. added a commit that references this issue on Oct 5, 2023
  7. colesbury commented on Oct 5, 2023

    ContributorAuthor

    These are fixed now. The Windows buildbot needed to not be run from the "Developer Command Prompt for VS 2022".

  8. colesbury commented on Oct 5, 2023

    ContributorAuthor

    Oops I was looking at the wrong green icon.

  9. vstinner commented on Oct 5, 2023

    Member

    [test_cppext] Resolving this failure will require updating pip and our bundled pip version. In the meantime, I will skip this test on --disable-gil builds.

    If pip is fixed, can the test upgrade pip if running NoGIL Python, as a temporary workaround?

  10. colesbury commented on Oct 5, 2023

    ContributorAuthor

    Pip's not fixed yet, but that might be possible once it's fixed. I just put up a PR pypa/packaging#728 to update packaging.tags and then that would need to be pulled into pip's vendored copy of packaging.

  11. vstinner commented on Oct 6, 2023

    Member

    Until pip is fixed, sure, you can skip test_cppext on NoGIL build.

  12. colesbury commented on Oct 6, 2023

    ContributorAuthor

    The Windows test looks like it's passing now.

  13. added a commit that references this issue on Mar 18, 2024
  14. added 2 commits that reference this issue on Sep 2, 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 fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL