Skip to content

pipenv run pip freeze > requirements.txt adds a first line "Loading .env environment variables..." with pipenv version 2022.3.23 #5003

@felixdjost

Description

@felixdjost

According to https://pipenv-fork.readthedocs.io/en/latest/basics.html
you can use
"pipenv run pip freeze > requirements.txt" to generate a requirements.txt file from a Pipfile file.

Expected result

Generate a requirements.txt file with the dependencies only

Actual result

a requirements file which contains a first line "Loading .env environment variables..." plus the dependencies on the next lines.

Steps to replicate

python -m pip install pipenv
pipenv run pip freeze > requirements.txt

The issue does not seems to occur with an older version:
python -m pip install pipenv==2022.1.8
pipenv run pip freeze > requirements.txt

Metadata

Metadata

Assignees

Labels

PR: mergedThe PR related to this issue has been merged.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions