option to only parse declarative dependency specifications (eg not execute setup.py) #891
Labels
awaiting response
Awaiting response from a contributor
feature
Request for a new feature
needs discussion
Need some more discussion
Currently when executing pip-compile you are forced to download and execute untrusted python code (setup.py), however it's possible to determine dependency versions without executing setup.py for wheel packages and those using setup.cfg declarative metadata https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
There should be an option to only parse dependencies from declarative sources eg wheel and setup.cfg. and never execute any "setup.py" files
The text was updated successfully, but these errors were encountered: