pipenv run pip freeze > requirements.txt adds a first line "Loading .env environment variables..." with pipenv version 2022.3.23 #5003
Labels
PR: merged
The PR related to this issue has been merged.
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
The text was updated successfully, but these errors were encountered: