Skip to content

Instantly share code, notes, and snippets.

@chhantyal
Last active May 7, 2024 01:45
Show Gist options
  • Save chhantyal/4157fd3bd69a65c84feaa5c192333aa0 to your computer and use it in GitHub Desktop.
Save chhantyal/4157fd3bd69a65c84feaa5c192333aa0 to your computer and use it in GitHub Desktop.
Pipenv or pip Install Python package from Git (Github, Gitlab, Bitbucket etc.) and using Git tag for versioning. Works for branches too.

Install from Git tag

pipenv install git+ssh://git@github.com/chhantytal/parquet-cli.git@v1.1#egg=parq

Install from branch name

pipenv install git+ssh://git@github.com/chhantytal/parquet-cli.git@master#egg=parq

Works for pip as well.

@grigandal625
Copy link

grigandal625 commented May 6, 2024

An issue on more recent vercions of pipenv

If one package from github depends on another package from github - it wil not resolve dependencies

My pipenv version: 2023.12.1

I found that poetry is more powerfull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment