-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Implement 'labels' option #1269
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
Conversation
|
Plot thickens: the binary builds fine on Jenkins. Sigh. Can anyone else successfully run |
|
nope, unfortunately the build fails like yours. |
|
Have upgraded to @funkyfuture Thanks for checking. Could you try once more with the current commit? |
Maybe it's my fault but the /code/dist was not created inside the compose directory. |
|
@aanand sorry, same here. tests are passing though. fun fact: i was just noting down this pr as a predicate for another project. |
|
@aanm this doesn't happen on my box. |
|
I wonder if it would be easier to start looking at alternatives to pyinstaller. We've hit a few problems with it (py3 support, six version conflict, and now requests version conflict). In #1051 (comment) I mentioned http://docs.python-guide.org/en/latest/shipping/freezing/ which seems to have a bunch of options for doing this. |
|
@dnephin the comparison table looks like and propably this isn't suitable as it can't link into one executable binary for Windows. |
|
I can reproduce the problem outside Compose by trying to build a binary with just The easiest way to fix this right now - so that this and #1356 can be merged with confidence - might be to just get a docker-py release out with labels support, so we don't have to rely on Git URLs. @shin-: any thoughts on that? |
|
what about bundling the |
|
re-reads #375 for old times' sake |
|
docker-py 1.2.0 is in the works, there's only a few things left which I've listed here: https://github.com/docker/docker-py/milestones/1.2.0 Sorry, I realize it's long overdue! |
ad9771e to
bd59ea1
Compare
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
LGTM! |
|
Awesome! docker-archive/classicswarm#673 |
|
@thaJeztah Nice. |

Using unstable versions of docker-py (for label support) and requests, because docker-py requires a newer version but this fix hasn't landed yet.
Sadly, even after that fix, the binary still isn't working:
Might be another weird requests/pyinstaller bug - going to see if I can produce a minimal failing test case outside of Compose.