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

Support Python 3 #221

Open
astrofrog opened this issue Aug 16, 2015 · 7 comments
Open

Support Python 3 #221

astrofrog opened this issue Aug 16, 2015 · 7 comments

Comments

@astrofrog
Copy link

At the moment, gmvault does not run on Python 3:

Traceback (most recent call last):
  File "/tmp/gmvault.bootstrap.63252", line 1, in <module>
    import gmv.gmv_cmd as runner
  File "/Users/tom/miniconda3/envs/production/lib/python3.4/site-packages/gmv/gmv_cmd.py", line 455
    except Exception, _: #pylint:disable=W0703
                    ^
SyntaxError: invalid syntax

I'd be happy to help with supporting Python 3 if needed.

@gaubert
Copy link
Owner

gaubert commented Aug 18, 2015

@astrofrog Yes that would be great. Just create your own branch and start transforming the code to make it compliant. This shouldn't be too complex. Then we will have to think about unicode issues.

@gaubert
Copy link
Owner

gaubert commented Sep 8, 2015

@astrofrog Did you start working on it ? This is remove most of the unicode issues and that would be great.

@astrofrog
Copy link
Author

@gaubert I haven't had a chance yet. I will have time again in October to try and work on this, but if anyone else wants to work on this in the mean time, please don't let me stop you! :)

@karanrajpal14
Copy link

I'm still facing this issue. Has it been fixed recently @astrofrog ?

@astrofrog
Copy link
Author

@karanrajpal14 - I haven't had a chance to help with this

@nestukh
Copy link

nestukh commented Feb 12, 2021

Debian Bullseye (next stable release of Debian, probably out later this year) will drop support to Python 2:
https://en.wikipedia.org/wiki/Debian_version_history#Debian_11_(Bullseye)
Pip 21.0 has dropped support for Python 2.7 in January 2021:
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
In fact, you can upgrade pip up to version 20.3 and no further in py2 enviroments.
Surely it will be still installable using workarounds, but gmvault is the last program I personally use not yet on 3.
It would be nice to have gmvault on Python 3 too.
I don't have time to contribute, I only know that the utility 2to3 helped me a lot on this matter on various projects.

@nestukh
Copy link

nestukh commented Nov 2, 2021

I've mentioned a workaround in #352 (comment)

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

4 participants