Henry Schreiner
Henry Schreiner
Shouldn't there be a compatibly shim for `wheel.wheelfile` to ease the transition? This would will break a few dozen packages ([77 results](https://cs.github.com/?scopeName=All+repos&scope=&q=%2F%28import%7Cfrom%29+wheel.wheelfile%2F+path%3A*.py) - including things like scikit-build, meson-python, trampolim, auditwheel...
An example of something that requires modifying the `bdist_wheel` command, as far as I know: adding support for limited ABI wheels (at least without calling setup.py commands). An example from...
I've used patch=99 for this, that is, ```python dict( py27='2.7.99', ) ``` `python_requires` really shouldn't be used with patch versions IMO, but if it is, it's often something like `>=3.6.1`,...
Sure, you get a SpecifierSet out of it. https://github.com/joerick/cibuildwheel/blob/d223db13d833ec81f6303b042029a46a2462b916/cibuildwheel/__main__.py#L173 Then you check if a version is "contained": https://github.com/joerick/cibuildwheel/blob/d223db13d833ec81f6303b042029a46a2462b916/cibuildwheel/util.py#L76-L77
PS. Since you are making a wheel, I assume you'd parse Requires-Python, the metadata slot, not the input `python_requires` in setup.py/setup.cfg, or `requires-python` in `pyproject.toml`; for cibuildwheel, I didn't have...
How about this concrete proposal (cross posted from pypa/twine#739 since it involves wheel more than twine): * No Requires-Python, no `[bdist_wheel] universal=1`: produce `py3` wheels, as now. * No Requires-Python,...
Excellent point, I didn't realize that - in fact, I originally didn't know that py36 was loadable on py37, as I'm more familiar with built wheels where it's one-version only....
Not really relevant, though - you can still make a universal wheel that will load on Python 2, it just has to be built from Python 3. And setting universal=1...
By default, it picks up whatever CPython is built with. If you use a universal2 copy of Python, it guesses you are making universal wheels too. If you are making...
You are building with a universal2 build of Python. Setuptools will ask Python what it was built as and uses that. You can set `_PYTHON_HOST_PLATFORM` (along with `ARCHFLAGS`) to override...