-
Notifications
You must be signed in to change notification settings - Fork 364
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
Add manylinux to CI wheels build #406
Conversation
Getting syntax errors for `f"strings"`.
python-version: 3.8 wasn't being set
Old method got "/master"
So much for trying to be clever
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! These are mostly little nits.
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Unfortunately that didn't do it. https://github.com/bwoodsend/ultrajson/runs/656760101 |
There we go - think that's all the nits knitted out. |
Here's the latest build in case you can't already see it. |
https://pypi.org/project/ujson/2.0.3/#files shows one The artifacts at https://github.com/bwoodsend/ultrajson/runs/656897993?check_suite_focus=true have 3 wheels per Python version:
Do you know why this is and what the difference is? |
OK so the The
shows that they don't work. They need to go. |
…hitespace fixes I thought I'd already fixed.
Think that's it sorted now. |
for whl in /io/temp-wheels/*.whl; do | ||
rm "$whl" | ||
done | ||
find /io/temp-wheels/ -type f -delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, rm -rf /io/temp-wheels
before the mkdir
. Either is fine.
Do you know why the macOS/3.8 job was cancelled here? https://github.com/bwoodsend/ultrajson/runs/657661946?check_suite_focus=true Let's add this at the top, it means if one job does fail for some reason, it won't auto-cancel the other jobs: ultrajson/.github/workflows/test.yml Lines 8 to 9 in 81feb55
|
No I don't. That's weird. I pressed the rerun button. And they all finished this time. Could I have just exceeded some CI minutes quota? |
There should be plenty of quota for open source. Anyway, looking good now, thanks again! |
👍 And there they are at TestPyPI https://test.pypi.org/project/ujson/2.0.4.dev96/#files |
manylinux has moved on a bit since this. Now an |
Sounds good, yes please! |
Amends PR #405 to include manylinux in the same workflow action.
The legwork is being done by a new script scripts/build-manylinux-wheels.sh which runs inside the docker and does all the building. The results are here. I tried gluing in the original python script you have before but I didn't get anywhere.
I threw in a 32bit manylinux docker image as well - more just out of curiosity to see if it works. It's up to you if you want to keep it.
Currently it does all versions of Python and both dockers (8 builds in total) all in one build so it's a bit slow. If this bothers you I'll split it up a bit.
We'll probably want to rename the files and actions. I've left that so you can choose the names.