New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libgit2: 0.27.8 -> 0.28.4 #72544
libgit2: 0.27.8 -> 0.28.4 #72544
Conversation
@GrahamcOfBorg build libgit2-glib |
a014977
to
7cc3eb1
Compare
pygit2 0.28.0 fails in Traceback (most recent call last):
File "nix_run_setup", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 149, in <module>
ext_modules=ext_modules,
File "/nix/store/35q07v2ici22k9sgrzbq3js64zq4zal1-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/nix/store/35q07v2ici22k9sgrzbq3js64zq4zal1-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/command/test.py", line 237, in run
self.run_tests()
File "/nix/store/35q07v2ici22k9sgrzbq3js64zq4zal1-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/command/test.py", line 259, in run_tests
exit=False,
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/main.py", line 100, in __init__
self.parseArgs(argv)
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/main.py", line 124, in parseArgs
self._do_discovery(argv[2:])
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/main.py", line 244, in _do_discovery
self.createTests(from_discovery=True, Loader=Loader)
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/main.py", line 154, in createTests
self.test = loader.discover(self.start, self.pattern, self.top)
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/loader.py", line 349, in discover
tests = list(self._find_tests(start_dir, pattern))
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/loader.py", line 406, in _find_tests
full_path, pattern, namespace)
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/loader.py", line 483, in _find_test_path
tests = self.loadTestsFromModule(package, pattern=pattern)
File "/nix/store/35q07v2ici22k9sgrzbq3js64zq4zal1-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/command/test.py", line 55, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/build/pygit2-1.0.3/test/test_revwalk.py", line 28, in <module>
from pygit2 import GIT_SORT_NONE, GIT_SORT_TIME, GIT_SORT_REVERSE
File "/build/pygit2-1.0.3/pygit2/__init__.py", line 268, in <module>
settings = Settings()
File "/build/pygit2-1.0.3/pygit2/settings.py", line 63, in __init__
self._initialize_tls_certificate_locations()
File "/build/pygit2-1.0.3/pygit2/settings.py", line 71, in _initialize_tls_certificate_locations
self._default_tls_verify_paths.capath,
File "/build/pygit2-1.0.3/pygit2/settings.py", line 164, in set_ssl_cert_locations
option(GIT_OPT_SET_SSL_CERT_LOCATIONS, ssl_cert_file, ssl_cert_dir)
_pygit2.GitError: OpenSSL error: failed to load certificates: error:00000000:lib(0):func(0):reason(0) I guess the issue was introduced in libgit2/pygit2@ca61026#diff-5ac6455c49d523d8a4c642b918b677c9 Running Not sure if something similar is not require for consumers but at least on NixOS, |
7cc3eb1
to
8d67183
Compare
I was getting libgit2/pygit2#868 because Now I get the following and I am not sure how to fix it.
Disabling tests for now. |
8d67183
to
0f62cce
Compare
Supported since 0.5 at least
Removes Python 2 support. https://github.com/libgit2/pygit2/blob/v1.0.3/CHANGELOG.rst
0f62cce
to
5308a86
Compare
I successfully built:
I also ran |
Pushed the gitfs change to master. |
I guess it's expected, but for posterity I also found that I need to add |
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
Compare changes on GitHub
Checks done (click to expand)
built on NixOS
The tests defined in
passthru.tests
, if any, passed0 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
Rebuild report (if merged into master) (click to expand)
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
Instructions to test this update (click to expand)
Either download from Cachix:
(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
After you've downloaded or built it, look at the files and if there are any, run the binaries: