| Summary: | [webkitcorepy] AutoInstall unable to install pytest-asyncio (or other packages without setup.py) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
| Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cgarcia, clopez, dpino, Hironori.Fujii, jbedard, lmoura, pangle, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Sam Sneddon [:gsnedders]
2023-02-28 02:54:37 PST
Looks like pytest-asyncio includes a setup.cfg, so it's note entirely in a world with only pyproject.toml yet. We also would need to bump our setuptools version to support pyproject.toml, which I'm not against in the long term, but I think needs a tad more validation. Fixing pytest-asyncio, however, doesn't require bumping setuptools. It just requires laying down a dummy setup.py file which picks up setup.cfg through setuptools. We don't even have to touch our invocation of setup.py, which is actually somewhat surprising. Pull request: https://github.com/WebKit/WebKit/pull/10880 Committed 261097@main (752a2873e756): <https://commits.webkit.org/261097@main> Reviewed commits have been landed. Closing PR #10880 and removing active labels. Committed 259548.354@safari-7615-branch (c2279007a3a5): <https://commits.webkit.org/259548.354@safari-7615-branch> Reviewed commits have been landed. Closing PR #431 and removing active labels. Regressed: Bug 253421 – REGRESSION(261097@main) [Win] test-webkitpy: Failed to install pytest-asyncio-0.20.3! |