Bug 1321133 - install_requires contains forward-incompatible "PEAK-Rules>=0.5a1.dev-r2562,==dev" specification
Summary: install_requires contains forward-incompatible "PEAK-Rules>=0.5a1.dev-r2562,=...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python-prioritized-methods
Version: 6.8
Hardware: All
OS: All
medium
medium
Target Milestone: rc
: ---
Assignee: Charalampos Stratakis
QA Contact: Jan Kepler
URL:
Whiteboard:
Depends On:
Blocks: 1356061 1373251
TreeView+ depends on / blocked
 
Reported: 2016-03-24 18:21 UTC by Jan Pokorný [poki]
Modified: 2019-11-14 07:40 UTC (History)
6 users (show)

Fixed In Version: python-prioritized-methods-0.2.1-5.2.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 09:59:33 UTC
Target Upstream Version:


Attachments (Terms of Use)
prioritized_methods-fix-requires.patch (346 bytes, patch)
2016-03-24 18:21 UTC, Jan Pokorný [poki]
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0636 0 normal SHIPPED_LIVE python-prioritized-methods bug fix update 2017-03-21 12:30:44 UTC

Description Jan 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

Comment 10 errata-xmlrpc 2017-03-21 09:59:33 UTC
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


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