← 输入框|github.com|刷新
Skip to content

Installing 4.2.0 installs the wrong version of python-http-client #321

Closed

Description

@w-

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

$ pip install sendgrid==4.2.0
Collecting sendgrid==4.2.0
  Using cached sendgrid-4.2.0-py2.py3-none-any.whl
Collecting python-http-client>=2.1.1 (from sendgrid==4.2.0)
  Using cached python_http_client-2.3.0-py2.py3-none-any.whl
Installing collected packages: python-http-client, sendgrid
Successfully installed python-http-client-2.3.0 sendgrid-4.2.0

Technical details:

python 2.7.13
pip 9.0.1

Workaround

FYI if we preinstall 2.2.1 it seems to be ok

$ pip install sendgrid==4.2.0
Collecting sendgrid==4.2.0
  Using cached sendgrid-4.2.0-py2.py3-none-any.whl
Requirement already satisfied: python-http-client>=2.1.1 in ./py_venvs/gfy/lib/python2.7/site-packages (from sendgrid==4.2.0)
Installing collected packages: sendgrid
Successfully installed sendgrid-4.2.0

Activity

  1. thinkingserious commented on Jun 23, 2017

    @thinkingserious
    Contributor

    Thanks for the heads up @w-!

    I've added this to our backlog for a fix.

  2. added a commit that references this issue on Aug 4, 2017
  3. thinkingserious commented on Aug 4, 2017

    @thinkingserious
    Contributor

    Fixed with version 4.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions