Bug#896070: gitlint FTBFS: FAIL: test_target

2019-03-13 Thread Nicholas Brown
This has been fixed upstream in the newly released 0.11.0
https://github.com/jorisroovers/gitlint/releases
https://github.com/jorisroovers/gitlint/archive/v0.11.0.tar.gz
https://github.com/jorisroovers/gitlint/issues/78


Bug#896070: gitlint FTBFS: FAIL: test_target

2019-01-25 Thread Nicholas Brown
This issues is raised upstream as
https://github.com/jorisroovers/gitlint/issues/78
and looks like it might be fixed in more recent versions.
It would good to update gitlint to 0.10.0 from the current 0.9.0 and see if
this fixes the issue, and then migrate from Debian Unstable to Testing.


Bug#896070: gitlint FTBFS: FAIL: test_target

2018-04-19 Thread Adrian Bunk
Source: gitlint
Version: 0.9.0-2
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/gitlint.html

...
==
FAIL: test_target (test_cli.CLITests)
Test for the --target option
--
Traceback (most recent call last):
  File "/usr/lib/python3.6/unittest/mock.py", line 1179, in patched
return func(*args, **keywargs)
  File "/build/1st/gitlint-0.9.0/gitlint/tests/test_cli.py", line 291, in 
test_target
self.assertEqual(result.output, "%s is not a git repository.\n" % 
expected_path)
AssertionError: "An error occurred while executing '/usr/[98 chars]t'\n" != 
'/tmp is not a git repository.\n'
- An error occurred while executing '/usr/bin/git log -1 --pretty=%H': b'fatal: 
not a git repository (or any of the parent directories): .git'
+ /tmp is not a git repository.


--
Ran 110 tests in 0.610s

FAILED (failures=1)
E: pybuild pybuild:336: test: plugin custom failed with: exit code=1: python3.6 
-m coverage run 
--omit='/usr/*,/build/1st/gitlint-0.9.0/gitlint/tests/*,/build/1st/gitlint-0.9.0/gitlint/qa/*'
 -m unittest discover -v -s /build/1st/gitlint-0.9.0/gitlint/tests
dh_auto_test: pybuild --test -i python{version} -p 3.6 returned exit code 13
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25