Bugzilla – Bug 1221112
python3-pygit2 package install fails
Last modified: 2024-03-25 09:21:07 UTC
On a clean installed Leap 15.6 system, installing python3-pygit2 package fails. """ % zypper in python3-pygit2 Reading installed packages... Resolving package dependencies... Problem: nothing provides 'libgit2.so.28()(64bit)' needed by the to be installed python3-pygit2-0.28.2-1.35.x86_64 Solution 1: do not install python3-pygit2-0.28.2-1.35.x86_64 Solution 2: break python3-pygit2-0.28.2-1.35.x86_64 by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/c/d/?] (c): """ python3-pygit2-0.28.2 is a very old package, maybe inherited from the older SLE? Meanwhile the latest build of python-pygit2 gives only python311-pygit2, hence the package for the default python3 is missing.
> python3-pygit2-0.28.2 is a very old package, maybe inherited from the older SLE? Yes, … well, it is from the current SLE, but it is the build for the Python 3.6. If you want (as I suspect) for the Python 3.11, then you need python311-pygit2.
No, no, I don't want for python 3.11. I need it for python 3.6. The problem is that you install the package due to the dependency although it's provided via the official channel. Reopened.
To be more exact: there are lots of other stuff that import pygit2 while it's invoked with /usr/bin/python3, including kernel's git-sort scripts. Leap 15.6 breaks those programs.
(In reply to Takashi Iwai from comment #3) > To be more exact: there are lots of other stuff that import pygit2 while > it's invoked with /usr/bin/python3, including kernel's git-sort scripts. > Leap 15.6 breaks those programs. I can see that there is a newer version (1.7.0) in Backports for SP5 [1]. Maybe we can resend that version (or something a bit newer) to Backports SP6 with a new name python3-pygit2. [1] https://build.opensuse.org/package/show/openSUSE:Backports:SLE-15-SP5/python-pygit2
I've just created a request to build the package python-pygit2 also for python 3.6 on Backports: https://build.opensuse.org/request/show/1159017
(In reply to Daniel Garcia from comment #5) > I've just created a request to build the package python-pygit2 also for > python 3.6 on Backports: > > https://build.opensuse.org/request/show/1159017 Ups, looks like it's not possible to send this to Backports, so if this should go to SP6, it'll require more bureaucracy.
(In reply to Daniel Garcia from comment #6) > (In reply to Daniel Garcia from comment #5) > > I've just created a request to build the package python-pygit2 also for > > python 3.6 on Backports: > > > > https://build.opensuse.org/request/show/1159017 > > Ups, looks like it's not possible to send this to Backports, so if this > should go to SP6, it'll require more bureaucracy. The problem here is about python3.6 build of python-pygit2 (from SP2) has not got rebuild with newer libgit2 in SP6:GA, and it was supposed to be obsoleted by python 3.11 build of python-pygit2, if I know the process right, we can take https://build.opensuse.org/request/show/1159017 (would override the review for now), or add a python3-pygit2 to SLE15-SP6. In case you need python 3.6 build of python-pygit2 to be available for SLE15-SP6, the later one can be a better option.
python3-pygit2-1.14.0 is now built in openSUSE:Backports:SLE-15-SP6