brainy-solstice-2704205/27/2022, 7:22 PM
which works under pants 1.30. After bumping to pants 2.11, all of a sudden pants says that the tag is no longer a listed as a viable candidate. I tried renaming the wheel to include one of the supported tags for python 3.6, however that hits the same error. Is there a good way to tell pants to either not worry about the tag, OR tag the wheel as something that's supported?
enough-analyst-5443405/27/2022, 7:29 PM
or newer school pyproject.toml builds). 2. Leaving 1 aside, the critical thing is the Python Pants thinks your project wants to run with. If you've configured Pants with interpreter constraints that say the repo is "CPython==3.6.*" then a
python setup.py bdist_wheel
wheel should work. I think the issue here is in 2. Your old Pants setup is picking a CPython 3.6 interpreter to handle your project code and the Pants v2 setup is not. Have you configured anything in Pants v2
to steer which Python(s) your project is expected to work with?
brainy-solstice-2704205/27/2022, 7:33 PM
enough-analyst-5443405/27/2022, 7:34 PM
"but wheel itself from terminal"I can't parse that. Can you explain more?
brainy-solstice-2704205/27/2022, 7:47 PM
wheel convert x.y.z.egg
python setup.py bdist_wheel
enough-analyst-5443405/27/2022, 7:54 PM
brainy-solstice-2704205/27/2022, 7:58 PM
enough-analyst-5443405/27/2022, 8:10 PM
from way down the list. In other words,
doesn't make sense without further restrictions since it implies a platform specific wheel with C extensions.
contradicts that. So, stepping back, what does
consist of? Is it pure Python code? If so, can you spot if it's Python 3 code? Or does it support Python 2?
brainy-solstice-2704205/27/2022, 8:32 PM
enough-analyst-5443405/27/2022, 9:00 PM
, as an example. The most specific tag in the list (1st entry) is the safest bet. That says
glibc 2.28 is linked against. If you know all your target machines have glibc 2.28 / Pythons built against that glibc, you'll be good. This is all very hard to guess at though. Perhaps you can run
against your converted wheel and see what it says?
brainy-solstice-2704205/27/2022, 9:07 PM
enough-analyst-5443405/27/2022, 9:08 PM
brainy-solstice-2704205/27/2022, 9:08 PM
enough-analyst-5443405/27/2022, 9:10 PM
; so I'd love it if you can report back success or no.
egg -> wheel -> auditwheel repair
brainy-solstice-2704205/27/2022, 9:10 PM
enough-analyst-5443405/27/2022, 9:12 PM
brainy-solstice-2704205/27/2022, 9:13 PM
which doesn't match any of the tags for my interpreter, even if I use platform
in the auditwheel repair
enough-analyst-5443406/01/2022, 3:27 PM
brainy-solstice-2704206/01/2022, 4:13 PM
enough-analyst-5443406/01/2022, 4:26 PM
top-level metadata directory. If you want to trim to just that portion of the wheel, that's fine. Please include the full wheel name too though!
brainy-solstice-2704206/01/2022, 4:32 PM
enough-analyst-5443406/01/2022, 4:32 PM
brainy-solstice-2704206/01/2022, 5:00 PM