[Bug 1108434] New: osc: no import of commandline and babysitter in python3 available
http://bugzilla.suse.com/show_bug.cgi?id=1108434 Bug ID: 1108434 Summary: osc: no import of commandline and babysitter in python3 available Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mbrugger@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When using osc with python3, it fails to find commandline and babysitter:
python --version Python 3.6.5
osc ls openSUSE:Factory:ARM/perf Traceback (most recent call last): File "/usr/bin/osc", line 10, in <module> from osc import commandline, babysitter ModuleNotFoundError: No module named 'osc'
python2.7 /usr/bin/osc ls openSUSE:Factory:ARM/perf
Whereas it works fine with python2: perf.changes perf.spec I also installed python3-osc-lib-1.11.1-1.1.noarch which did not help.
zypper se -si osc Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository ---+-----------------+---------+----------------------+--------+---------------------- i+ | osc | package | 0.163.0-1.1 | noarch | Main Repository (OSS) i+ | osclib | package | 20180910.3cf8055-1.1 | noarch | Main Repository (OSS) i+ | python3-osc-lib | package | 1.11.1-1.1 | noarch | Main Repository (OSS) ---------------------------------------- Awaited behaviour: When using phyton3 on the distro, osc should work out of the box. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1108434
Matthias Brugger
http://bugzilla.suse.com/show_bug.cgi?id=1108434
http://bugzilla.suse.com/show_bug.cgi?id=1108434#c1
--- Comment #1 from Matthias Brugger
./osc-wrapper.py ls openSUSE:Factory/perf Traceback (most recent call last): File "./osc-wrapper.py", line 10, in <module> from osc import commandline, babysitter File "/home/mbrugger/src/opensuse/osc/osc/babysitter.py", line 14, in <module> from urlgrabber.grabber import URLGrabError ModuleNotFoundError: No module named 'urlgrabber'
Seems like no version of urlgrabber for python3 is present:
zypper se -s urlgrabber Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository ---+--------------------+---------+------------+--------+---------------------- i+ | python2-urlgrabber | package | 3.9.1-16.1 | noarch | Main Repository (OSS) [1] https://github.com/openSUSE/osc -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1108434
Matthias Brugger
http://bugzilla.suse.com/show_bug.cgi?id=1108434
http://bugzilla.suse.com/show_bug.cgi?id=1108434#c2
--- Comment #2 from Matthias Brugger
http://bugzilla.suse.com/show_bug.cgi?id=1108434
Matthias Brugger
http://bugzilla.suse.com/show_bug.cgi?id=1108434
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com