libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.58k stars 382 forks source link

RHEL 8 #1149

Closed DaAwesomeP closed 2 years ago

DaAwesomeP commented 2 years ago

Hello,

Is there a recommendation for installing pygit2 with libssh support on RHEL 8? The python3-pygit2 package included with RHEL 8 does not include libssh. The libgit2-devel package that is used when pip tries to build pygit2 is too old. The latest I can install with pip is pygit2==1.0.3.

DaAwesomeP commented 2 years ago

Solution to get a newer version is to first update pip (to the last version supporting Python 3.6) to allow for wheels:

python3 -m pip install --upgrade pip==21.3.1 wheel==0.37.1
python3 -m pip install pygit2==1.6.1