-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
pigar -c requirements.txt download error if lib name contains hyphen or brackets (- or []) #113
Comments
Try the main branch |
Thanks for answering. I will test this a soon I have access to my PC.
I use this in my project to print out the libs including versions as some debug information
|
I tested your suggested solution, and here is my result:
The lib definitions including brackets seem to be working now, but the ones with hyphens do not show a version number and there are still exceptions:
|
Looks like there are some invalid lines in requirements.txt, could you post your requirements.txt file here? |
So here is the requirements.txt:
And this is the error message:
But nevertheless, there is an output:
Maybe the reason for the error message is the pigar requirement itself, since it's not part of the table? |
You can remove In the case like |
I just use the old version for now and live with the error message. It's just for debugging, so that's fine right now
I am looking forward to upcoming versions. |
Problems for downloading info if lib name contains hypen (- like python-multipart) or brackets ([], like uvicorn[standard])
If I try to list information for libraries like this:
./venv/bin/pigar -c requirements.txt
I run into some errors:The text was updated successfully, but these errors were encountered: