fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
123 stars 39 forks source link

Use local file for virtualenv rather than downloading another copy #226

Closed gordonmessmer closed 4 years ago

gordonmessmer commented 4 years ago

As an added benefit, the test suite runs a good deal faster. When pypi is slow, the test suite would sometimes exceed Travis CI's maximum run time.

gordonmessmer commented 4 years ago

@decathorpe Could you review this change set?

This is a trivial, one-line change, and reverting one of the test changes. In the course of fixing #209, I figured out that the virtualenv module was downloading an extra copy of the module, which is why we were getting inconsistent results from pytest. For some platforms, we were getting information about a prerelease of pytest on pypi.