PEP 652 was recently accepted.
In its discussion I didn’t see any mention of pip or pypi. However, given the PEP I’m hoping pip could use that to support installing older wheels that are marked as using only the limited API for newer python versions.
I’m assuming that it would require some modification to pip and pypi and possibly wheel metadata. But ultimately it would be nice if I could somehow compile a wheel for 3.x
using e.g. cython or your own extension and mark it as using only the limited API, and then when installing the package for 3.x+1
, pip
would install it if there’s no wheel for 3.x+1
on pypi.
I’m guessing this would require a larger discussion than just pip, that’s why I didn’t open a request on the pip repo, but has anyone considered this?