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 — Remove pubsub and logging as namespace packages · Issue #2258 · googleapis/google-cloud-python

Remove pubsub and logging as namespace packages #2258

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove pubsub and logging as namespace packages#2258
Copy link
Assignees
dhermes
Labels
api: loggingIssues related to the Cloud Logging API.api: pubsubIssues related to the Pub/Sub API.packaging

Description

@dhermes
dhermes
opened on Sep 7, 2016
Issue body actions

This should be assigned to @bjwatson but I can't assign to him in this repo.

Blocking on having the GAX generated Pub / Sub and Logging clients no longer use google.cloud.logging and google.cloud.pubsub as namespace packages.

Activity

Next
  1. dhermes
    added
    packaging
    api: pubsubIssues related to the Pub/Sub API.
    api: loggingIssues related to the Cloud Logging API.
    GAX
    on Sep 7, 2016
  2. dhermes
    self-assigned this
    on Sep 7, 2016
  3. bjwatson commented on Sep 7, 2016

    @bjwatson
    bjwatson
    on Sep 7, 2016
    More actions

    If the admin for GoogleCloudPlatform adds me, then you can assign away. :) (FYI, @omaray and @jgeewax)

    I'm just resolving the email thread that you're copied on for correct package naming. After that, it's pretty easy to re-generate these surfaces, since they've already been thoroughly tested (a simple diff will tell me they still look good).

    Reacted by Danny Hermes
  4. theacodes commented on Sep 7, 2016

    @theacodes
    theacodes
    on Sep 7, 2016
    Contributor
    More actions

    I can add you to this repo, @elibixby can add you to the veneer team.

  5. theacodes commented on Sep 7, 2016

    @theacodes
    theacodes
    on Sep 7, 2016
    Contributor
    More actions

    Invitation sent.

  6. bjwatson commented on Sep 7, 2016

    @bjwatson
    bjwatson
    on Sep 7, 2016
    More actions

    Thanks @jonparrott

  7. bjwatson
    self-assigned this
    on Sep 7, 2016
  8. dhermes commented on Sep 7, 2016

    @dhermes
    dhermes
    on Sep 7, 2016
    ContributorAuthor
    More actions

    I'm just resolving the email thread that you're copied on for correct package naming. After that, it's pretty easy to re-generate these surfaces, since they've already been thoroughly tested

    Yup. Just wanted to have this as a placeholder

  9. bjwatson commented on Sep 7, 2016

    @bjwatson
    bjwatson
    on Sep 7, 2016
    More actions

    Awesome, thanks Danny.

  10. bjwatson commented on Sep 13, 2016

    @bjwatson
    bjwatson
    on Sep 13, 2016
    More actions

    @dhermes I published 0.9.0 to https://testpypi.python.org/pypi/ for Pub/Sub, Logging, Vision, and Language (both gRPC and GAX).

    I did a little testing with Vision, and ran into the same AttributeError: 'grpc._cython.cygrpc.Channel' object has no attribute 'unary_unary' that I did for Speech v1beta1 a couple weeks ago. I'll keep testing and refining more tomorrow.

    BTW, the gRPC path changes for Vision required a small hand-edit to the image_annotator_pb2.py file (fixing an import statement for geometry_pb2.py). We're going to have to figure out if we can automate this or fix it upstream in the Python proto generator, or it will be non-maintainable as auto-gen code.

  11. dhermes commented on Sep 13, 2016

    @dhermes
    dhermes
    on Sep 13, 2016
    ContributorAuthor
    More actions

    Thanks for the update.

  12. bjwatson commented on Sep 15, 2016

    @bjwatson
    bjwatson
    on Sep 15, 2016
    More actions

    @dhermes As it turns out, the AttributeError: 'grpc._cython.cygrpc.Channel' object has no attribute 'unary_unary' error is due to googleapis/gax-python#127. When I use google-gax 0.12.5 (which does not have this change), the error goes away and Cloud Vision works perfectly.

    I discussed with @geigerj, and there's more work we need to do to fully remove grpc.beta. The problem is that google-gax is fixed, but our GAPIC generated code still references the grpc.beta code. The error above is because grpc and grpc.beta use different default channels.

    We have two options to move forward:

    1. I'll generate the GAPIC code for google-gax 0.12.5, which will still use grpc.beta. I think I can get this done tonight, but it means you won't have Remove beta from gRPC imports gax-python#126 in your next release.
    2. We remove grpc.beta from our autogen code. Jacob estimates that this will take most of tomorrow to finish, so we'll be delayed by at least a day with this option.

    What's your preference?

  13. 4 remaining items

  14. dhermes commented on Sep 16, 2016

    @dhermes
    dhermes
    on Sep 16, 2016
    ContributorAuthor
    More actions

    @bjwatson I didn't realize language was generated yet. I can do that ASAP. Pointer to PyPI links?

  15. daspecster commented on Sep 16, 2016

    @daspecster
    daspecster
    on Sep 16, 2016
    Contributor
    More actions

    @dhermes is this it? https://pypi.python.org/pypi/gapic-google-cloud-language-v1beta1/0.9.1
    and
    https://pypi.python.org/pypi/gapic-google-cloud-vision-v1

  16. bjwatson commented on Sep 16, 2016

    @bjwatson
    bjwatson
    on Sep 16, 2016
    More actions

    @daspecster @dhermes That's correct.

  17. dhermes
    closed this as completedin #2324on Sep 16, 2016
  18. dhermes
    reopened this on Sep 16, 2016
  19. dhermes commented on Sep 16, 2016

    @dhermes
    dhermes
    on Sep 16, 2016
    ContributorAuthor
    More actions

    Still need to remove the namespace package bits. On it now.

  20. bjwatson commented on Sep 16, 2016

    @bjwatson
    bjwatson
    on Sep 16, 2016
    More actions

    @daspecster @dhermes FYI, this has the updated links: https://github.com/googleapis/googleapis/pull/140

    Reacted by Thomas Schultz
  21. dhermes
    added 2 commits that reference this issue on Sep 16, 2016

    Removing pubsub and logging as namespace packages.

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

    Removing pubsub and logging as namespace packages.

    This issue will close once commit 2fbf722 is merged into the 'master' branch.
    2fbf722
  22. dhermes
    closed this as completedin #2334on Sep 16, 2016
  23. theacodes
    unassigned
    bjwatson
    on Sep 28, 2018
  24. parthea
    added a commit that references this issue on Oct 21, 2023

    Container Analysis samples [(#2258)](GoogleCloudPlatform/python-docs-…

    a3985c8
  25. parthea
    added a commit that references this issue on Nov 24, 2025

    fix: resolve rare issue where ValueError is not raised when both requ…

    5dfd771
  26. parthea
    added 2 commits that reference this issue on Apr 1, 2026

    fix: Improve Anywidget pagination and display for unknown row counts (#…

    88a995d

    chore: release 2.30.0 (#2308)

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

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

Labels

api: loggingIssues related to the Cloud Logging API.api: pubsubIssues related to the Pub/Sub API.packaging

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.