Bug 787003

Summary: oauth package isn't compatible with python 2.4
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: user-experienceAssignee: Jason Connor <jconnor>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: mmccune
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:13:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jay Dobies 2012-02-02 21:14:17 UTC
It was first noticed when running the tests in the test/functional directory on the RHEL 5 hudson slave. The traceback from those tests is:

======================================================================
ERROR: test_oauth_header (test_oauth.TestOauth)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/workspace/pulp-dev-rhel5/test/functional/test_oauth.py", line 62, in test_oauth_header
    oauth_request.sign_request(oauth.SignatureMethod_HMAC_SHA1(), consumer, None)
  File "/usr/lib/python2.4/site-packages/oauth2/__init__.py", line 502, in sign_request
    self['oauth_signature'] = signature_method.sign(self, consumer, token)
  File "/usr/lib/python2.4/site-packages/oauth2/__init__.py", line 843, in sign
    hashed = hmac.new(key, raw, sha)
  File "/usr/lib64/python2.4/hmac.py", line 107, in new
    return HMAC(key, msg, digestmod)
  File "/usr/lib64/python2.4/hmac.py", line 42, in __init__
    self.outer = digestmod.new()
AttributeError: 'builtin_function_or_method' object has no attribute 'new'

Comment 1 Jason Connor 2012-02-02 22:18:03 UTC
test silenced in e99eecdd0b42d344ff9685c8ccda0ec01a44bd15

Comment 2 Jeff Ortel 2012-02-06 22:22:57 UTC
build: 0.265

Comment 3 Preethi Thomas 2012-02-22 19:58:55 UTC
moving to verified

Comment 4 Preethi Thomas 2012-02-24 20:13:58 UTC
Pulp v1.0 is released
Closed Current Release.