Hi, Which Ryu package are you using? (Sorry, I don't know about the Ryu package on Fedora...)
To execute the tests of Ryu, the following python packages are required. https://github.com/osrg/ryu/blob/master/tools/test-requires If you have installed pip, you can install them as following: e.g.) # Install all requirements $ sudo dnf install gcc libffi-devel python-devel openssl-devel # required for building "cryptography" $ sudo dnf install redhat-rpm-config # might be required, if you are using Fedora 23+ $ sudo pip install -r tools/pip-requires -r tools/test-requires # Then, re-install Ryu $ python setup.py install # Execute the tests $ ./run_tests.sh -N Thanks, Iwase On 2016年07月08日 20:02, Lumir Balhar wrote: > Hello. > > Please, what is a preferred way to run tests in Ryu package? > > We have package in Fedora with python2 and python3 subpackages, but with > disabled tests. Package author wrote in comments that tests is disabled > because one dependency (tinyrpc) isn't packaged in fedora. I am trying > to find where is tinyrpc used. > > I cannot use run_tests.sh because some scripts in tools/ folder aren't > python3 compatible. > > If I use "python3 setup.py test" then tests ends with following error: > > TypeError: dist must be a Distribution instance > > Could you please help me how to run tests and better how to run it > without tinyrpc dependency? > > Thank you and have a nice day. > Lumir > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
