Luigi Baldoni wrote
I was running %python_expand %python_exec %{_bindir}/nosetests-%{$python_version}. Both this and %python_exec -m nose end with a "Unknown option s in python_expand()", while %python_expand nosetests-%{$python_bin_suffix} end with "Unknown option s in python_expand()", "Unknown option m in python_exec()" and "Unknown option m in python_expand()".
All three of the above fail a test in the form of a "UnicodeDecodeError", which wasn't originally a problem in the plain python 2.x package.
Addendum: according to the module developers, the right way to run the tests is executing either test/alltests.py or test3/alltests.py. I've tried various incarnations of %python_exec -c but I couldn't come up with a way to use the correct interpreter with the correct script. Am I missing something or do I really need a more complex script? Regards -- View this message in context: http://opensuse.14.x6.nabble.com/python-singlespec-how-to-convert-your-packa... Sent from the opensuse-packaging mailing list archive at Nabble.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org