Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests version needs to be 2.5.0 or greater from this repo #101

Closed
pjbreaux opened this issue May 17, 2016 · 1 comment
Closed

Requests version needs to be 2.5.0 or greater from this repo #101

pjbreaux opened this issue May 17, 2016 · 1 comment

Comments

@pjbreaux
Copy link
Contributor

If a user is starting with a lower version of requests than 2.5.0, they will see failures coming from this module (when attempting to disable the warning messages). We need to set the requests version >= 2.5.0. Otherwise folks get an error:

        if StrictVersion(requests_version) < '2.9.1':
            requests.packages.urllib3.disable_warnings()

        AttributeError: 'module' object has no attribute 'packages'
@caphrim007
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants