You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded from poetry v1.0.6 and now the platform of by builds using a build script have changed from cp37-cp37m-macosx_11_2_x86_64 to cp38-cp38-macosx_11_0_x86_64 and thus I am unable to build and hence run my package against python3.7. The upgrade of poetry was the only thing that changed.
I believe I've tracked this down to the fact that the platform is in fact artbitrary. It's simply the first in the list returned from sys_tags(). It should probably be chosen to be compatible with the contents of the wheel. i.e. it should use whatever algorithm the build did to determine the platform.
In my case here's what the contents look like. Notice that the wheel is one platform but the .so in the wheel is another.
-vvv
option).Issue
This is more or less what I described here.
I upgraded from
poetry
v1.0.6 and now the platform of by builds using a build script have changed fromcp37-cp37m-macosx_11_2_x86_64
tocp38-cp38-macosx_11_0_x86_64
and thus I am unable to build and hence run my package against python3.7. The upgrade ofpoetry
was the only thing that changed.I believe I've tracked this down to the fact that the platform is in fact artbitrary. It's simply the first in the list returned from
sys_tags()
. It should probably be chosen to be compatible with the contents of the wheel. i.e. it should use whatever algorithm the build did to determine the platform.In my case here's what the contents look like. Notice that the wheel is one platform but the .so in the wheel is another.
Separately, I'm only just noticing that the wheel contains the emacs tilde files. I wonder if there's an easy method for excluding them.
The text was updated successfully, but these errors were encountered: