--requirement -
does not work: No such file or directory: '<stdin>'
#415
Labels
--requirement -
does not work: No such file or directory: '<stdin>'
#415
Bug description
When running pip-audit with
--requirement -
does not read the requirements from stdin like--requirement /dev/stdin
does but instead raises an exceptionpip_requirements_parser.InstallationError: Could not open requirements file: <stdin>|n[Errno 2] No such file or directory: '<stdin>'
.Reproduction steps
Expected behavior
I expect this to do the same as:
i.e.
Screenshots and logs
instead this is what happens:
Platform information
pip-audit
version (pip-audit -V
): 2.4.6python -V
orpython3 -V
): 3.10.8pip
version (pip -V
orpip3 -V
): Using pipx, so none.Additional context
I'm trying to use pip-audit with poetry, and to do this I run:
However this will probably not work great on windows, and I would prefer a less platform dependent way of specifying stdin, like
--requirement -
.The text was updated successfully, but these errors were encountered: