codeforamerica / cfapi

The Code for America API. Tracks and motivates activity and participation across the civic technology movement.
http://codeforamerica.org/api
MIT License
113 stars 52 forks source link

Fixes requests/urllib3 InsecurePlatformWarnings #296

Closed tmaybe closed 8 years ago

tmaybe commented 8 years ago

I added an extra security requirement to the requests package in requirements.txt. This installs extra packages to support true SSL connections as detailed in this stackoverflow comment.

I also added cffi to requirements.txt; this prompts Heroku to install libffi and other security libraries. If these libraries aren't installed, the extra security requirement described above fails.

Closes #295

tmaybe commented 8 years ago

This is live on staging, and the errors described in #295 are no longer seen during updates!