DescriptionJan Pokorný [poki]
2016-03-24 18:21:14 UTC
Created attachment 1140096[details]
prioritized_methods-fix-requires.patch
This gets exposed with luci when user deliberately updates setuptools:
# rpm -q python-setuptools || yum install python-setuptools
# easy_install -U setuptools
# yum install luci
# luci-h
> Usage: luci [paster_options] COMMAND [command_options]
>
> Options:
> --version show program's version number and exit
> --plugin=PLUGINS Add a plugin to the list of commands (plugins are Egg
> specs; will also require() the Egg)
> -h, --help Show this help message
>
> Cannot load command tginfo:
> (PEAK-Rules 0.5a1.dev-r2582 (/usr/lib/python2.6/site-packages),
> Requirement.parse('PEAK-Rules==dev,>=0.5a1.dev-r2562'),
> set(['prioritized-methods']))
> Commands:
> create Create the file layout for a Python distribution
> help Display help
> make-config Install a package and create a fresh config file/directory
> points Show information about entry points
> post Run a request for the described application
> request Run a request for the described application
> serve Serve the described application
> setup-app Setup an application, given a config file
After the attached fix[*]:
> Usage: luci [paster_options] COMMAND [command_options]
>
> Options:
> --version show program's version number and exit
> --plugin=PLUGINS Add a plugin to the list of commands (plugins are Egg
> specs; will also require() the Egg)
> -h, --help Show this help message
>
> /usr/lib/python2.6/site-packages/tw/core/view.py:223:
> DeprecationWarning: object.__new__() takes no parameters
> obj = object.__new__(cls, *args, **kw)
> Commands:
> create Create the file layout for a Python distribution
> help Display help
> make-config Install a package and create a fresh config file/directory
> points Show information about entry points
> post Run a request for the described application
> request Run a request for the described application
> serve Serve the described application
> setup-app Setup an application, given a config file
>
> TurboGears2:
> tginfo Show TurboGears 2 related projects and their versions
NOTE: the warning is actually harmless.
[*] or when running following as a workaround:
sed -i.bck 's|,==dev||' \
/usr/lib/python2.6/site-packages/prioritized_methods-*-py2.6.egg-info/requires.txt
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2017-0636.html