Open MaxPelly opened 6 years ago
git won't work with py3 stash. dulwich is somewhat py3 compatible, but we have to make sure all arguments get converted to bytes. Also, gittle and funky just need to go. I have a half implemented version of git that works with the latest dulwich, and removes gittle and funky dependencies, but just have not had much time to work on finishing it up.
Hi jsbain. I understand that git won’t work with py3 for now. I am currently switching between py3 and 2 to use git on stash. I work with middle schoolers who are learning python3 and toggling between py2 and 3 is really easy for them to forget. Do you think git in stash will work in py3 by next year?
@jsbain I’d like to help with the Py3 effort here, what’s the best place to start?
@jsbain I’m hoping to use Pythonista for work and really need git on python3. I’d love to help out in getting this working, could you point me to the best place to start or help?
Running git for the first time under python 3 prompts the download of gittle (seems to work) and funky, which fails with a urlparse error:
Opening: https://github.com/jsbain/gittle/archive/master.zip
Save as: /private/var/mobile/Containers/Data/Application/9C1705FB-B1F4-413A-8019-47ED3A99543D/tmp//gittle.zip (??? bytes) 28334 Opening: https://github.com/FriendCode/funky/archive/master.zip
Save as: /private/var/mobile/Containers/Data/Application/9C1705FB-B1F4-413A-8019-47ED3A99543D/tmp//funky.zip (??? bytes) 8474 stash: <class 'ModuleNotFoundError'>: No module named '
I do already have them downloaded under python 2.7