Zitrax / nose-dep

Nosetest plugin for test dependencies. Makes it possible to let tests depend on each other and/or run in a specific order.
MIT License
2 stars 3 forks source link

nosedep:NoseDep: cannot import name windows_support - setuptools 37 #11

Closed iyaozhen closed 4 years ago

iyaozhen commented 6 years ago

When I use python 2.7.14 and upgrade setuptools from 36.5 to 37

pip install nose
pip install nosedep
nosetests -V
python2.7/site-packages/nose/plugins/manager.py:395: RuntimeWarning: 
Unable to load plugin nosedep = nosedep:NoseDep: cannot import name windows_support 
 RuntimeWarning)
nosetests version 1.3.7

setuptools 36.5 or other nose plugin work well

Zitrax commented 6 years ago

Hi sorry for late answer. I have not encountered this issue but I can see if I can reproduce it.

iyaozhen commented 6 years ago

more information, I use Mac, and brew install python

Zitrax commented 6 years ago

Unfortunately I do not have access to a Mac, I did a try on Linux now and it worked fine there with python 2.7.12 and setuptools 38.2.4.

nosetests -V

nosetests version 1.3.7

Nosedep does not directly import window_support. Grepping for that it appears in the setuptools source. Could it be a setuptools issue rather than a nosedep one ? Setuptools should have a file windows_support.py.