-
Notifications
You must be signed in to change notification settings - Fork 224
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
Option for alternative docker images for manylinux1 #46
Conversation
878ff83
to
1693d2c
Compare
1693d2c
to
4e0b3c0
Compare
So, Linux builds succeed, but Windows and OS X fail because no wheels get build (because I'm skipping |
@YannickJadoul I started work on a PR too, but you actually added a test case, so you win. I don't have an image yet, although for quick testing you could use For the def build(project_dir, package_name, output_dir, test_command, test_requires, before_build, skip, environment, **platform_options): Then each platform can check |
Oops, sorry :-/ Thought it was a quick thing to implement (and a nice distraction from actual things that needed to get done). But then I haven't put a lot of thought into different options, so if you have any remarks/different choices, please let me know :-) |
Hi all, just checking in, I haven't looked at this in detail but I agree with the discussion so far and I'm happy to add @jbarlow83 as a collaborator for the purposes of collaborating on this if that's helpful? edit- actually this branch is on your repo fork @YannickJadoul, so you can add @jbarlow83 as a collaborator to that and you can both push to the pr i think. |
Yeah, that's up to @jbarlow83, if he prefers to immediately commit. I'm also happy to have stuff reviewed here in the PR (using GitHub facilities) and make the suggested changes, if you don't mind that I would make all the commits? |
@joerick Any ideas on getting the tests working for cases where no wheels are built (and |
Tricky one. I'm starting to think that the current structure (folders with That's a bit of a drag, so if you don't fancy tackling that in this PR for now I'd be happy for you to hack around it - |
The change I proposed is fairly simple so feel free to add it yourself. At this point it would be more work to involve me. |
Sorry it took so long; it's been ages, but I suddenly remembered I still had these changes to be implemented. I took another look, and this is what I came up with:
CI tests seem to be passing, now. So please let me know if this is good enough, @joerick & @jbarlow83, or whether I missed something. I'll try to get changes implemented more quickly, next time ;-) |
Sorry, I missed this a few weeks back! 😳 Taking a look now |
This looks great! Is there any way to check in the test you have added that you're indeed in the docker image that was supplied? Perhaps checking for the existence of |
Pfff, good question, but I don't really know. Why would a |
Build seems to be failing because on OS X / Windows, it's obviously not running in the dockercross image. I see two way to fix it:
|
Hey Yannick, apologies for the drive-by commit! I'm busy with family stuff over the holidays. I had forgotten about the Mac/Win discussion
This is a great point, not something I'd considered. So adding a check for linux in |
Hey, don't worry! I also just saw this passing by and had some time to figure out/remember what was going wrong. (But then I didn't know if you'd push a commit, so ...) Let's see if I can get green lights before going into the new year. Always a better start of that year if at least the CI is happy ;-) |
…ockcross' directory
f3d44d1
to
9013a77
Compare
Aaaand it's merged. Excellent work @YannickJadoul! |
Start of #45 implementation.
Things I'm not yet happy about:
CIBW_MANYLINUX1_X86_64_IMAGE
andCIBW_MANYLINUX1_I686_IMAGE
are not added to thebuild_options
dictionary. Reason: passing**build_options
to windows and mac functions would then fail (and adding the two extra arguments there does not make sense). Maybe it's time to make these build options a custom class (since the number of parameters of thebuild
function starts getting quite large, too)?