[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 #186

Closed
nicklasb opened this issue Mar 31, 2015 · 9 comments
Closed

Python 3 #186

nicklasb opened this issue Mar 31, 2015 · 9 comments

Comments

@nicklasb
Copy link

Hi,

I am wondering if there are any plans to support Python 3 sometime in the near future?
Posting this question also a little bit since no one seem to have asked before, which seems uncommon.

@nicklasb
Copy link
Author

Oh, sorry. I just saw that google-api-python-client has been insanely late in supporting Python 3.

Weird as "#¤ by a company like google. Rather, they should be on the forefront of a language on which they build so many of their stuff instead of holding it back like this.

Anyway, they seem to be supporting Py3 as of a week ago :googleapis/google-api-python-client#3

@tresni
Copy link
Collaborator
tresni commented Mar 31, 2015

Haven't looked into this much (partly for the reason you noticed, partly cause I don't do any python3 specific stuff at the moment.) Likely possible now, but need to explorer further.

@nicklasb
Copy link
Author

Ok. I saw that python3-gflags is available and the other dependencies also are satisified.
But as it is a command line utility, perhaps the interactions with aren't through imports, so perhaps it doesn't matter that much.

@tresni
Copy link
Collaborator
tresni commented Jun 11, 2015

gflags actually looks like it may need to be complete removed (ala #165) to be able to support Python3, not that that's a bad thing, but just more work to be done ;-)

@tresni
Copy link
Collaborator
tresni commented Sep 8, 2015

Good news, gflags is being removed in favor of argparse, that should make Python3 support simpler. Still a lot more testing to do, but just figured I'd note that here.

@nicklasb
Copy link
Author
nicklasb commented Sep 8, 2015

Good stuff.

@DancingQuanta
Copy link

How is python 3 support coming along? Is there a branch to test?

@tresni
Copy link
Collaborator
tresni commented Jun 1, 2016

No major focus on python3. The argparse_over_gflags branch work would be required to even start that as current dependancies do not support Python3. Limited time on my end and a shift of calendaring to Exchange at work means I don't use this as much as I used to. @insanum is in a similar situation last I heard.

tresni added a commit that referenced this issue Aug 29, 2016
very small progress on #186
tresni added a commit that referenced this issue Aug 29, 2016
From my (not very extensive) testing, this allows us to run under Python 2.6+ or 3+
Fixes #186
@tresni
Copy link
Collaborator
tresni commented Aug 29, 2016

58f9cc4...c31f2c2 are all fairly minor changes to get us towards python3 support. c31f2c2...5ceef77 are the rest of them.

Google's Python Client library already relied on six so just used that.

@tresni tresni closed this as completed Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants