Skip to content

Cannot handle Python dependencies installed from source

Consider a requirements.txt that contains the following dependency:

git+https://github.com/encode/django-rest-framework.git@0abb84f

This installs django-rest-framework from version control.

The dependency detection currently returns git for this dependency.

I was going to add support for parsing this, however, it is possible that the repository name does not match the actual dependency name (that is uploaded on PyPi). @mikolaj_wawrzyniak, do you have any suggestions?