Skip to content

Doesn't create a subdirectory with "pipenv requirements" command #5844

@Azaze1l

Description

@Azaze1l

Issue description

Hello!

I'm having a problem generating requirements.txt based on Pipfile.lock file.

Dummy sample of Pipfile.lock with problem package:

"my_shiny_custom_package": {
            "git": "https://${GITHUB_ACCESS_TOKEN}@github.com/custom-python-packages.git",
            "ref": "123451234512345123451234512351234513245",
            "subdirectory": "src/my_shiny_custom_package"
},

You can see the expected and actual results of running pipenv requirements > requirements.txt below

Expected result

Sample of requirements.txt:

my_shiny_custom_package @ git+https://${GITHUB_ACCESS_TOKEN}@github.com/custom-python-packages.git@123451234512345123451234512351234513245#subdirectory=src/my_shiny_custom_package

Actual result

Sample of requirements.txt:

my_shiny_custom_package @ git+https://${GITHUB_ACCESS_TOKEN}@github.com/custom-python-packages.git@123451234512345123451234512351234513245

Metadata

Metadata

Assignees

Labels

Contributor CandidateThe issue has been identified/triaged and contributions are welcomed/encouraged.Priority: HighThis item is high priority and should be resolved quickly.Type: Bug 🐛This issue is a bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions