ovh / python-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing.
https://pypi.org/project/ovh/
Other
298 stars 81 forks source link

Mute SNI warnings and upgrade requests #35

Closed yadutaf closed 8 years ago

yadutaf commented 8 years ago

SSL warnings are noisy, especially in CLI environments (poke @ncrocfer) and not actually relevant for python-ovh as we know the API has a dedicated IP per cert by design. We also have a vendored request lib so that this setting should not affect the end user.

yadutaf commented 8 years ago

Hmm, the request upgrade break python 3.2 support (tanks CI for noticing). Let me sleep over this

ncrocfer commented 8 years ago

requests does not support Python 3.2, from the doc :

Requests officially supports Python 2.6–2.7 & 3.3–3.5, and runs great on PyPy.

yadutaf commented 8 years ago

I rolled-back the upgrade + removed a broken request import. That fixes the built. I'm not ready yet to drop python 3.2 support. This is the version bundled with wheezy, which is still widespread in real-world production environments.

yadutaf commented 8 years ago

Thanks @Rbeuque74 and @ncrocfer for the review :heart:

ncrocfer commented 7 years ago

Hello,

Is it possible to bump this feature in version 0.4.6 please ? Latest version in Pypi is 0.4.5, and I still have the warnings in Py2 :)

Thank you.

yadutaf commented 7 years ago

I'll do a release. Please note you may use git or a git mirror to avoid depending on external releases