themartorana / python-postmark

Postmark library for Python 2.6 and greater
http://davemartorana.com
MIT License
199 stars 83 forks source link

PMBounceManager.activate uses non-existent `HTTPConnection` #69

Closed teeberg closed 7 years ago

teeberg commented 7 years ago
  File ".../.venv/lib/python2.7/site-packages/postmark/core.py", line 875, in activate
    h1 = HTTPConnection('api.postmarkapp.com')
NameError: global name 'HTTPConnection' is not defined

Python 2.7.13. Seems to be the only place in that file that uses this class.

nicholasserra commented 7 years ago

Hello, thanks for the report. Seems we have some issues with our import chain with 2.7.13. Will try to sort that out asap.

teeberg commented 7 years ago

Thank you for the quick fix!

nicholasserra commented 7 years ago

Welcome! Let me know if you need this to go out to pypi asap, otherwise it will go out with next release.

teeberg commented 7 years ago

I'm currently sending the request myself manually using requests.put, so it's not urgent for me :) When do you plan to have the next release?

nicholasserra commented 7 years ago

No idea to be honest. Maybe after a couple more patches land.