No PyPI wheel for 4.9.3-cp38-cp38-macosx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi,
For lxml-4.9.3, the following wheels are on PyPI:
- lxml-4.
- lxml-4.
- lxml-4.
- etc.
For lxml-4.9.2, there are:
- lxml-4.
- lxml-4.
- lxml-4.
- lxml-4.
- etc.
Specifically, for 4.9.3 wheels for cp37 and cp38 appear to be missing. I noticed this when a change to a CI workflow caused it to look for the latter; it fell back to trying to build from source.
I have looked in the documentation and other issues to see if this is intentional or if pre-built wheels for these versions are specifically excluded/not supported, but could not find any direct information. It's fine if that is the case (and will be for future versions?), I would just appreciate confirmation if so.
Yes, there is a build failure on these versions, e.g. /github. com/lxml/ lxml/actions/ runs/6256930321
https:/
This is due to changes in CPython in those versions that were only fixed in Python 3.9. I'm not sure how to work around them. Basically, the MACOSX_ DEPLOYMENT_ TARGET needs to match that of the CPython version where it's being built, which on GitHub Actions is currently 11.7.
I could set MACOSX_ DEPLOYMENT_ TARGET= 11.7 for the Python 3.7/8 wheels, and that might then make it work again – as long as the Python installations in CI are not updated. But I'm not sure if a dependency on macOS 11.7 would make users of these old Python versions overall happy.