GeezerVison is showing github.com — Read the Docs build failing · Issue #1864 · googleapis/google-cloud-python
Read the Docs build failing #1864Activitydhermes commented on Jun 16, 2016 ContributorAuthor More actions daspecster commented on Jun 16, 2016 @tseaver these all look like GRPCIO 0.14.0 issues.
Is this something from #1814? bjwatson commented on Jun 16, 2016 Yes, the dependency for the pubsub and logging APIs is now on GRPCIO 0.14.0. Looks like the build server needs it installed. Reacted by Thomas Schultz daspecster commented on Jun 16, 2016 Thanks @bjwatson! I think appveyor needs to clear its cache as well possibly? I haven't used appveyor before though. tseaver commented on Jun 16, 2016 @bjwatson The RTD build failures show a huge bunch of compilation warnings trying to build grpcio 0.14.0:
In file included from ./include/grpc/support/alloc.h:37:0,
from ./src/python/grpcio/grpc/_cython/imports.generated.h:869,
from ./src/python/grpcio/grpc/_cython/loader.h:37,
from ./src/python/grpcio/grpc/_cython/cygrpc.c:310:
./include/grpc/impl/codegen/alloc.h:68:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
GPRAPI gpr_allocation_functions gpr_get_allocation_functions();
^
...
third_party/zlib/gzwrite.c: In function 'gzclose_w':
third_party/zlib/gzwrite.c:573:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
if (close(state->fd) == -1)
^
followed by:
zip_safe flag not set; analyzing archive contents...
No eggs found in /tmp/easy_install-JdusyT/grpcio-0.14.0/egg-dist-tmp-TNTJot (setup script problem?)
error: The 'grpcio>=0.14.0' distribution was not found and is required by gcloud
Any clues to the source of the error? dhermes commented on Jun 16, 2016 ContributorAuthor More actions geigerj commented on Jun 16, 2016 I don't know about the ultimate source of the error, but I've been seeing the same error message when trying to install packages that depend on grpcio. This seems to be independent of GAX.
I've filed an issue with gRPC here: grpc/grpc#6939 added 2 commits that reference this issue on Jun 16, 2016This issue will close once commit 9925c8c is merged into the 'master' branch.9925c8c This issue will close once commit f990e26 is merged into the 'master' branch.f990e26 bjwatson commented on Jun 17, 2016 I just published google-gax 0.12.0, which now depends on grpcio 0.14.0 or above. I also published new versions of gax-google-pubsub and gax-google-logging (0.7.9) to depend on google-gax 0.12.0.
Previously we had a conflict between the version of grpcio that google-gax and gax-google-* wanted.
I don't know if this fixes the issue described here, but it might. bjwatson commented on Jun 17, 2016 daspecster commented on Jun 17, 2016 @bjwatson I just tried it locally with python setup.py install --force and I still got...
error: The 'grpcio>=0.14.0' distribution was not found and is required by google-gax, gcloud
The changes I made locally are the same as the PR(#1866) that you have there. bjwatson commented on Jun 17, 2016 Hmm... somehow readthedocs needs to be told to pip install grpcio. When @geigerj and I do that in our virtualenv's, it breaks like this, unless we run pip install grpcio first. daspecster commented on Jun 17, 2016 So as per @tseaver's suggestion in #1865, I exclude grpcio for RTD and I think it will work. I tested it locally and it seemed to work.
I think we'll definitely have to figure it out with Appveyor though. bjwatson commented on Jun 17, 2016 That's true... I guess it's not needed for the docs.
@geigerj filed grpc/grpc#6939 to cover the grpcio issue. He was able to reproduce it with a very simple test case (without google-gax or gcloud-python). added a commit that references this issue on Jun 17, 2016This issue will close once commit e1f6a66 is merged into the 'main' branch.e1f6a66 daspecster commented on Jun 17, 2016 Let's move the grpcio conversation over to #1863, unless we reopen this issue. daspecster commented on Jun 17, 2016 Reacted by Brian J. Watson tseaver commented on Jun 17, 2016 Reacted by Thomas Schultz
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|