Skip to content

Commit 31ea782

Browse files
committed
Update to libgit2 1.8.1
1 parent b248587 commit 31ea782

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
if: runner.os == 'Linux'
3535
run: |
3636
sudo apt install tinyproxy
37-
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.0 /bin/sh build.sh test
37+
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.1 /bin/sh build.sh test
3838
3939
- name: macOS
4040
if: runner.os == 'macOS'
4141
run: |
4242
export OPENSSL_PREFIX=`brew --prefix [email protected]`
43-
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.0 /bin/sh build.sh test
43+
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.1 /bin/sh build.sh test
4444
4545
aarch64:
4646
runs-on: ubuntu-22.04
@@ -57,7 +57,7 @@ jobs:
5757
apt-get update -q -y
5858
apt-get install -q -y cmake libssl-dev python3-dev python3-venv wget
5959
run: |
60-
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.0 /bin/sh build.sh test
60+
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.1 /bin/sh build.sh test
6161
6262
s390x:
6363
runs-on: ubuntu-22.04
@@ -75,5 +75,5 @@ jobs:
7575
apt-get update -q -y
7676
apt-get install -q -y cmake libssl-dev python3-dev python3-venv wget
7777
run: |
78-
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.0 /bin/sh build.sh test
78+
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.1 /bin/sh build.sh test
7979
continue-on-error: true # Tests are expected to fail, see issue #812

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: build html
22

33
build:
4-
OPENSSL_VERSION=3.1.5 LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.0 sh build.sh
4+
OPENSSL_VERSION=3.1.5 LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.1 sh build.sh
55

66
html: build
77
make -C docs html

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ build_script:
3535
# Clone, build and install libgit2
3636
- cmd: |
3737
set LIBGIT2=%APPVEYOR_BUILD_FOLDER%\venv
38-
git clone --depth=1 -b v1.8.0 https://github.com/libgit2/libgit2.git libgit2
38+
git clone --depth=1 -b v1.8.1 https://github.com/libgit2/libgit2.git libgit2
3939
cd libgit2
4040
cmake . -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="%LIBGIT2%" -G "%GENERATOR%"
4141
cmake --build . --target install

build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
#
2323
# sh build.sh
2424
#
25-
# Build libgit2 1.8.0 (will use libssh2 if available), then build pygit2
25+
# Build libgit2 1.8.1 (will use libssh2 if available), then build pygit2
2626
# inplace:
2727
#
28-
# LIBGIT2_VERSION=1.8.0 sh build.sh
28+
# LIBGIT2_VERSION=1.8.1 sh build.sh
2929
#
30-
# Build libssh2 1.11.0 and libgit2 1.8.0, then build pygit2 inplace:
30+
# Build libssh2 1.11.0 and libgit2 1.8.1, then build pygit2 inplace:
3131
#
32-
# LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.0 sh build.sh
32+
# LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.8.1 sh build.sh
3333
#
3434
# Build inplace and run the tests:
3535
#

docs/install.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ directory, do:
143143

144144
.. code-block:: sh
145145
146-
$ wget https://github.com/libgit2/libgit2/archive/refs/tags/v1.8.0.tar.gz -O libgit2-1.8.0.tar.gz
147-
$ tar xzf libgit2-1.8.0.tar.gz
148-
$ cd libgit2-1.8.0/
146+
$ wget https://github.com/libgit2/libgit2/archive/refs/tags/v1.8.1.tar.gz -O libgit2-1.8.1.tar.gz
147+
$ tar xzf libgit2-1.8.1.tar.gz
148+
$ cd libgit2-1.8.1/
149149
$ cmake .
150150
$ make
151151
$ sudo make install
@@ -227,9 +227,9 @@ Install libgit2 (see we define the installation prefix):
227227

228228
.. code-block:: sh
229229
230-
$ wget https://github.com/libgit2/libgit2/archive/refs/tags/v1.8.0.tar.gz -O libgit2-1.8.0.tar.gz
231-
$ tar xzf libgit2-1.8.0.tar.gz
232-
$ cd libgit2-1.8.0/
230+
$ wget https://github.com/libgit2/libgit2/archive/refs/tags/v1.8.1.tar.gz -O libgit2-1.8.1.tar.gz
231+
$ tar xzf libgit2-1.8.1.tar.gz
232+
$ cd libgit2-1.8.1/
233233
$ cmake . -DCMAKE_INSTALL_PREFIX=$LIBGIT2
234234
$ cmake --build . --target install
235235
@@ -286,7 +286,7 @@ variable. The following recipe shows you how to do it from a bash shell:
286286
.. code-block:: sh
287287
288288
$ export LIBGIT2=C:/Dev/libgit2
289-
$ git clone --depth=1 -b v1.8.0 https://github.com/libgit2/libgit2.git
289+
$ git clone --depth=1 -b v1.8.1 https://github.com/libgit2/libgit2.git
290290
$ cd libgit2
291291
$ cmake . -DCMAKE_INSTALL_PREFIX=$LIBGIT2 -G "Visual Studio 14 Win64"
292292
$ cmake --build . --config release --target install

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ skip = "pp3* *musllinux_aarch64 *musllinux_ppc64le"
77
archs = ["auto"]
88
build-frontend = "default"
99
dependency-versions = "pinned"
10-
environment = {LIBGIT2_VERSION="1.8.0", LIBSSH2_VERSION="1.11.0", OPENSSL_VERSION="3.1.5", LIBGIT2="/project/ci"}
10+
environment = {LIBGIT2_VERSION="1.8.1", LIBSSH2_VERSION="1.11.0", OPENSSL_VERSION="3.1.5", LIBGIT2="/project/ci"}
1111

1212
before-all = "sh build.sh"
1313

@@ -21,7 +21,7 @@ repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {de
2121

2222
[tool.cibuildwheel.macos]
2323
archs = ["universal2"]
24-
environment = {LIBGIT2_VERSION="1.8.0", LIBSSH2_VERSION="1.11.0", OPENSSL_VERSION="3.1.5", LIBGIT2="/Users/runner/work/pygit2/pygit2/ci"}
24+
environment = {LIBGIT2_VERSION="1.8.1", LIBSSH2_VERSION="1.11.0", OPENSSL_VERSION="3.1.5", LIBGIT2="/Users/runner/work/pygit2/pygit2/ci"}
2525
repair-wheel-command = "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"
2626

2727
[tool.ruff]

0 commit comments

Comments
 (0)