Source: python-pygit2 Version: 1.18.1-1 Severity: serious Tags: ftbfs X-Debbugs-Cc: Timo Röhling <[email protected]>
https://buildd.debian.org/status/logs.php?pkg=python-pygit2&arch=s390x ... =================================== FAILURES =================================== _______________________________ test_diff_blobs ________________________________ emptyrepo = pygit2.Repository('/tmp/pytest-of-sbuild/pytest-0/test_diff_blobs0/emptyrepo/.git/') def test_diff_blobs(emptyrepo): repo = emptyrepo blob1 = repo.create_blob(TEXT_BLOB1.encode()) blob2 = repo.create_blob(TEXT_BLOB2.encode()) diff_default = repo.diff(blob1, blob2) assert diff_default.text == PATCH_BLOBS_DEFAULT diff_no_leeway = repo.diff(blob1, blob2, context_lines=0) > assert diff_no_leeway.text == PATCH_BLOBS_NO_LEEWAY E AssertionError: assert 'diff --git a...of the file\n' == 'diff --git a...ob 2 line 2\n' E E diff --git a/file b/file E index 0b5ac93..ddfdbcc 100644 E --- a/file E +++ b/file E + @@ -1,7 +1,7 @@ E - @@ -2 +2 @@ Common header of the file... E E ...Full output truncated (12 lines hidden), use '-vv' to show test/test_diff.py:456: AssertionError =============================== warnings summary =============================== test/test_repository.py: 9 warnings test/test_repository_bare.py: 1 warning /build/reproducible-path/python-pygit2-1.18.1/.pybuild/cpython3_3.13_pygit2/build/pygit2/repository.py:725: DeprecationWarning: Getting an str from Repository.merge_file_from_index is deprecated. The method will later return an instance of MergeFileResult by default, instead. Check parameter use_deprecated. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ... ============ 1 failed, 494 passed, 33 skipped, 10 warnings in 4.29s ============ E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-pygit2-1.18.1/.pybuild/cpython3_3.13_pygit2/build; python3.13 -m pytest test dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:7: binary-arch] Error 25

