Join GitHub today
More problems with upgrading with 'git+ssh' #487
(putting this in a new issue in case you didn't see my comment in the closed issue #486)
So, I just tried the fix for #486 out, and it looks like it's still a little wonky. It doesn't fail out now, but for packages that we have a local git repo for (say, django, django-hosts, protobuf, etc..), it installs correctly the first time from our repos (on a bare virtualenv), but when I upgrade, it goes and fetches a version from pypi instead of from our git repo.
I just seems like the order is off. Any ideas?
We have a local copy of protobuf in a git repo. When I first install it from a requirements file, it works fine:
Downloading/unpacking protobuf from git+ssh://firstname.lastname@example.org/thirdparty/protobuf-python.git@a8c173e08fe262cbdb64989d11bbde32535598ea (from -r /home/andrew/dev/git/requirements.txt (line 2)) Cloning ssh://email@example.com/thirdparty/protobuf-python.git (to a8c173e08fe262cbdb64989d11bbde32535598ea) to /home/andrew/.env/env/build/protobuf Could not find a tag or branch 'a8c173e08fe262cbdb64989d11bbde32535598ea', assuming commit. Running setup.py egg_info for package protobuf
Now, when I upgrade the environment, it does this:
Downloading/unpacking protobuf from http://d.pypi.python.org/packages/source/p/protobuf/protobuf-2.4.1.tar.gz#md5=72f5141d20ab1bcae6b1e00acfb1068a (from -r /home/andrew/dev/git/requirements.txt (line 2)) Using download cache from /home/andrew/.pip-cache/http%3A%2F%2Fd.pypi.python.org%2Fpackages%2Fsource%2Fp%2Fprotobuf%2Fprotobuf-2.4.1.tar.gz Running setup.py egg_info for package protobuf
It goes out to pypi and downloads a newer version and installs it (our git repo version is 2.4.0a, and on upgrade it installs 2.4.1). Hope this helps.