nprapps / app-template

The NPR visuals team's opinionated project template for client-side apps.
http://blog.apps.npr.org/2014/07/29/everything-our-app-template-does.html
MIT License
1.55k stars 194 forks source link

newer python versions break boto deployment #565

Closed eads closed 9 years ago

eads commented 9 years ago

@dannydb noted this while working on best songs mid year. Somehow I thought we'd ticketed it, but apparently not.

It affects Python versions >= 2.7.9 as far as I can tell, and has to do with a subtle change in how the SSL library accepts/rejects domains. In newer versions "foo.s3.amazonaws.com" matches "*.s3.amazonaws.com" but "foo.bar.s3.amazonaws.com" doesn't.

Tarbell has had the same problem (https://github.com/tarbell-project/tarbell/issues/306) and recently got a fix (https://github.com/tarbell-project/tarbell/commit/0b9e414137ac7f9ca725b6a53332002ba459059b).