-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.11 builds failing with v2.8.1 on manylinux2010 images #1187
Comments
That’s not what that range means. It uses one version from that, and the outer host setting shouldn’t matter. I wish we printed the details of the mismatch. We are using 3.11b4 now. Don’t see how that would change this either, though. Am traveling and can’t check quite yet. |
Why is it using |
I'm past my depth in debugging this, but if there's anything I can run to help you make sense of it, I'd be happy to. I've added a
but I'm not sure where the Likewise, printing
This could be something I've got misconfigured, but v2.8.1 is failing in a way that v2.8.0 didn't... |
manylinux2010 does not have CPython 3.11 |
Oof. OK... Well, that's not good news for me, since I do still need RHEL 6 compatibility, but at least that answers what changed. Thanks for helping me look into this. |
Thanks for the debugging. We could use a better error message for this then. @mayeut I'm guessing manylinux1 also won't get Python 3.11? |
We need to detect this then, rather than grabbing a random Python. :) manylinux1 is “dead”, it’s just still being built while CI doesn’t break, so it’s not getting anything new. Not sure you can build 3.11 on CentOS 5. You can use an override to build 3.11 with manylinux2014. In fact, IIRC, NumPy switched to 2014 for 3.10, since anyone on 3.10 should be on a 2014 compatible platform. Doesn’t help to have higher compatibility than your dependencies. |
Correct. The manylinux1 image does not even have Python 3.10
It's correctly detected. The error message "cibuildwheel: python available on PATH doesn't match our installed instance. If you have modified PATH, ensure that you don't overwrite cibuildwheel's entry or insert python above it." relates to that (could be clearer by checking the path added to PATH exists in the first place). The |
Yep, it is detected, it's just the error message is confusing because that message is assuming that the user has fiddled with PATH to break it, not that it never existed in the image. We can probably add a different message, like |
I don't recall adding this to PATH in cibuildwheel. Perhaps it's added in manylinux? |
The only I probably wasn't clear enough about
It's almost always used by cibuildwheel with the full file path:
except for before_all step: cibuildwheel/cibuildwheel/linux.py Lines 128 to 137 in 7c7dda7
|
ahh.. gotcha. So the cp38 in PATH thing really is a red herring. It's only a result of trying to investigate this using before-all. |
Description
With:
and
I'm seeing this error:
This didn't occur with 2.8.0 - I suspect it's somehow related to this changelog entry:
I'm also seeing
in the build log - perhaps that "python-version: 3.7 - 3.10" is the problem?
Build log
https://github.com/bloomberg/memray/runs/7421778954?check_suite_focus=true
CI config
https://github.com/bloomberg/memray/blob/f9bfaacea95c9c565189da2eeb121a3303c11c71/.github/workflows/build_wheels.yml
The text was updated successfully, but these errors were encountered: