martinmelin / githubmirror

A small script to keep a local bare copy of every repo in a Github organization, for faster cloning and deploys
40 stars 14 forks source link

Pip install installs incorrect version of GitPython #2

Open lc-githubmirror opened 11 years ago

lc-githubmirror commented 11 years ago

$ pip install githubmirror Downloading/unpacking githubmirror Downloading githubmirror-0.3.5.tar.gz Running setup.py egg_info for package githubmirror

Downloading/unpacking GitPython (from githubmirror) Downloading GitPython-0.1.7.tar.gz Running setup.py egg_info for package GitPython

Downloading/unpacking PyGithub (from githubmirror) Downloading PyGithub-1.17.0.tar.gz (1.9MB): 1.9MB downloaded Running setup.py egg_info for package PyGithub

Downloading/unpacking docopt (from githubmirror) Downloading docopt-0.6.1.tar.gz Running setup.py egg_info for package docopt

Installing collected packages: githubmirror, GitPython, PyGithub, docopt Running setup.py install for githubmirror

Installing github-mirror script to /home/githubmirror/github-mirror/bin

Running setup.py install for GitPython

Running setup.py install for PyGithub

Running setup.py install for docopt

martinmelin commented 11 years ago

Sorry, I can't reproduce this. Did you have GitPython installed previously? Sometimes pip can be hard to convince to not use cached versions of packages. Does reinstalling with:

$ pip install --ignore-installed githubmirror

Make a difference? Please also try a fresh virtualenv:

$ virtualenv --no-site-packages --distribute githubmirror-venv && source githubmirror-venv/bin/activate && pip install githubmirror
jayvdb commented 5 years ago

Very likely to have been fixed, and can be closed.

However requirements.txt lists GitPython==0.3.2.RC1, which is more than a little bit old.

I'd submit a patch but there is no CI and unmerged https://github.com/martinmelin/githubmirror/pull/4 is very old .