Bug 1072923 - ERROR: Failure: ImportError (No module named httpretty)
Summary: ERROR: Failure: ImportError (No module named httpretty)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-boto
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Garrett Holmstrom
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1036755
Blocks: 1072946
TreeView+ depends on / blocked
 
Reported: 2014-03-05 11:52 UTC by Alexander Todorov
Modified: 2014-10-01 04:24 UTC (History)
4 users (show)

Fixed In Version: python-boto-2.32.1-1.fc19
Clone Of:
Environment:
Last Closed: 2014-10-01 04:24:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.