periareon / req-compile

Python requirements compilation
MIT License
14 stars 4 forks source link

prefer-binary? #17

Open dand-oss opened 2 years ago

dand-oss commented 2 years ago

Any way to prefer older binary packages to newer source packages?

pip-compile uses export PIP_PREFER_BINARY=1

unit test https://github.com/jazzband/pip-tools/blob/master/tests/test_cli_compile.py#L1870 def test_prefer_binary_dist(

sputt commented 2 years ago

Currently req-compile logs a warning if you use a source dist but there's no option to actually not consider them.

I'll add --only-binary