Package: src:dulwich Version: 0.20.8-1 Severity: important Tags: sid bullseye patch
run autopkg tests for all supported Python3 versions, and unset web proxies; some of the tests fail when these are set.
diff -Nru dulwich-0.20.8/debian/changelog dulwich-0.20.8/debian/changelog --- dulwich-0.20.8/debian/changelog 2020-11-02 01:11:37.000000000 +0100 +++ dulwich-0.20.8/debian/changelog 2020-12-05 15:33:15.000000000 +0100 @@ -1,3 +1,13 @@ +dulwich (0.20.8-1.1) UNRELEASED; urgency=medium + + [ Matthias Klose ] + * Run the autopkg tests for all supported Python3 versions. + + [ Balint Reczey ] + * debian/tests/testsuite3: Unset http(s)_proxy because they break the tests. + + -- Matthias Klose <d...@debian.org> Sat, 05 Dec 2020 15:33:15 +0100 + dulwich (0.20.8-1) unstable; urgency=medium [ Ondřej Nový ] diff -Nru dulwich-0.20.8/debian/tests/control dulwich-0.20.8/debian/tests/control --- dulwich-0.20.8/debian/tests/control 2020-11-02 01:11:37.000000000 +0100 +++ dulwich-0.20.8/debian/tests/control 2020-12-05 15:33:15.000000000 +0100 @@ -1,3 +1,3 @@ Tests: testsuite3 -Depends: python3-dulwich, git +Depends: python3-all, python3-dulwich, git Restrictions: allow-stderr diff -Nru dulwich-0.20.8/debian/tests/testsuite3 dulwich-0.20.8/debian/tests/testsuite3 --- dulwich-0.20.8/debian/tests/testsuite3 2020-11-02 01:11:37.000000000 +0100 +++ dulwich-0.20.8/debian/tests/testsuite3 2020-12-05 15:33:15.000000000 +0100 @@ -1,3 +1,14 @@ #!/bin/sh set -e -python3 -m unittest dulwich.tests.test_suite + +unset http_proxy +unset https_proxy + +rv=0 +for py in $(py3versions -s); do + echo "========= Running tests with $py ==========" + if ! $py3 -m unittest dulwich.tests.test_suite; then + rv=1 + fi +done +exit $rv