Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipenv lock -r deprecation should be sent to stderr #5093

Closed
mgmarino opened this issue May 2, 2022 · 3 comments
Closed

pipenv lock -r deprecation should be sent to stderr #5093

mgmarino opened this issue May 2, 2022 · 3 comments

Comments

@mgmarino
Copy link
Contributor

mgmarino commented May 2, 2022

Issue description

As of 2022.4.30, the command pipenv lock -r has become deprecated. The problem is that the deprecation message breaks current code since the previous way to use this was:

pipenv lock -r > requirements.txt

Since the deprecation message gets sent to stdout, this results in a requirements.txt file that fails when used by pip. The deprecation message should rather go to stderr where it will:

  • be seen by users
  • not break requirements.txt

@matteius
Copy link
Member

matteius commented May 2, 2022

#5091

@mgmarino
Copy link
Contributor Author

mgmarino commented May 2, 2022

Thanks @matteius, I missed that there was an open PR (just searched the issues)!

@matteius
Copy link
Member

matteius commented May 2, 2022

@mgmarino no worries, I just merged in the PR to main and going to close this out for now. It will be in the next release, which I am not 100% sure on when that will be, but sometime this month.

@matteius matteius closed this as completed May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants