IQAndreas / github-issues-import

Python script to import issues from one repository into another, either one at a time or all of them at once.
http://www.iqandreas.com/github-issues-import/
MIT License
422 stars 174 forks source link

Python 2 #36

Open ghazel opened 9 years ago

ghazel commented 9 years ago

Could you support Python 2? Even the latest yet-unreleased version of OS X doesn't come with python3.

IQAndreas commented 9 years ago

Even the latest yet-unreleased version of OS X doesn't come with python3.

That's a shame, python3 has been around for about six years. I'm just glad (and surprised) that OS X comes pre-installed with Python at all. Having come from a Windows background and now using Ubuntu, I assumed Linux was the only OS that typically had Python pre-installed.

Could you support Python 2?

It actually started out as a Python 2 project, but I upgraded as I was having problems with one of the libraries (it was either the argument parser or the config parser) for the previous Python version. Now that I'm more familiar with Python than I was a few years ago, I may be able to work around those problems, but alas, as I have a full-time job and this library is only a side project (though, I'd prefer to do this full time), I am sorely lacking in time during the next several months.

However, not all is lost, Ben Cipollini created a fork of the library that was compatible with 2.7. I have made some slight changes since his fork, but nothing too substantial. Perhaps you can try out his fork, or use it as a start to work off of.

Be warned though, I spoke with him over email about the fork, and he replied:

Unfortunately, my changes are hacks to get the script running for my purpose, and not generic Python 2.7 changes. I had trouble getting the script working more generally (running from the config options), and could only get it running specifying command-line parameters.

adamamyl commented 9 years ago

Could you support Python 2? Even the latest yet-unreleased version of OS X doesn't come with python3

adam@aragog:~$ brew info python3
python3: stable 3.4.1 (bottled), HEAD
https://www.python.org/
/usr/local/Cellar/python3/3.4.1_1 (3845 files, 66M) *
  Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/python3.rb