File tree Expand file tree Collapse file tree 7 files changed +15
-9
lines changed Expand file tree Collapse file tree 7 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- libgit2 : ['master ']
14
+ libgit2 : ['maint/v1.0 ']
15
15
py :
16
16
- ver : ' 3.6'
17
17
release : ' 3.6.8' # last Python.org binary release
Original file line number Diff line number Diff line change 9
9
10
10
cd ~
11
11
12
- git clone --depth=1 -b " ${LIBGIT2_VERSION} " https://github.com/libgit2/libgit2.git
12
+ git clone --depth=1 -b " maint/v ${LIBGIT2_VERSION} " https://github.com/libgit2/libgit2.git
13
13
cd libgit2/
14
14
15
15
mkdir build && cd build
Original file line number Diff line number Diff line change 13
13
global :
14
14
LIBGIT2 : ~/libgit2/_install/
15
15
LD_LIBRARY_PATH : ${LIBGIT2}/lib:${LD_LIBRARY_PATH}
16
- LIBGIT2_VERSION : " master "
16
+ LIBGIT2_VERSION : " 1.0 "
17
17
18
18
19
19
jobs :
Original file line number Diff line number Diff line change 4
4
- Drop support for Python 3.5
5
5
`#991 <https://github.com/libgit2/pygit2/issues/991 >`_
6
6
7
- - New MacOS wheels
8
- `#988 <https://github.com/libgit2/pygit2/pull/988 >`_
7
+ - Upgrade to libgit2 1.0
8
+ `#982 <https://github.com/libgit2/pygit2/pull/982 >`_
9
+
10
+ - New support for custom reference database backends
11
+ `#982 <https://github.com/libgit2/pygit2/pull/982 >`_
9
12
10
13
- New support for path objects
11
14
`#990 <https://github.com/libgit2/pygit2/pull/990 >`_
14
17
- New ``index `` optional parameter in ``Repository.checkout_index ``
15
18
`#987 <https://github.com/libgit2/pygit2/pull/987 >`_
16
19
20
+ - New MacOS wheels
21
+ `#988 <https://github.com/libgit2/pygit2/pull/988 >`_
22
+
17
23
- Fix warning with ``pip install pygit2 ``
18
24
`#986 <https://github.com/libgit2/pygit2/issues/986 >`_
19
25
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ build_script:
32
32
# Clone, build and install libgit2
33
33
- cmd : |
34
34
set LIBGIT2=%APPVEYOR_BUILD_FOLDER%\venv
35
- git clone --depth=1 -b master https://github.com/libgit2/libgit2.git libgit2
35
+ git clone --depth=1 -b maint/v1.0 https://github.com/libgit2/libgit2.git libgit2
36
36
cd libgit2
37
37
cmake . -DBUILD_CLAR=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="%LIBGIT2%" -G "%GENERATOR%"
38
38
cmake --build . --target install
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ of Python and the required libgit2 version.
71
71
+-----------+----------------+----------------+
72
72
| pygit2 | Python | libgit2 |
73
73
+-----------+----------------+----------------+
74
- | 1.2.x | 3.6 - 3.8 | 0.99.x, 1.0.x |
74
+ | 1.2.x | 3.6 - 3.8 | 1.0.x |
75
75
+-----------+----------------+----------------+
76
76
| 1.1.x | 3.5 - 3.8 | 0.99.x, 1.0.x |
77
77
+-----------+----------------+----------------+
Original file line number Diff line number Diff line change 32
32
#include <Python.h>
33
33
#include <git2.h>
34
34
35
- #if !(LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR == 99 || LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 0 )
36
- #error You need a compatible libgit2 version (0.99.x or 1.0.x)
35
+ #if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 0 )
36
+ #error You need a compatible libgit2 version (1.0.x)
37
37
#endif
38
38
39
39
/*
You can’t perform that action at this time.
0 commit comments