Missing transitive dependency requests
from the google-resumable-media
library
#1269
Labels
Milestone
requests
from the google-resumable-media
library
#1269
Description of the problem
If a user installs Rally from pip or from a local checkout without installing development dependencies, and attempts to use a track that references a corpus stored in a Google Storage bucket,
esrally race
will fail with:[ERROR] Cannot race. Error in track preparator (The requests library is not installed, please install the requests package to use the requests transport.)
Root cause
When we added Google Storage support for bucket in #1094 we leveraged the google resumable media package to allow us support the progress indicator.
Specifically we are using download.py#consume_next_chunk which in turn relies on the requests package.
The requests package is specified as an extra dependency though in google resumable media dependencies and we missed that in Rally's setup.py
Note that when installing Rally for development, certain third party libraries specify
requests
as a transitive dependency and everything works ok with GS buckets, masking this bug.The text was updated successfully, but these errors were encountered: