python38-nose broken

a recent upgrade has borked it; contains Python 2 style print statements,
the version is : 1.3.7-11.17-noarch from the main tumbleweed repo

(I am not sure this is the right forum to report or get support for such issues, btw)

Would be good if you can provide a more information, guessing makes solving things not faster.

So can you paste, Using Code Tags Around Your Paste, the command you issue and the complete error message?

For me, no problem on Tumbleweed:

> sudo zypper info python38-nose    

Information for package python38-nose: 
Repository     : devel:languages:python 
Name           : python38-nose 
Version        : 1.3.7-111.46

> nosetests 

Ran 0 tests in 0.004s 


Do you update with:

zypper dup

for me:

Informatie voor pakket python38-nose:
Opslagruimte       : repo-oss
Naam               : python38-nose
Versie             : 1.3.7-11.17
Arch               : noarch
Leverancier        : openSUSE
Installatiegrootte : 890,2 KiB
Geïnstalleerd      : Ja
Status             : actueel
Broncodepakket     : python-nose-1.3.7-11.17.src
URL van upstream   :
Samenvatting       : Nose extends unittest to make testing easier

I think the installed matches the following file:


gives the following output:

Traceback (most recent call last):
  File "/usr/bin/nosetests", line 3, in <module>
    from nose import main
  File "/usr/lib/python3.8/site-packages/nose/", line 1, in <module>
    from nose.core import collector, main, run, run_exit, runmodule
  File "/usr/lib/python3.8/site-packages/nose/", line 153
    print "%s version %s" % (os.path.basename(sys.argv[0]), __version__)
SyntaxError: invalid syntax

I have been updating with the package update applet
(currently zypper dup does not want to update the python38-nose package)

For me:

> grep "%s version %s" /usr/lib/python3.8/site-packages/nose/
print("%s version %s" % (os.path.basename(sys.argv[0]), __version__)

> ls -l /usr/lib/python3.8/site-packages/nose/
-rw-r--r-- 1 root root 13071 Dec 17 07:06 /usr/lib/python3.8/site-packages/nose/

> rpm -qlpv python38-nose-1.3.7-11.17.noarch.rpm  | grep
-rw-r--r--    1 root     root                    13093 Apr  4  2015 /usr/lib/python3.8/site-packages/nose/

So your code is 4 years older, the fix is to update, see also the post from @Sauerland

well, the difference is that you are pulling from the devel:language: python repo while I am on the (default) repo-oss repo, so why has this reverted to this old version? (I have used this before w/o problem)
and how does python 2 code end up in a package with the name python38-… ??

Good observation, yes I have the devel:language:python repo enabled while you have the package from the (default) repo-oss repo,

The details of the package look fine, see

You now know a work-around, to have the problem fixed for the (default) repo-oss repo I think it is best to create an issue at

thanks, I filed the bug report…