Hacker News new | ask | show | jobs
by ageofwant 2500 days ago
A bit disappointing yes, but pip has had support for git repo's for many years. In requirements.txt:

    git+ssh://git@bitbucket.org/foo/bar.git@fixit/atemp69#egg=hotshit
So perhaps that's why, still would like to have a github hosted devpi
1 comments

git urls are tricky to use with many tools (like pip-compile) though. At best they're slow, since things like "what's the latest version?" require downloading the repo.

We forked some things into a private DevPI instance at present for that reason (well, also for latency)

Pipenv locks the VCS dependency to the commit, making pulling very fast.
Does it do a shallow pull or pull a tarball of the source?
Shallow pull. You can specify the github tarball URL if you’d prefer.