google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

Python 3

Open rozling opened this issue 12 years ago • 87 comments

Request for Python 3 support (continuing on from https://code.google.com/p/google-api-python-client/issues/detail?id=57). My use case is for using the popular editor Sublime Text 3 to interact with the Google API.

rozling avatar May 06 '14 13:05 rozling

+1 for Python 3 support.

chhantyal avatar Nov 30 '14 21:11 chhantyal

+1 for Python 3 support.

jg-main avatar Dec 03 '14 17:12 jg-main

:+1: for python support. I want to start a new project and this is the only dependency that requires Python 2

leto avatar Dec 04 '14 17:12 leto

For our particular use case, we're using the Gmail API and also interacting with JIRA behind SSL - this requires SNI, which Python 2.x doesn't support:

http://docs.python-requests.org/en/latest/community/faq/#what-are-hostname-doesn-t-match-errors

So yes, Python 3.x support would be fantastic for this issue (among all the other good reasons, of course).

Is there any update on this yet?

victorhooi avatar Dec 08 '14 03:12 victorhooi

given that python2 doesn't support SNI and google is planning on dropping all ssl3 support "real soon now", and forcing most (all) connections to be https, it's very important that we (when i say WE, i really mean GOOGLE because the other we -- aka devs, are desperately in need of py3 support for not just SNI, but many other things py2 doesn't support) start supporting python3 as soon as possible across the board.

python2 ssl support is rather horrible and shoehorning things like pyopenssl in doesn't really solve problems and creates a lot of code refactoring and dependencies.

i'll be very happy to test google facing modules for py3 support. google not supporting python3 pretty much across the board in all their tools, is pretty much the biggest reason i avoid using google tools.

any informed people that can explain why google strongly ignores py3? i'm not looking for rumor mongoring or hate bashing, i'm looking for avenues to address the problems.

p.s. i use sublimetext3 as well and i would dearly love to hook this up

FirefighterBlu3 avatar Dec 09 '14 00:12 FirefighterBlu3

I really want to see this happen, is there a branch with Python 3 support in the works? I'm willing to help port the library. @craigcitro

wldcordeiro avatar Dec 09 '14 18:12 wldcordeiro

+1 for Python 3 support.

dgelvin avatar Dec 11 '14 23:12 dgelvin

Same here, will be happy to have python3 support and not deal with youtube by hand

ghost avatar Dec 18 '14 20:12 ghost

please also update samples for Python3, as I've already got some issues using library under Python3

darth30joker avatar Dec 24 '14 03:12 darth30joker

Since https://github.com/google/oauth2client/pull/43 has been merged. I don't issue any issue to port gapc to py2/3 compatibility.

hadim avatar Dec 24 '14 08:12 hadim

+1

johnthagen avatar Dec 29 '14 14:12 johnthagen

It would be good if the supported Python versions (i.e. non-support for Python 3) were properly documented (e.g. in the Trove classifiers in setup.py):

https://github.com/google/google-api-python-client/blob/master/setup.py#L87

This message is also misleading:

print('google-api-python-client requires python version >= 2.6.'

(from https://github.com/google/google-api-python-client/blob/master/setup.py#L25 )

cjerdonek avatar Jan 02 '15 18:01 cjerdonek

+1 for python 3

breezymri avatar Jan 08 '15 01:01 breezymri

I've updated the codebase in my fork to work with both Python 2 and 3. It still can be optimized more, but it is passing all of the tests in 2.6, 2.7, 3.3, and 3.4.

Hopefully my pull request will be reviewed and merged soon, there are a lot of changes.

pferate avatar Jan 08 '15 16:01 pferate

+1 for Python 3 support.

Julienh avatar Jan 18 '15 12:01 Julienh

+1 for Python 3 support.

iDevPy avatar Jan 19 '15 22:01 iDevPy

yep, really need python3 support now folks!

Bobspadger avatar Jan 21 '15 16:01 Bobspadger

This thread makes me cry. I am deeply saddened that the google-api-python-client is only available for Python2. This really throws a wrench in the works of my new project.

tommyjcarpenter avatar Jan 22 '15 22:01 tommyjcarpenter

It's really sad that there are so many requests, but no response from @google about roadmap.

chhantyal avatar Jan 22 '15 22:01 chhantyal

Maybe twitter is a better way to reach them?

  • https://twitter.com/TroyGrosfield/status/558403437067382784

troygrosfield avatar Jan 22 '15 23:01 troygrosfield