mhagger/git-imerge

port to Python 3

pabs3 opened this issue · 5 comments

pabs3 commented

The Python 2 EOL is now passed and distros are starting to remove it. So it is going to become harder to run git-imerge. It would be great to see it ported to Python 3 soon.

https://pythonclock.org/
https://www.enricozini.org/blog/2020/python/python-2-is-dead/

pabs3 commented

Hmm, the README says it already works with Python 3. So probably the script just needs to use env python3 instead of env python.

So probably the script just needs to use env python3 instead of env python.

I'm not sure what you mean, concretely. Honestly, I haven't kept up with Python evolution lately, and don't know much about the modern setup system. It used to be you could drop a file in your $PATH and be done with it :-) I'm guessing that somehow setup.py tells what Python version to use, but it seems to allow both Python2 and Python3 already.

If there is somebody who has the time and knowledge to be the "release manager", that would be great, because I don't have either one right now.

pabs3 commented

Fixed by setuptools changes.

Fixed by setuptools changes.

Ref: #143