coveragepy: Make coverage packaging be PEP-517 compliant
Describe the bug I observed some warnings when installing coverage related to the packaging of coverage, likely caused by lack of PEP-517 compliance.
Using legacy 'setup.py install' for coverage, since package 'wheel' is not installed.
To Reproduce
pip install coverage
Expected behavior Full PEP-517 compliance (aka removal of setup.py and adoption of pyproject.toml).
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 18 (7 by maintainers)
Links to this issue
- pool/python-coverage - python-coverage - openSUSE Gitea
- pool/python-coverage - python-coverage - openSUSE Gitea
- pool/python-coverage - python-coverage - openSUSE Gitea
- pool/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- pool/python-coverage - python-coverage - openSUSE Gitea
- pool/python-coverage - python-coverage - openSUSE Gitea
- pool/python-coverage - python-coverage - openSUSE Gitea
- commit python-coverage for openSUSE:Factory - openSUSE Commits - openSUSE Mailing Lists
- commit python-coverage for openSUSE:Factory - openSUSE Commits - openSUSE Mailing Lists
- October 2022 - openSUSE Commits - openSUSE Mailing Lists
- rpm/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- rpm/python-coverage - python-coverage - openSUSE Gitea
- chore(deps): update dependency coverage to v7 (!36) · Merge requests · True Web App / True Checker / True Checker Python · GitLab
Commits related to this issue
- Add pyproject.toml Fixes: #1395 — committed to ssbarnea/coveragepy by ssbarnea 2 years ago
- py-coverage: updated to 6.5.0 Version 6.5.0 — 2022-09-29 -------------------------- - The JSON report now includes details of which branches were taken, and which are missing for each file. Thanks... — committed to NetBSD/pkgsrc by deleted user 2 years ago
- Update dependency coverage to v7 (#5) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Ag... — committed to allenporter/flux-local by renovate[bot] a year ago
This is now released as part of coverage 6.5.0.
There’s not actually a problem here with PEP 517 compliance:
Certainly, coverage could change its build process to reflect recent standards, but the existing code is recognised and handled correctly, at least by a modern version of pip.
Maybe the OP can give a better explanation of how to reproduce the issue, as it doesn’t seem to reproduce for me.
I’ll note that the error reported, “Using legacy ‘setup.py install’ for coverage, since package ‘wheel’ is not installed” would not normally be given by pip if run with no special options, as
wheel
is installed into the build environment automatically. Was the problem that the OP was using--no-build-isolation
(or some other non-standard option) when running pip?