GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Read the Docs build failing · Issue #1864 · googleapis/google-cloud-python

Read the Docs build failing #1864

New issue
Copy link
New issue
Copy link
Closed
Closed
Read the Docs build failing#1864
Copy link
Assignees
daspecster

Description

@dhermes
dhermes
opened on Jun 16, 2016
Issue body actions

https://readthedocs.org/projects/gcloud-python/builds/4108022/
https://readthedocs.org/projects/gcloud-python/builds/4108027/

Activity

  1. dhermes commented on Jun 16, 2016

    @dhermes
    dhermes
    on Jun 16, 2016
    ContributorAuthor
    More actions

    https://readthedocs.org/projects/gcloud-python/builds/4105578/
    https://readthedocs.org/projects/gcloud-python/builds/4105025/

  2. daspecster commented on Jun 16, 2016

    @daspecster
    daspecster
    on Jun 16, 2016
    Contributor
    More actions

    @tseaver these all look like GRPCIO 0.14.0 issues.

    Is this something from #1814?

  3. bjwatson commented on Jun 16, 2016

    @bjwatson
    bjwatson
    on Jun 16, 2016
    More actions

    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
  4. daspecster commented on Jun 16, 2016

    @daspecster
    daspecster
    on Jun 16, 2016
    Contributor
    More actions

    Thanks @bjwatson! I think appveyor needs to clear its cache as well possibly? I haven't used appveyor before though.

  5. tseaver commented on Jun 16, 2016

    @tseaver
    tseaver
    on Jun 16, 2016
    Contributor
    More actions

    @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?

  6. dhermes commented on Jun 16, 2016

    @dhermes
    dhermes
    on Jun 16, 2016
    ContributorAuthor
    More actions

    You could just fake the dep like oauth2client does. This is a recommended practice.

  7. geigerj commented on Jun 16, 2016

    @geigerj
    geigerj
    on Jun 16, 2016
    Contributor
    More actions

    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

  8. daspecster
    added 2 commits that reference this issue on Jun 16, 2016

    closes googleapis#1864, mock grpcio when generating docs.

    This issue will close once commit 9925c8c is merged into the 'master' branch.
    9925c8c

    closes googleapis#1864, mock grpcio when generating docs.

    This issue will close once commit f990e26 is merged into the 'master' branch.
    f990e26
  9. bjwatson commented on Jun 17, 2016

    @bjwatson
    bjwatson
    on Jun 17, 2016
    More actions

    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.

  10. bjwatson commented on Jun 17, 2016

    @bjwatson
    bjwatson
    on Jun 17, 2016
    More actions

    @tseaver @daspecster See #1866

  11. daspecster commented on Jun 17, 2016

    @daspecster
    daspecster
    on Jun 17, 2016
    Contributor
    More actions

    @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.

  12. bjwatson commented on Jun 17, 2016

    @bjwatson
    bjwatson
    on Jun 17, 2016
    More actions

    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.

  13. daspecster commented on Jun 17, 2016

    @daspecster
    daspecster
    on Jun 17, 2016
    Contributor
    More actions

    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.

  14. bjwatson commented on Jun 17, 2016

    @bjwatson
    bjwatson
    on Jun 17, 2016
    More actions

    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).

  15. daspecster
    closed this as completedin f990e26on Jun 17, 2016
  16. daspecster
    added a commit that references this issue on Jun 17, 2016

    Merge pull request #1865 from daspecster/fix-grpcio-error

    This issue will close once commit e1f6a66 is merged into the 'main' branch.
    e1f6a66
  17. daspecster commented on Jun 17, 2016

    @daspecster
    daspecster
    on Jun 17, 2016
    Contributor
    More actions

    Let's move the grpcio conversation over to #1863, unless we reopen this issue.

  18. daspecster commented on Jun 17, 2016

    @daspecster
    daspecster
    on Jun 17, 2016
    Contributor
    More actions

    Looks like it passed!
    https://readthedocs.org/projects/gcloud-python/builds/4109895/

    Reacted by Brian J. Watson
  19. tseaver commented on Jun 17, 2016

    @tseaver
    tseaver
    on Jun 17, 2016
    Contributor
    More actions

    Yay!

    Reacted by Thomas Schultz
  20. dhermes
    added
    docs
    on Jun 29, 2016
  21. JustinBeckwith
    assigned
    daspecster
    on Feb 1, 2021
  22. parthea
    added a commit that references this issue on Sep 22, 2023

    chore: move samples from python-docs-sample (#66)

    d3dcbbc
  23. parthea
    added a commit that references this issue on Mar 6, 2026

    fix: updates a number of optional dependencies (#1864)

    b702d9b
  24. parthea
    added a commit that references this issue on Apr 1, 2026

    deps: replace `google-cloud-iam` with `grpc-google-iam-v1` (#1864)

    cc7f3bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @daspecster
    daspecster

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.