Closed hlovdal closed 6 years ago
Thanks for reporting this, results of name conversion in this test depend on actual RPM package names in Fedora repositories, they change from time to time and expected values were outdated. This was fixed here. virtualenv-api is listed as extras_require, if it is not installed, test_virtualenv should be skipped. I am working on PR to fix this as well.
Recompiling pyp2rpm-3.2.3-1.fc28.src.rpm on Fedora 26 fails on two of the unit tests due to slightly different names,
python2-markupsafe
vspython-markupsafe
.Similar for the second one. Workaround: adding
rm tests/test_virtualenv.py tests/test_name_convertor.py
in the build section in the spec file.