brainy-solstice-27042
05/27/2022, 7:22 PMcp36-none-any 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-54434
05/27/2022, 7:29 PMpython setup.py bdist_wheel 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 cp36 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 pants.toml to steer which Python(s) your project is expected to work with?enough-analyst-54434
05/27/2022, 7:31 PMbrainy-solstice-27042
05/27/2022, 7:33 PMenough-analyst-54434
05/27/2022, 7:34 PM"but wheel itself from terminal"I can't parse that. Can you explain more?
brainy-solstice-27042
05/27/2022, 7:47 PMwheel convert x.y.z.egg rather than python setup.py bdist_wheelenough-analyst-54434
05/27/2022, 7:54 PMenough-analyst-54434
05/27/2022, 7:56 PMbrainy-solstice-27042
05/27/2022, 7:58 PMenough-analyst-54434
05/27/2022, 8:10 PMpy36-none-any from way down the list. In other words, cp36 doesn't make sense without further restrictions since it implies a platform specific wheel with C extensions. none-any contradicts that.
So, stepping back, what does orekit 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-27042
05/27/2022, 8:32 PMenough-analyst-54434
05/27/2022, 9:00 PMcp36-cp36m-manylinux1_x86_64, as an example. The most specific tag in the list (1st entry) is the safest bet. That says cp36-cp36m-manylinux_2_28_x86_64 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 auditwheel against your converted wheel and see what it says?enough-analyst-54434
05/27/2022, 9:01 PMbrainy-solstice-27042
05/27/2022, 9:07 PMenough-analyst-54434
05/27/2022, 9:08 PMbrainy-solstice-27042
05/27/2022, 9:08 PMenough-analyst-54434
05/27/2022, 9:10 PMegg -> wheel -> auditwheel repair ; so I'd love it if you can report back success or no.brainy-solstice-27042
05/27/2022, 9:10 PMenough-analyst-54434
05/27/2022, 9:12 PMbrainy-solstice-27042
05/27/2022, 9:13 PMbrainy-solstice-27042
06/01/2022, 3:11 PMcp36-none-any which doesn't match any of the tags for my interpreter, even if I use platform linux_x86_64 in the auditwheel repairenough-analyst-54434
06/01/2022, 3:27 PM-ldebug and --pex-vebosity=9brainy-solstice-27042
06/01/2022, 4:13 PMbrainy-solstice-27042
06/01/2022, 4:14 PMenough-analyst-54434
06/01/2022, 4:26 PM*.dist-info/** 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-27042
06/01/2022, 4:32 PMbrainy-solstice-27042
06/01/2022, 4:32 PMenough-analyst-54434
06/01/2022, 4:32 PMenough-analyst-54434
06/01/2022, 4:34 PMbrainy-solstice-27042
06/01/2022, 5:00 PM