[ckan-dev] nosetests conflicting version requirements

Konrad Reiche konrad.reiche at gmail.com
Thu Nov 21 16:13:13 UTC 2013


Just answering my own question for the case that someone asks the same
question :-)

I was able to eliminate the warning by extending my setup.py

[nose.plugins]
 pylons = pylons.test:PylonsPlugin

Best,
Konrad

On 10/28/2013 02:59 PM, Konrad Reiche wrote:
> Hello there,
> 
> I am now stuck for a while on an error I receive when I try to test my
> CKAN extension [1].
> 
> /home/konrad/pyenv/lib/python2.7/site-packages/nose/plugins/manager.py:395:
> RuntimeWarning: Unable to load plugin pylons = pylons.test:PylonsPlugin:
> (WebOb 1.0.8 (/home/konrad/pyenv/lib/python2.7/site-packages),
> Requirement.parse('WebOb>=1.2'))
>   RuntimeWarning)
> 
> The Python packages are all installed as specified in the requirement
> text files. Especially, I am on:
> 
> nose==1.3.0
> Pylons==0.9.7
> WebOb==1.0.8
> 
> I cannot resolve this error, because CKAN requires WebOb 1.0.8 due to
> deprecation of UnicodeMultiDict. I cannot update Pylons either, because
> then it will not work, too.
> 
> The error only appears if the test involves ckan or ckanext-harvest
> modules. Any idea how to proceed here?
> 
> Best,
> Konrad
> 
> [1]: https://github.com/fraunhoferfokus/ckanext-govdatade
> 



More information about the ckan-dev mailing list