How to pipenv install a git pull request from github
Given is this pullrequest https://github.com/joeyespo/pytest-watch/pull/108
pipenv install -d \
git+https://github.com/joeyespo/pytest-watch.git@refs/pull/108/head#egg=pytest-watch
The -d
flag installs the package in the Pipfile’s [dev-packages]
section
The #egg=pytest-watch
suffix changes the pytest-watch
Pipfile from "*"
to {ref = "refs/pull/108/head", git = "git+https://github.com/joeyespo/pytest-watch.git"}
[dev-packages]
debugpy = "*"
-pytest-watch = "*"
+pytest-watch = {ref = "refs/pull/108/head", git = "git+https://github.com/joeyespo/pytest-watch.git"}
epc = "*"