opened
r-ryantm
username_0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libgit2/versions.



meta.description for libgit2 is: '"The Git linkable library"'.


meta.homepage for libgit2 is: '"https://libgit2.github.com/"

[Release on GitHub](https://github.com/libgit2/libgit2/releases/tag/v0.28.3)


[Compare changes on GitHub](https://github.com/libgit2/libgit2/compare/v0.27.8...v0.28.3)

<details>
<summary>
Checks done (click to expand)
</summary>

- built on NixOS
- The tests defined in `passthru.tests`, if any, passed

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 0.28.3 with grep in /nix/store/gjg94izqhfk5nw1czkbzw519hmhipzli-libgit2-0.28.3
- directory tree listing: https://gist.github.com/917f267ab2c6a7d7af708553e02b3473

- du listing: https://gist.github.com/3eddfb803d948b9d5c091c7386251c6d


</details>
<details>
<summary>
Rebuild report (if merged into master) (click to expand)
</summary>

4841 total rebuild path(s)

1592 package rebuild(s)

1564 x86_64-linux rebuild(s)
1398 i686-linux rebuild(s)
485 x86_64-darwin rebuild(s)
1394 aarch64-linux rebuild(s)


First fifty rebuilds by attrpath
AgdaSheaves
AgdaStdlib
Sylk
TotalParserCombinators
abiword
adapta-gtk-theme
adoptopenjdk-icedtea-web
aesop
afew
agdaBase
agdaIowaStdlib
agdaPrelude
ahoviewer
akregator
alacritty
alarm-clock-applet
almanah
alot
amarok
amarok-kf5
amber
amber-theme
amp
appeditor
appimage-run
apvlv
arandr
aravis
arc-theme
areca
ario
arx-libertatis
asc-key-to-qr-code-gif
asciidoc-full
asciidoc-full-with-plugins
astroid
asymptote
atom
atom-beta
auctex
audacious
audio-recorder
autokey
autotrace
avocode
awesome
awesome-4-0
awf
azureus
balsa

</details>

<details>
<summary>
Instructions to test this update (click to expand)
</summary>

Either download from Cachix:
```
nix-store -r /nix/store/gjg94izqhfk5nw1czkbzw519hmhipzli-libgit2-0.28.3 \
  --option binary-caches 'https://cache.nixos.org/ https://username_0.cachix.org/' \
  --option trusted-public-keys '
  username_0.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '
```
(username_0's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:
```
nix-build -A libgit2 https://github.com/username_0/nixpkgs/archive/a014977f9fec49b479f3eb88f9244b0da09d02c1.tar.gz
```

After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/gjg94izqhfk5nw1czkbzw519hmhipzli-libgit2-0.28.3
ls -la /nix/store/gjg94izqhfk5nw1czkbzw519hmhipzli-libgit2-0.28.3/bin
```


</details>
<br/>
libgit2: 0.27.8 -> 0.28.3
issue
created
jtojnar
username_1
@GrahamcOfBorg build libgit2-glib
comment
created
jtojnar
username_1
I was getting https://github.com/libgit2/pygit2/issues/868 because `setuptools-check-hook` was being run before `pytest-check-hook`. I fixed it using `dontUseSetuptoolsCheck`.

Now I get the following and I am not sure how to fix it.

```
============================= test session starts ==============================
platform linux -- Python 3.7.6, pytest-5.3.2, py-1.8.1, pluggy-0.13.1 -- /nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/bin/python3.7
cachedir: .pytest_cache
rootdir: /build/pygit2-1.0.3, inifile: pytest.ini, testpaths: test/
collected 0 items / 55 errors                                                  

==================================== ERRORS ====================================
 ERROR collecting test/test_archive.py 
test/test_archive.py:29: in <module>
    from pygit2 import Index, Oid, Tree, Object
pygit2/__init__.py:33: in <module>
    from .blame import Blame, BlameHunk
pygit2/blame.py:27: in <module>
    from .ffi import ffi, C
pygit2/ffi.py:27: in <module>
    from ._libgit2 import ffi, lib as C
E   ModuleNotFoundError: No module named 'pygit2._libgit2'
 ERROR collecting test/test_archive.py 
ImportError while importing test module '/build/pygit2-1.0.3/test/test_archive.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test/test_archive.py:29: in <module>
    from pygit2 import Index, Oid, Tree, Object
pygit2/__init__.py:33: in <module>
    from .blame import Blame, BlameHunk
pygit2/blame.py:27: in <module>
    from .ffi import ffi, C
pygit2/ffi.py:27: in <module>
    from ._libgit2 import ffi, lib as C
E   ModuleNotFoundError: No module named 'pygit2._libgit2'
```

Disabling tests for now.
comment
created
jtojnar
username_1
I successfully built:
- [x] `libgit2`
- [x] `libgit2-glib`
- [x] `python3.pkgs.pygit2`
- [x] `gitfs`
- [:hourglass_flowing_sand:] `gitg`

I also ran `gitfs` but did not have patience to set up FUSE to make it work. @robbinch could you please verify it still works?
comment
created
FRidh
username_2
Pushed the 2 Python packages changes to master.
comment
created
abathur
username_3
I guess it's expected, but for posterity I also found that I need to add `SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";` to an expression for a package that uses pygit2 in order to get the tests running on ubuntu in CI. They ran fine on macOS without it (presumably the macOS sandbox allows this to work?)
comment