[Bug 1146533] New: llvm8 pulls in python 2
http://bugzilla.suse.com/show_bug.cgi?id=1146533 Bug ID: 1146533 Summary: llvm8 pulls in python 2 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: aaronpuchert@alice-dsl.net Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I can't remove python-base from my system because of: /usr/bin/python is needed by (installed) llvm8-8.0.1-1.2.x86_64 /usr/bin/python is needed by (installed) clang8-checker-8.0.1-1.2.x86_64 /usr/bin/python is needed by (installed) clang8-8.0.1-1.2.x86_64 Seems to be caused by #!/usr/bin/python shebangs. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1146533
http://bugzilla.suse.com/show_bug.cgi?id=1146533#c1
Aaron Puchert
http://bugzilla.suse.com/show_bug.cgi?id=1146533
http://bugzilla.suse.com/show_bug.cgi?id=1146533#c2
Fabian Vogt
There was https://build.opensuse.org/request/show/720164, but my understanding is that the unversioned shebang is Ok if a script works with both Python 2 and 3. [1] I didn't test it, but I also have no indication that it doesn't.
Has there been a decision in openSUSE to not change the default python version and instead always use versioned shebangs?
[1] https://www.python.org/dev/peps/pep-0394/#recommendation
All packages in openSUSE are moving away from /usr/bin/python. Whether that's part of a decision about /usr/bin/python I don't know, but it's a safe approach. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1146533
http://bugzilla.suse.com/show_bug.cgi?id=1146533#c3
Aaron Puchert
http://bugzilla.suse.com/show_bug.cgi?id=1146533
http://bugzilla.suse.com/show_bug.cgi?id=1146533#c4
Aaron Puchert
Tomáš, do you want to revive your change? I think you just need to add -%{_relver} and make the regex a bit more specific. Otherwise I'll take this over.
Nevermind, I'm working on this. I'll submit the change when I've verified that it builds and the python2 dependency has disappeared. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1146533
https://bugzilla.suse.com/show_bug.cgi?id=1146533#c7
--- Comment #7 from OBSbugzilla Bot
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com