python / release-tools

Scripts for making (C)Python releases
42 stars 34 forks source link

Rearrange pip format requirements #121

Closed sethmlarson closed 7 months ago

sethmlarson commented 7 months ago

Noticed that pip-compile doesn't preserve the behavior of --no-binary/--only-binary so our requirements.txt file actually couldn't be installed with pip install.

I opened an issue and fix with pip-tools that fixes the issue and manually amended our requirements.txt file. Also moved the format requirements to requirements.in so we can document the situation for each dependency that requires an sdist.

webknjaz commented 7 months ago

@sethmlarson additionally, pip-tools supports a config file for almost a year so you could save some common args there.