GoogleCloudPlatform / gcs-oauth2-boto-plugin

Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage in the Boto library.
Apache License 2.0
21 stars 38 forks source link

code does not work with python-3.x #10

Closed vapier closed 6 years ago

vapier commented 10 years ago

oauth2_client.py does:

      fd = os.open(cache_file, flags, 0600)

python-3.x requires that to be 0o0600. same bug can be seen in test_oauth2_client.py.

bobobo1618 commented 9 years ago

Even after this is fixed there are a ton more issues. I ran 2to3 and it fixed a bunch but there are still some issues, particularly with Unicode.

vapier commented 9 years ago

probably true, but i don't think we need to fix everything in one go. there's no reason independent things can't be fixed.

bivald commented 8 years ago

Any news on Python-3x compability for gcs-oauth2-boto-plugin?

bivald commented 8 years ago

I've forked a python-3x compatible branch on https://github.com/enplore/gcs-oauth2-boto-plugin I'm using it for python 2.7 and python 3.4 and as far as I can test, it works (all test passes as well)

houglum commented 6 years ago

Major version 2 introduced Py3 compatibility; closing this.

vapier commented 5 years ago

commit 9425f1dd80716888ae2a95b4d572de068f2f9c14 fixed things