Bug 1072923

Summary: ERROR: Failure: ImportError (No module named httpretty)
Product: [Fedora] Fedora Reporter: Alexander Todorov <atodorov>
Component: python-botoAssignee: Garrett Holmstrom <gholms>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: gholms, ohadlevy, orion, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-boto-2.32.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-01 04:24:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1036755    
Bug Blocks: 1072946    

Description Alexander Todorov 2014-03-05 11:52:53 UTC
Description of problem:

I tried to execute the test suite bundled with boto:

python ./tests/test.py unit


and the following errors appeared:

nose command: ./tests/test.py -a !notdefault unit
.............................................EEE...................................................................................................................................................................................................F............................................................................................................................S................................................................................................................................................................S........................................................EE...E.
======================================================================
ERROR: Failure: ImportError (No module named httpretty)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/atodorov/rpmbuild/BUILD/boto-2.25.0/tests/unit/cloudsearch/test_document.py", line 4, in <module>
    from httpretty import HTTPretty
ImportError: No module named httpretty

======================================================================
ERROR: Failure: ImportError (No module named httpretty)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/atodorov/rpmbuild/BUILD/boto-2.25.0/tests/unit/cloudsearch/test_exceptions.py", line 5, in <module>
    from .test_search import HOSTNAME, CloudSearchSearchBaseTest
  File "/home/atodorov/rpmbuild/BUILD/boto-2.25.0/tests/unit/cloudsearch/test_search.py", line 4, in <module>
    from httpretty import HTTPretty
ImportError: No module named httpretty

======================================================================
ERROR: Failure: ImportError (No module named httpretty)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/atodorov/rpmbuild/BUILD/boto-2.25.0/tests/unit/cloudsearch/test_search.py", line 4, in <module>
    from httpretty import HTTPretty
ImportError: No module named httpretty

======================================================================
ERROR: Failure: ImportError (No module named httpretty)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/atodorov/rpmbuild/BUILD/boto-2.25.0/tests/unit/test_connection.py", line 27, in <module>
    from httpretty import HTTPretty
ImportError: No module named httpretty

======================================================================
ERROR: Failure: ImportError (No module named httpretty)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/loader.py", line 413, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/atodorov/rpmbuild/BUILD/boto-2.25.0/tests/unit/test_exception.py", line 5, in <module>
    from httpretty import HTTPretty, httprettified
ImportError: No module named httpretty



The module HTTPretty  doesn't appear to be available for Fedora (Rawhide) yet but has been proposed for inclusion in bug #1036755.



Version-Release number of selected component (if applicable):
python-boto-2.25.0-2.fc21.src.rpm

How reproducible:
Always

Comment 1 Fedora Update System 2014-08-23 19:17:31 UTC
python-boto-2.32.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-boto-2.32.1-1.fc20

Comment 2 Fedora Update System 2014-08-23 19:18:25 UTC
python-boto-2.32.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-boto-2.32.1-1.fc19

Comment 3 Fedora Update System 2014-08-25 01:50:42 UTC
Package python-boto-2.32.1-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-boto-2.32.1-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9743/python-boto-2.32.1-1.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-10-01 04:20:54 UTC
python-boto-2.32.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-10-01 04:24:16 UTC
python-boto-2.32.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.