nightlark / swig-pypi

pip install swig. SWIG Python wheel for PyPI.
Apache License 2.0
12 stars 4 forks source link

Remove `.py2` since wheel contains Python 3 anyway? #125

Open henryiii opened 6 months ago

henryiii commented 6 months ago

The wheels currently contain type annotations:

https://inspector.pypi.io/project/swig/4.2.1/packages/17/e7/1834b83e9ef378a753109b716dfc8fdc6da2e42945ce86792b2ccebd9a80/swig-4.2.1-py2.py3-none-macosx_10_9_universal2.whl/swig/_version.py

Unless people have been complaining, I'd guess that means no one is using Python 2. Either the template should be fixed to not produce Python 3 only code, or Python 2 should be dropped, say to make Python 3.7+ wheels.

(The same thing happened with cmake wheels, and someone finally noticed it)

IMO, it would also be good to use manylinux2014, as manylinux1 has been abandoned for a long time and is well, well past EoL.