← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1438288] [NEW] import six.moves.http_client fails

 

Public bug reported:

This has been reported in another launchpad for another project:
https://bugs.launchpad.net/openstack-ci/+bug/1381403

Which version of six is required to work with python-jenkins? This
version should be required specifically.

$ python
Python 2.7.6 (default, Sep  9 2014, 15:04:36) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import jenkins
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/jenkins/__init__.py", line 54, in <module>
    from six.moves.http_client import BadStatusLine
ImportError: No module named http_client

$ sudo pip install python-jenkins
Requirement already satisfied (use --upgrade to upgrade): python-jenkins in /Library/Python/2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): pbr<1.0,>=0.8.2 in /Library/Python/2.7/site-packages (from python-jenkins)
Requirement already satisfied (use --upgrade to upgrade): six in /Library/Python/2.7/site-packages (from python-jenkins)
Requirement already satisfied (use --upgrade to upgrade): pip in /Library/Python/2.7/site-packages (from pbr<1.0,>=0.8.2->python-jenkins)

$ pip show python-jenkins six
---
Name: python-jenkins
Version: 0.4.5
Location: /Library/Python/2.7/site-packages
Requires: pbr, six
---
Name: six
Version: 1.9.0
Location: /Library/Python/2.7/site-packages
Requires: 
WDFM32915227A:~ i070762$

** Affects: openstack-ci
     Importance: Undecided
         Status: New

** Affects: python-jenkins
     Importance: Undecided
         Status: New

** Also affects: openstack-ci
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1438288

Title:
  import six.moves.http_client fails

Status in OpenStack Core Infrastructure:
  New
Status in Python API for Jenkins:
  New

Bug description:
  This has been reported in another launchpad for another project:
  https://bugs.launchpad.net/openstack-ci/+bug/1381403

  Which version of six is required to work with python-jenkins? This
  version should be required specifically.

  $ python
  Python 2.7.6 (default, Sep  9 2014, 15:04:36) 
  [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import jenkins
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/Library/Python/2.7/site-packages/jenkins/__init__.py", line 54, in <module>
      from six.moves.http_client import BadStatusLine
  ImportError: No module named http_client

  $ sudo pip install python-jenkins
  Requirement already satisfied (use --upgrade to upgrade): python-jenkins in /Library/Python/2.7/site-packages
  Requirement already satisfied (use --upgrade to upgrade): pbr<1.0,>=0.8.2 in /Library/Python/2.7/site-packages (from python-jenkins)
  Requirement already satisfied (use --upgrade to upgrade): six in /Library/Python/2.7/site-packages (from python-jenkins)
  Requirement already satisfied (use --upgrade to upgrade): pip in /Library/Python/2.7/site-packages (from pbr<1.0,>=0.8.2->python-jenkins)

  $ pip show python-jenkins six
  ---
  Name: python-jenkins
  Version: 0.4.5
  Location: /Library/Python/2.7/site-packages
  Requires: pbr, six
  ---
  Name: six
  Version: 1.9.0
  Location: /Library/Python/2.7/site-packages
  Requires: 
  WDFM32915227A:~ i070762$

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-ci/+bug/1438288/+subscriptions


Follow ups

References