Closed danielballan closed 1 year ago
So sorry for the noise---meant to post this against my own repo! :man_facepalming: This may or may not be a thriftpy issue.
@danielballan i have the same issue.
This is fixed by #220 .
Thriftpy2 is released by cython precompiled, so users should not got the issue. Do you install thriftpy2 from source?
Yes, I would have expected to get a wheel but evidently that's not what pip saw when this ran: https://github.com/bluesky/tiled/actions/runs/5598579624/job/15165018609#step:4:746
I mean "from souce" is from the git, not the tar.gz
from pypi. But I got what happened in the container.
Seems you have older version of pip / setuptools installed in the container, the older version of pip / setuptools do not use a isolated build environment. And this combination triggered cython to re-compile the .pyx to .c files.
You can upgrade pip / setuptools to get a workaround, before thriftpy2 releases a new version.
Ah, that makes sense, thank you. Upgrading to latest pip and setuptools in the container is probably wise in any case.
Cython recently release 3.0.0. In the container build GHA, I have pinned cython to
<3
to work around the error below. Perhaps upstream will fix; we should try un-pinning soon.