Missing import support for pip requirements

Issue #234 resolved
Ülgen Sarıkavak created an issue

In a requirements.txt file, -r other_deps.txtis a valid syntax for importing requirements from another file. I am using this feature for managing my project dependencies for different environments.

Screenshot 2016-06-24 14.00.06.png

Those prod, stage and dev files are importing common dependencies from common.txt file.

On VersionEye, -r other_deps.txtis not a valid syntax. The tool can't resolve -r parameter.

Screenshot 2016-06-24 14.01.31.png

Comments (5)

  1. Robert Reiz

    Thanks for reporting this. But it's not a bug, it's a feature request ;) The pip parser currently can only handle 1 file. So it works like designed. Supporting file imports would be a new feature on VersionEye.

  2. Robert Reiz

    @ulgens OK. I just fixed it. Lines which are starting with -r are ignored now. But you can flip the switch for multiple *.txt files and if they are in the same repository and same branch they will be merged automatically into 1 logical project at VersionEye.

  3. Ülgen Sarıkavak reporter

    Oh, sorry for delay. Thanks for the blog post btw, it's excited to see a new feature as a result of a bug report :) I'll try the new behaviour.

  4. Log in to comment