Your message dated Fri, 20 Dec 2019 18:22:26 -0800
with message-id <[email protected]>
and subject line Re: python-augeas: fdisk build-dependency needed (for tests)
has caused the Debian Bug report #872121,
regarding python-augeas: fdisk build-dependency needed (for tests)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
872121: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872121
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-augeas
Version: 0.5.0-1
Severity: important
User: [email protected]
Usertags: fdisk-build-dependency
Hello,
As recently announced on debian-devel-announce[1] packages who need
any of sfdisk, cfdisk or fdisk will need to add a dependency on the
new fdisk package.
Your package python-augeas showed up on codesearch.debian.net and a
very quick analysis suggested you might want to add a
build-dependency as your package only seems to use things from the
fdisk package in its test-suite.
Please use the backwards-compatible way of specifying the
build-dependency as suggested in the debian-devel-announce mail:
fdisk <!nocheck> | util-linux (<< 2.29.2-3~) <!nocheck>
If your more detailed analysis shows this should not be needed then
please just close this bug report stating the results of your
analysis (and if so sorry for bothering you).
Regards, Andreas Henriksson
[1]:
https://lists.debian.org/debian-devel-announce/2017/08/msg00005.html
--- End Message ---
--- Begin Message ---
Hello,
python-augeas tests use a set of configuration files to check if parsing
those configuration files work. These files are resemble ones from /etc
and seem to mention fdisk, cfdisk and sfdisk. The package does run any
tests that actually require any of these tools. I confirmed this by
looking at test_augueas.py and by running tests without fdisk, cfdisk
and sfdisk unavailable in the system. Here is the log for reference.
python3 test_augeas.py
test01aGetNone (__main__.TestAugeas)
test aug_get with non-existing path ... test_augeas.py:39:
DeprecationWarning: Please use assertTrue instead.
self.failUnless(a.get("/wrong/path") is None)
ok
test01bGetValue (__main__.TestAugeas)
test aug_get with existing path ... ok
test01cGetException (__main__.TestAugeas)
test aug_get with incorrect path ... ok
test02Match (__main__.TestAugeas)
test aug_match ... test_augeas.py:58: DeprecationWarning: Please use
assertTrue instead.
self.failUnless(matches)
test_augeas.py:61: DeprecationWarning: Please use assertTrue instead.
self.failUnless(a.get(attr) != None)
ok
test03PrintAll (__main__.TestAugeas)
print all tree elements ... test_augeas.py:72: DeprecationWarning:
Please use assertTrue instead.
self.failUnless(p != None and attr != None)
ok
test04Grub (__main__.TestAugeas)
test default setting of grub entry ... ok
test05Defvar (__main__.TestAugeas)
test defvar ... test_augeas.py:96: DeprecationWarning: Please use
assertTrue instead.
self.failUnless(matches)
test_augeas.py:99: DeprecationWarning: Please use assertTrue instead.
self.failUnless(a.get(attr) != None)
ok
test06Defnode (__main__.TestAugeas)
test defnode ... ok
test07Setm (__main__.TestAugeas)
test setm ... test_augeas.py:114: DeprecationWarning: Please use
assertTrue instead.
self.failUnless(matches)
ok
test08Span (__main__.TestAugeas)
test span ... test_augeas.py:136: DeprecationWarning: Please use
assertEqual instead.
self.assertEquals(os.path.basename(r[0]), d["f"])
test_augeas.py:137: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(r[1], d["ls"])
test_augeas.py:138: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(r[2], d["le"])
test_augeas.py:139: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(r[3], d["vs"])
test_augeas.py:140: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(r[4], d["ve"])
test_augeas.py:141: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(r[5], d["ss"])
test_augeas.py:142: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(r[6], d["se"])
ok
test09TextStore (__main__.TestAugeas) ... ok
test10TextRetrieve (__main__.TestAugeas) ... ok
test11Rename (__main__.TestAugeas) ... ok
test12Transform (__main__.TestAugeas) ... ok
test13AddTransform (__main__.TestAugeas) ... test_augeas.py:227:
DeprecationWarning: name is now deprecated in this function
r = a.add_transform("Foo", "/tmp/bar", "Faz", "/tmp/baz")
ok
test14aLabelOk (__main__.TestAugeas)
test aug_label with valid input ... ok
test14bLabelException (__main__.TestAugeas)
test aug_label with invalid input ... ok
test15Copy (__main__.TestAugeas) ... test_augeas.py:254:
DeprecationWarning: Please use assertTrue instead.
self.failUnless(matches)
test_augeas.py:259: DeprecationWarning: Please use assertTrue instead.
self.failUnless(matches)
ok
testClose (__main__.TestAugeas) ... ok
testSetNone (__main__.TestAugeas) ... ok
----------------------------------------------------------------------
Ran 20 tests in 14.243s
OK
--
Sunil
signature.asc
Description: OpenPGP digital signature
--- End Message ---