python313Packages.gtp: migrate to gitSetupHook

This commit is contained in:
Fabian Affolter
2026-01-11 23:22:55 +01:00
parent 01c728be37
commit 635bc5dcf8
@@ -6,7 +6,7 @@
fetchFromGitHub,
freezegun,
funcy,
gitMinimal,
gitSetupHook,
pydantic,
pydantic-settings,
pytest-cov-stub,
@@ -56,7 +56,7 @@ buildPythonPackage (finalAttrs: {
nativeCheckInputs = [
freezegun
gitMinimal
gitSetupHook
pytest-cov-stub
pytest-mock
pytest-test-utils
@@ -65,18 +65,16 @@ buildPythonPackage (finalAttrs: {
];
preCheck = ''
git config --global user.email "nobody@example.com"
git config --global user.name "Nobody"
# _pygit2.GitError: OpenSSL error: failed to load certificates: error:00000000:lib(0)::reason(0)
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
'';
disabledTests = [
# Tests want to with a remote repo
# Tests want to do it with a remote repo
"remote_repo"
"remote_git_repo"
"test_action_doesnt_push_even_if_repo_has_remotes_set"
"test_api"
# ValueError: stderr not separately captured
"test_register"
"test_assign"