Opened 8 years ago

Closed 7 years ago

#51784 closed defect (fixed)

py-rudolf causes nosetests to issue runtime warning

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

Description (last modified by mf2k (Frank Schima))

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 (3)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: nosetests rudolf removed
Port: @0.3_0 removed

In the future, please use WikiFormatting.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In 42a3345351e7808396dc952159a1b8faf1e94f57/macports-ports:

py-rudolf: add patch to avoid nosetests warning

closes #51784

Note: See TracTickets for help on using tickets.