-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing 4.2.0 installs the wrong version of python-http-client #321
Labels
Comments
Thanks for the heads up @w-! I've added this to our backlog for a fix. |
jeff-jk
added a commit
to jeff-jk/sendgrid-python
that referenced
this issue
Jul 3, 2017
thinkingserious
added a commit
that referenced
this issue
Aug 4, 2017
…version of python-http-client
Fixed with version 4.2.1 |
thinkingserious
added a commit
that referenced
this issue
Aug 11, 2017
martey
added a commit
to mobolic/sendgrid-django
that referenced
this issue
Oct 18, 2018
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.
martey
added a commit
to mobolic/sendgrid-django
that referenced
this issue
Oct 18, 2018
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.
martey
added a commit
to mobolic/sendgrid-django
that referenced
this issue
Oct 18, 2018
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.
martey
added a commit
to mobolic/sendgrid-django
that referenced
this issue
Jan 27, 2019
This reverts commit e4dfae4, which tries to fix elbuo8#74 by importing HTTPError from `python_http_client`. That 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. This commit also adds a minimum version to pytest. pytest-django requires pytest>=3.6. To prevent test failures, we need to ensure that an up-to-date version of pytest is installed.
andriisoldatenko
pushed a commit
to elbuo8/sendgrid-django
that referenced
this issue
Jan 27, 2019
This reverts commit e4dfae4, which tries to fix #74 by importing HTTPError from `python_http_client`. That change isn't necessary, since the error in #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. This commit also adds a minimum version to pytest. pytest-django requires pytest>=3.6. To prevent test failures, we need to ensure that an up-to-date version of pytest is installed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Issue Summary
If I install 4.2.0 via pip, it install python-http-client==2.3.0
We should be getting 2.2.1
This breaks things if we are doing error handling using HTTPError from urllib.
Steps to Reproduce
Technical details:
python 2.7.13
pip 9.0.1
Workaround
FYI if we preinstall 2.2.1 it seems to be ok
The text was updated successfully, but these errors were encountered: