[Bug 1213724] New: python2 update sets /usr/bin/python link to 2.7
https://bugzilla.suse.com/show_bug.cgi?id=1213724 Bug ID: 1213724 Summary: python2 update sets /usr/bin/python link to 2.7 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Python Assignee: python-maintainers@suse.com Reporter: robert.simai@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Current update python-base-2.7.18-150000.51.1.x86_64.rpm sets the /usr/bin/python link to python2.7, even though it typically points to python3.6, which makes python3 scripts fail. Expected: the package shouldn't touch the symbolic link but leave it as is. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213724 https://bugzilla.suse.com/show_bug.cgi?id=1213724#c1 Dominique Leuenberger <dleuenberger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dleuenberger@suse.com --- Comment #1 from Dominique Leuenberger <dleuenberger@suse.com> --- I don't think this is accurate: /usr/bin/python has in no (open)SUSE distro been pointing to python 3.x but was always python 2.x This on line with PEP 394 https://peps.python.org/pep-0394/#history-of-this-pep (granted, current version reads a bit different than the historic ones - but we never followed the new interpretation) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213724 https://bugzilla.suse.com/show_bug.cgi?id=1213724#c2 Steve Kowalik <steven.kowalik@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steven.kowalik@suse.com --- Comment #2 from Steve Kowalik <steven.kowalik@suse.com> --- Indeed, python3 has never touched the /usr/bin/python symlink, and we have never moved in that direction -- a large number of build systems still in use assume /usr/bin/python is Python 2. If you've changed the symlink, then sure, you can do that, but the packaging system may decide you're wrong and move it back. :-) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213724 https://bugzilla.suse.com/show_bug.cgi?id=1213724#c3 Steve Kowalik <steven.kowalik@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Steve Kowalik <steven.kowalik@suse.com> --- Marking as invalid. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213724 https://bugzilla.suse.com/show_bug.cgi?id=1213724#c4 --- Comment #4 from Robert Simai <robert.simai@suse.com> --- I see your reasons, even though I doubt this is still a good default and to check the link and leave it as is may be more appropriate nowadays. In any case and if no one else complains, many thanks for the swift response and clarification! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com