Skip to content

Update bundled setupotools in test.wheeldata and remove wheel.whl #132415

Closed

Description

@stefanor

Bug report

Bug description:

test.wheeldata includes bundled setuptools and wheel wheels to build packages. Since setuptools>=0.70.1, the bdist_wheel method is natively included in setuptools, and there's no necessity to have the wheel library available, to build wheels any more.

Relatedly, wheel>=0.46.0 de-vendored the packaging library, so current versions of wheel can't be used without having packaging available too.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Activity

  1. added
    dependenciesPull requests that update a dependency file
    infraCI, GitHub Actions, buildbots, Dependabot, etc.
    on Apr 11, 2025
  2. AA-Turner commented on Apr 11, 2025

    @AA-Turner
    Member

    Do tests fail with different versions of wheel installed? I'm trying to work out if this is just a cosmetic change.

  3. stefanor commented on Apr 12, 2025

    @stefanor
    ContributorAuthor

    With the new setuptools, wheel isn't used any more, so bumping it or not makes no difference.

  4. AA-Turner commented on Apr 24, 2025

    @AA-Turner
    Member

    Adding/updating binary artefacts increases the repository size, with little observable/user benefit in this case (a test file). It might be easier just to do the update though, we will probably see more 'update' PRs (such as @hroncok's #132867, which I imagine was inadvertant -- it took me a couple of minutes to find this issue again).

    A

  5. changed the title [-]Setuptools now includes bdist_wheel[/-] [+]Update bundled setupotools in `test.wheeldata` and remove `wheel.whl`[/+] on Apr 24, 2025
  6. hroncok commented on Apr 24, 2025

    @hroncok
    Contributor

    Sorry for the duplicate issue and PR. I did not find this one.

    Here is my rationale from #132866

    In Fedora, we use our own setuptools and wheel wheels from WHEEL_PKG_DIR to test Python.

    wheel 0.45+ now depends on packaging pypa/wheel#655

    Since we would like to update our wheel and we already updated setuptools to a version that does not require wheel to create wheels, I was wondering whether we could update setuptools in https://github.com/python/cpython/tree/main/Lib/test/wheeldata to 70.1+ and drop the wheel.whl. That would make it easier for us to update.

  7. AA-Turner commented on Apr 24, 2025

    @AA-Turner
    Member

    Ok. I've opened a new PR, as wheeldata isn't covered by the ensurepip tooling, and also to use a newer release. See #132887.

    A

  8. added a commit that references this issue on Apr 24, 2025
  9. hroncok commented on Apr 25, 2025

    @hroncok
    Contributor

    Thanks

  10. added a commit that references this issue on Apr 25, 2025
  11. added a commit that references this issue on Apr 25, 2025
  12. 14 remaining items

  13. added a commit that references this issue on Jun 11, 2025
  14. added a commit that references this issue on Jun 11, 2025
  15. added 3 commits that reference this issue on Jun 11, 2025
  16. added a commit that references this issue on Jun 12, 2025
  17. added a commit that references this issue on Jun 12, 2025
  18. added a commit that references this issue on Jul 14, 2025
  19. added a commit that references this issue on Oct 10, 2025
  20. added a commit that references this issue on Mar 3, 2026
  21. added a commit that references this issue on Mar 26, 2026
  22. added a commit that references this issue on Aug 18, 2026
  23. added a commit that references this issue on Oct 1, 2026
  24. added 2 commits that reference this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileinfraCI, GitHub Actions, buildbots, Dependabot, etc.type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions