Having 2 different repositories in local, I want to reference the feature branch of the repository 2 form the Pipfile of the repository 1.
How is it donde? I have this line in the Pipfile of repository 1 but it fails when generating the lock file.
repository2 = {editable = true, extras = ["dev"], path = "/Users/name.surname/Projects/repository2", branch = "feature/my_branch"}
I don't think you can reference a branch from a path. A path is a path to source code,
pipenvknows nothing about branches in the source code. So either you checkout the branch yourself or you tell topipenvthat the path is actually a repository so thatpipenvclones it and checks out the branch:In command line:
See another example at How can I specify a custom Git branch in my Pipfile?