Bug 787003 - oauth package isn't compatible with python 2.4
Summary: oauth package isn't compatible with python 2.4
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 21:14 UTC by Jay Dobies
Modified: 2014-03-31 01:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:13:58 UTC


Attachments (Terms of Use)

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.


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