Opened 8 years ago

Last modified 7 years ago

#51784 closed defect

py-rudolf causes nosetests to issue runtime warning — at Initial Version

Reported by: munro1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-rudolf

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.

Change History (0)

Note: See TracTickets for help on using tickets.