[MacPorts] #51784: py-rudolf causes nosetests to issue runtime warning
MacPorts
noreply at macports.org
Wed Jul 6 13:39:57 PDT 2016
#51784: py-rudolf causes nosetests to issue runtime warning
------------------------+--------------------------------
Reporter: munro1@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: py-rudolf |
------------------------+--------------------------------
Description changed by mf2k@…:
Old description:
> Every time you run nosetests-2.7 you get a runtime warning:
>
> bash-3.2$ nosetests
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to
> load plugin color = rudolf:ColorOutputPlugin: (nose 1.3.7
> (/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages), Requirement.parse('nose==dev,>=0.1.0'))
> RuntimeWarning)
>
> This comes from a bad egg-info file produced by the setup.py in the py-
> rudolf package. It was fixed in Jan 2015 in the upstream source at
> https://github.com/bitprophet/rudolf/commits/master commit c5543e4; the
> install_requires string should not include ", ==dev".
>
> As a workaround, if you edit the file
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/rudolf2-0.3-py2.7.egg-info/requires.txt and remove the ",
> ==dev", nosetests will stop emitting the RuntimeWarning message.
New description:
Every time you run nosetests-2.7 you get a runtime warning:
{{{
bash-3.2$ nosetests
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load
plugin color = rudolf:ColorOutputPlugin: (nose 1.3.7
(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages), Requirement.parse('nose==dev,>=0.1.0'))
RuntimeWarning)
}}}
This comes from a bad egg-info file produced by the setup.py in the py-
rudolf package. It was fixed in Jan 2015 in the upstream source at
https://github.com/bitprophet/rudolf/commits/master commit c5543e4; the
install_requires string should not include ", ==dev".
As a workaround, if you edit the file
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/rudolf2-0.3-py2.7.egg-info/requires.txt and remove the ",
==dev", nosetests will stop emitting the RuntimeWarning message.
--
--
Ticket URL: <https://trac.macports.org/ticket/51784#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list