Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
Remove embedded CA certificate, upgrade httplib2
Browse files Browse the repository at this point in the history
PAPI-175
The workaround of embedding the CA certificate is no longer needed.
It needs to be removed as it does not work with our new SSL certs.
  • Loading branch information
Vraj Mohan committed Nov 20, 2014
1 parent e593540 commit 68a1017
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog
---------
2014-11-20 v1.2.1
* Removed SSL Certificate workaround
* Upgraded httplib2 >= 0.9.0

2014-11-13: v1.2.0
* Add a new endpoint to schedule broadcast

Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include *.py
include *.rst
include aweber_api/cacert.crt
include LICENSE
20 changes: 0 additions & 20 deletions aweber_api/cacert.crt

This file was deleted.

1 change: 0 additions & 1 deletion aweber_api/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def _get_client(self):
else:
client = oauth.Client(self.consumer)

client.ca_certs = os.path.join(os.path.dirname(__file__), 'cacert.crt')
return client

def _prepare_request_body(self, method, url, data):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='aweber_api',
version='1.2.0',
version='1.2.1',
author='AWeber Dev Team',
author_email='[email protected]',
maintainer='AWeber API Team',
Expand All @@ -28,7 +28,7 @@
],
packages=find_packages(exclude=['tests']),
install_requires=[
'httplib2>=0.7.0,<=0.8.0',
'httplib2>=0.9.0,<=0.10.0',
'oauth2>=1.2',
],
tests_require=[
Expand Down

0 comments on commit 68a1017

Please sign in to comment.