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 — Ensure Python 3 support · Issue #91 · googleapis/google-cloud-python

Ensure Python 3 support #91

New issue
Copy link
New issue
Copy link
Closed
Closed
Ensure Python 3 support#91
Copy link
Assignees
tseaver
Labels
api: coretype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@aliafshar
aliafshar
opened on May 7, 2014
Issue body actions

Let's not be that guy.

Though our crypto dependencies might make this non-trivial.

Activity

Next
  1. jgeewax
    added
    enhancement
    on May 7, 2014
  2. silvolu
    added this to the This milestone has been deleted milestone on Sep 5, 2014
  3. dhermes commented on Sep 22, 2014

    @dhermes
    dhermes
    on Sep 22, 2014
    Contributor
    More actions

    +1

    Happy to take the lead on this, e.g. use of six and from __future__ import print_function.

  4. tseaver commented on Sep 22, 2014

    @tseaver
    tseaver
    on Sep 22, 2014
    Contributor
    More actions

    We need to merge the test coverage stuff first, and then review a bunch of str / unicode stuff.

  5. tseaver commented on Sep 22, 2014

    @tseaver
    tseaver
    on Sep 22, 2014
    Contributor
    More actions

    Dependency status:

    • httplib2[1] claims Py3K compatibility
    • oauth2client[2] does not document any supported Python versions; its repository CHANGELOG[3] does not list any Py3k compatibility, and it does not install cleanly into a Py33 virtualenv[9]
    • protobuf[4] does not document any supported Python verisions; the changelog for 2.6.0[5] claims "Support for Python 3.", but it doesn't install cleanly into a Py33 virtualenv [10]
    • pycrypto[6] claims Py3K compatibility
    • pyOpenSSL[7] claims Py3K compatibility for 3.2, 3.3
    • pytz[8] claims Py3K compatibility

    [1] https://pypi.python.org/pypi/httplib2

    [2] https://pypi.python.org/pypi/oauthclient

    [3] http://github.com/rca/oauthclient

    [4] https://pypi.python.org/pypi/protobuf/2.6.0

    [5] http://protobuf.googlecode.com/svn/trunk/CHANGES.txt

    [6] https://pypi.python.org/pypi/pycrypto

    [7] https://pypi.python.org/pypi/pyOpenSSL

    [8] https://pypi.python.org/pypi/pytz

    [9] https://gist.github.com/tseaver/aae984fc4720ed29e573

    [10] https://gist.github.com/tseaver/0531a23cf6ca58fefcea

  6. dhermes commented on Sep 22, 2014

    @dhermes
    dhermes
    on Sep 22, 2014
    Contributor
    More actions

    It's also worth mentioning that protobuf currently won't install:

    The following work-around is required:

    $ # Downgrade to fool protobuf: Requirement.parse('python-dateutil>=1.4,<2').
    $ sudo pip install -U python-dateutil==1.5
    $ # Install with downgraded python-dateutil.
    $ sudo pip install protobuf
    $ # Upgrade back to newest version of python-dateutil.
    $ sudo pip install -U python-dateutil

    UPDATE (on 11/2/2014): This was resolved a few weeks ago.

  7. dhermes commented on Nov 5, 2014

    @dhermes
    dhermes
    on Nov 5, 2014
    Contributor
    More actions

    UPDATE: oauth2client supports Py3

  8. tseaver
    self-assigned this
    on Nov 13, 2014
  9. tseaver commented on Nov 13, 2014

    @tseaver
    tseaver
    on Nov 13, 2014
    Contributor
    More actions

    I'm working today on a branch which uses modernize to fix up bits in the code which will be problematic under Py3k.

  10. dhermes commented on Nov 13, 2014

    @dhermes
    dhermes
    on Nov 13, 2014
    Contributor
    More actions

    Awesome! protobuf is our only dep which is not over the line yet? Do we have a tracking bug (like protocolbuffers/protobuf#36) in place?

    UPDATE:
    protocolbuffers/protobuf#7
    protocolbuffers/protobuf#9

  11. tseaver commented on Nov 24, 2014

    @tseaver
    tseaver
    on Nov 24, 2014
    Contributor
    More actions

    I've done some review on google/protobuf/#66: it appears the maintainers believe that preserving 2.5 compatibility is more important than adding 3.x compatibility cleanly.

    If we go ahead with #334, we need to solve the problem of Python3 compatibility for /craigcitro/apitools, and its dependencies too. The most problematic one remaining is google-protorpc -- see #60 there, as well as my modernize-prep-py3k branch. Craig is not sanguine about getting even the smaller changeset to land in the internal repo.

  12. jgeewax
    added
    api: core
    on Jan 30, 2015
  13. tseaver commented on Feb 9, 2015

    @tseaver
    tseaver
    on Feb 9, 2015
    Contributor
    More actions

    Assuming we go forward with requiring protobuf 3.0.0-alpha-1 or later, we have already merged our own changes to support Python 3.3 / 3.4, but are blocked on officially supporting them by googleapis/oauth2client#125 (fix merged but not yet released).

  14. tseaver commented on Feb 24, 2015

    @tseaver
    tseaver
    on Feb 24, 2015
    Contributor
    More actions

    #676 changes the regression3 environment to use a checkout of oauth2client until a release is available which fixes googleapis/oauth2client#125

  15. dhermes commented on Apr 13, 2015

    @dhermes
    dhermes
    on Apr 13, 2015
    Contributor
    More actions

    Wooooooo! Closed by #820

  16. 100 remaining items

  17. parthea
    added 11 commits that reference this issue on Nov 24, 2025

    chore(deps): update actions/download-artifact action to v3 (#91)

    93db573

    [chore] Remove Showcase check in nox. (#91)

    3d807c2

    chore: use templated renovate config (#91)

    3b80f96

    chore: release 1.5.3 (#91)

    0389fa7

    feat: Add '--use-geodataframe' argument to return a GeoDataFrame (#91)

    3cbaf76

    chore: update contributors doc (via synth) (#91)

    a840d1d

    chore: exclude namespace package file from coverage (#91)

    be9a2ff

    feat: Update Max Files per Batch Request to 1000 (#91)

    1cd526f

    chore(main): release 0.5.0-alpha (#94)

    c2390fe

    feat!: Begin using new microgenerator for v2 firestore (#91)

    78964e6

    Add proxy to httplib2.Http.connections (#91)

    bb2f446
  18. parthea
    added a commit that references this issue on Mar 2, 2026

    Release v0.3.3 (#91)

    5e41bdd
  19. parthea
    added 3 commits that reference this issue on Mar 9, 2026

    fix: uncomment noncol_idx_test_nopk test and fix for emulator (#91)

    d202516

    [CHANGE ME] Re-generated to pick up changes in the API or client libr…

    1d5af1f

    chore: release 0.5.2 (#91)

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

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: coretype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

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.