Description of problem: Due to some fancy footwork inside peak-rules, many directives throw a DeprecationWarning due to the way python >= 2.6 has deprecated sending any additional arguments to object.__new__(cls). I'm discussing this with PEAK people right now, thread URL above. The resulting fix is likely a patch to python-peak-util-addons, but I'm doing this to help me keep track of it. It's causing deprecation warnings with Pylons under 2.6. Version-Release number of selected component (if applicable): python-peak-rules-0.5a1.dev-5.2582 How reproducible: Always. Steps to Reproduce: #!/usr/bin/python from peak.rules import before def foo(): print "foo" @before(foo, "True") def bar(): print "bar" foo() Actual results: /usr/lib/python2.6/site-packages/peak/rules/indexing.py:220: DeprecationWarning: object.__new__() takes no parameters return super(BitmapIndex, cls).__new__(cls, engine, expr) bar foo Expected results: bar foo
python-peak-rules-0.5a1.dev-8.2582.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/python-peak-rules-0.5a1.dev-8.2582.fc11
python-peak-rules-0.5a1.dev-8.2582.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update python-peak-rules'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7792
python-peak-rules-0.5a1.dev-8.2582.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.