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 — version 0.16.0 made grpcio a hard requirement even without the grpc extra, breaking Python3 use · Issue #1879 · googleapis/google-cloud-python

version 0.16.0 made grpcio a hard requirement even without the grpc extra, breaking Python3 use #1879

New issue
Copy link
New issue
Copy link
Closed
Closed
version 0.16.0 made grpcio a hard requirement even without the grpc extra, breaking Python3 use#1879
Copy link
Assignees
Taywee
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@Taywee
Taywee
opened on Jun 20, 2016
Issue body actions

You can see this in the Requires Distributions on Pypi

2016-06-20-173101_525x429_scrot

grpcio still does not work in python3, making python3 projects unable to use the latest gcloud-python module.

You can see this is caused by https://github.com/GoogleCloudPlatform/gcloud-python/blob/0.16.0/setup.py#L29 where it is done if it is built in python2.7, even though it may be installed in python3

Reacted by James Maidment, Jeremiah Lowin, Gerard Toonstra, Dirk Jonker, Hugo Stijns, Jasper Kock, Tim Sweña (Swast) and SergeM

Activity

  1. daspecster
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Jun 20, 2016
  2. daspecster commented on Jun 20, 2016

    @daspecster
    daspecster
    on Jun 20, 2016
    Contributor
    More actions

    /cc @tseaver

  3. tseaver commented on Jun 20, 2016

    @tseaver
    tseaver
    on Jun 20, 2016
    Contributor
    More actions

    @Taywee Thanks for the report! Per setup.py, grpcio is only a hard requirement for Python 2.7. However, we have not updated setup.cfg to turn off universal = 1 for wheel building.

    Our first response should be to delete the broken none-any wheel distribution for 0.16.0. After that, we can look at building the wheel file both for Python 2.7 and for Python 3.4+. @dhermes do you have the keys to be able to delete that file manually?

  4. daspecster commented on Jun 20, 2016

    @daspecster
    daspecster
    on Jun 20, 2016
    Contributor
    More actions

    This may also be affecting 0.15.0 as well.

    screen shot 2016-06-20 at 7 45 20 pm

  5. tseaver commented on Jun 21, 2016

    @tseaver
    tseaver
    on Jun 21, 2016
    Contributor
    More actions

    @daspecster Note that in 0.15.0 those were "extra" dependencies: in 0.16.0 they show up as unconditonal.

  6. daspecster commented on Jun 21, 2016

    @daspecster
    daspecster
    on Jun 21, 2016
    Contributor
    More actions

    I'm probably missing something very obvious here, but it looks the same to me except for the version number?

    0.16.0
    screen shot 2016-06-20 at 8 12 25 pm

  7. tseaver commented on Jun 21, 2016

    @tseaver
    tseaver
    on Jun 21, 2016
    Contributor
    More actions

    @daspecster See the ; extra == 'grpc' at the end?

    AFAICT, the current grpcio release is actually OK for Python 3.4+, as long as one installs it first. There are a couple of issues in the GAX pubsub layer and our tests, though.

  8. daspecster commented on Jun 21, 2016

    @daspecster
    daspecster
    on Jun 21, 2016
    Contributor
    More actions

    @tseaver, yeah, isn't that in both 0.15.0 and 0.16.0?

    0.16.0

    screen shot 2016-06-20 at 8 19 58 pm

    0.15.0

    screen shot 2016-06-20 at 8 20 29 pm

  9. dhermes commented on Jun 21, 2016

    @dhermes
    dhermes
    on Jun 21, 2016
    Contributor
    More actions

    @tseaver RE:

    @dhermes do you have the keys to be able to delete that file manually?

    Sent you an email with the necessary PyPI info.

    Reacted by Thomas Schultz
  10. Taywee commented on Jun 21, 2016

    @Taywee
    Taywee
    on Jun 21, 2016
    Author
    More actions

    @daspecster You've missed that in 0.16.0 grpcio shows up in the list twice.

  11. daspecster commented on Jun 21, 2016

    @daspecster
    daspecster
    on Jun 21, 2016
    Contributor
    More actions

    @Taywee Ah yes! That's it. Sorry for the noise!

  12. daspecster commented on Jun 27, 2016

    @daspecster
    daspecster
    on Jun 27, 2016
    Contributor
    More actions

    @tseaver, did you have any luck with pypi?

  13. tseaver commented on Jun 27, 2016

    @tseaver
    tseaver
    on Jun 27, 2016
    Contributor
    More actions

    @dhermes sent me the credentials, but I've dropped the ball so far.

  14. daspecster commented on Jun 27, 2016

    @daspecster
    daspecster
    on Jun 27, 2016
    Contributor
    More actions

    I'm not sure how quick of a fix this is. If there's anything I can do to help, LMK.

  15. theacodes commented on Jun 27, 2016

    @theacodes
    theacodes
    on Jun 27, 2016
    Contributor
    More actions

    To throw a significant amount of gasoline to the flames here:

    GoogleCloudPlatform/python-docs-samples and GoogleCloudPlatform/getting-started-python are currently being forced to pin an older version of the library for 3 support.

    Keep in mind all of our samples for App Engine Flexible are Python 3 first.

    Let me and @waprin know if there's anything we can do to help.

  16. theacodes commented on Jun 29, 2016

    @theacodes
    theacodes
    on Jun 29, 2016
    Contributor
    More actions

    Bump?

    bump

    Reacted by Thomas Schultz, Bill Prin and JJ Geewax
  17. jgeewax commented on Jun 29, 2016

    @jgeewax
    jgeewax
    on Jun 29, 2016
    Contributor
    More actions

    @tseaver : anything to update ? I think the world is mad :(

  18. tseaver commented on Jun 29, 2016

    @tseaver
    tseaver
    on Jun 29, 2016
    Contributor
    More actions

    @jgeewax I just removed the broken gcloud-0.16.0-py2.py3-none-any.whl distribution from PyPI. We should probably make a 0.16.1 release, branched off the 0.16.0 tag, and disabling the universal wheel setting:

    [bdist_wheel]
    universal = 1

    Maybe we should be disabling wheel releases altogether until we figure out how the grpcio-related packaging issues intersect with us. @dhermes, @daspecster WDYT?

  19. daspecster commented on Jun 29, 2016

    @daspecster
    daspecster
    on Jun 29, 2016
    Contributor
    More actions

    I think that could solve most of the issues people are seeing so I'm for it.

  20. tseaver commented on Jun 29, 2016

    @tseaver
    tseaver
    on Jun 29, 2016
    Contributor
    More actions

    @Taywee please give https://pypi.python.org/pypi/gcloud/0.16.1 a spin, and let us know if it resolves the issue for you.

    Reacted by James Maidment
  21. Taywee commented on Jun 29, 2016

    @Taywee
    Taywee
    on Jun 29, 2016
    Author
    More actions

    That looks to have fixed it so far. I can install the package in the first place, which wasn't working before. Thanks much!

    Reacted by Thomas Schultz and James Maidment
  22. Taywee
    closed this as completedon Jun 29, 2016
  23. tseaver commented on Jun 29, 2016

    @tseaver
    tseaver
    on Jun 29, 2016
    Contributor
    More actions

    @Taywee great, glad to hear it!

  24. JustinBeckwith
    assigned
    Taywee
    on Feb 1, 2021
  25. parthea
    added a commit that references this issue on Nov 24, 2025

    chore: bump cryptography from 41.0.5 to 41.0.6 in /synthtool/gcp/temp…

    f7a5638
  26. parthea
    added 2 commits that reference this issue on Mar 2, 2026

    chore: update secret (#1879)

    e425b64

    fix: make `pyarrow` an optional dependency post-3.20.0 yanked release (…

    dc1fc73
  27. parthea
    added a commit that references this issue on Apr 1, 2026

    chore(main): release 2.10.0 (#1879)

    49f6ce6
  28. parthea
    added a commit that references this issue on Sep 8, 2026

    docs: migrate code from googleapis/python-bigquery (#18303)

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

Metadata

Metadata

Assignees

  • @Taywee
    Taywee

Labels

type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

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.