Open apevec opened 8 years ago
About the path-to-venv, maybe rdopkg could try to generate the venv itself using pip install -r on a temporary directory?
@javierpena good idea, rdopkg could simulate both venv and buildroot! That would simplify UX, I've updated proposed CLI in description accordingly.
Someone wanted to help with this so I created pseudo-review with general instructions on howto get this done:
Currently reqcheck is comparing only runtime dependencies:
As %check is enabled to run unit tests during the build, we need tools to keep up with changing upstream test requirements. One tool would be comparing test-requirements.txt vs .spec BuildRequires and the other one comparing pip freeze from actual venv where unit tests were executed (tox -epy27) vs rpm -qa python-* from rpm buildroot. CLI-wise, both could be additional options for reqcheck but feel free to propose better UX: