scottwernervt / cloudstorage

Unified cloud storage API for storage services.
http://cloudstorage.readthedocs.io/en/latest/
MIT License
93 stars 27 forks source link

Update package dependencies #43

Closed scottwernervt closed 5 years ago

scottwernervt commented 5 years ago

Tests are failing due to package dependencies:

________________ ERROR collecting tests/test_drivers_google.py _________________
.tox/py34/lib/python3.4/site-packages/google/resumable_media/requests/__init__.py:665: in <module>
    pkg_resources.require('requests >= 2.18.0')
.tox/py34/lib/python3.4/site-packages/pkg_resources/__init__.py:900: in require
    needed = self.resolve(parse_requirements(requirements))
.tox/py34/lib/python3.4/site-packages/pkg_resources/__init__.py:791: in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
E   pkg_resources.ContextualVersionConflict: (urllib3 1.25.3 (/home/travis/build/[secure]/cloudstorage/.tox/py34/lib/python3.4/site-packages), Requirement.parse('urllib3<1.25,>=1.21.1'), {'requests'})
The above exception was the direct cause of the following exception:
tests/test_drivers_google.py:15: in <module>
    from cloudstorage.drivers.google import GoogleStorageDriver
.tox/py34/lib/python3.4/site-packages/cloudstorage/drivers/google.py:17: in <module>
    from google.cloud import storage
.tox/py34/lib/python3.4/site-packages/google/cloud/storage/__init__.py:39: in <module>
    from google.cloud.storage.blob import Blob
.tox/py34/lib/python3.4/site-packages/google/cloud/storage/blob.py:44: in <module>
    from google.resumable_media.requests import ChunkedDownload
.tox/py34/lib/python3.4/site-packages/google/resumable_media/requests/__init__.py:673: in <module>
    six.raise_from(new_exc, caught_exc)
<string>:3: in raise_from
    ???
E   ImportError: ``requests >= 2.18.0`` is required by the ``google.resumable_media.requests`` subpackage.
E   It can be installed via
E       pip install google-resumable-media[requests].
________________ ERROR collecting tests/test_drivers_google.py _________________