How do I remove the `python2` compatibility on the...
# general
s
How do I remove the
python2
compatibility on the wheel? 🤔
1
h
Can you clarify? This is a wheel you’re creating?
s
By default, on the example from the Build Distributions, it creates a py2.py3 wheel
How do I remove this py2?
(I'm away from the computer, give me 30 min, and I'll give more info if it's not enough)
e
@shy-advantage-49800 almost certainly because you do not fill in
requires-python
metadata for hatchling; so it assumes all the Pythons work. The
wheel_config_settings
you give Pants are only useful / used in practice by setuptools and you're not using setuptools to build your project here. It does seem Pants could add the feature of filling in
requires-python
automatically if not present since that appears to be standard PEP-612 metadata. For now though, fill those in and kill your `wheel_config_settings`in BUILDs.
s
ahhhh
amazing
thanks @enough-analyst-54434 🙏