forked from elbuo8/sendgrid-django
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to standard urllib error handling.
This reverts commit e4dfae4, which tries to fix elbuo8#74 by importing HTTPError from `python_http_client`. This change isn't necessary, since the error in elbuo8#74 was being caused by a bug in `sendgrid-python` which resulted in the wrong version of `python_http_client` being installed: sendgrid/sendgrid-python#321 Since the bug is fixed in `sendgrid-python` 4.2.1, but this library still uses `sendgrid-python` 3.5+, I've added additional installation constraints on `python_http_client` so that it should never install a version with custom error handling (2.3.0 or above). This constraint should be removed when we upgrade to `sendgrid-python` 4.
- Loading branch information
Showing
3 changed files
with
9 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters