[Python-modules-team] Bug#975537: cmdtest's autopkg tests fail with Python 3.9

Matthias Klose doko at debian.org
Mon Nov 23 10:29:20 GMT 2020


Package: src:cmdtest
Version: 0.32.14.gcdfe14e-1
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

https://ci.debian.net/data/autopkgtest/testing/amd64/c/cmdtest/8348930/log.gz

[...]
autopkgtest [09:46:12]: test yarn-tests: [-----------------------
FAIL: assuming: stderr diff:
--- /dev/null	2020-11-22 09:45:20.994210284 +0000
+++ yarn.tests/assuming.stderr-actual	2020-11-22 09:46:13.334289555 +0000
@@ -0,0 +1,18 @@
+Traceback (most recent call last):
+  File "/usr/lib/python3/dist-packages/cliapp/app.py", line 193, in _run
+    self.process_args(args)
+  File "/usr/bin/yarn", line 157, in process_args
+    scenarios, implementations = self.parse_scenarios(args)
+  File "/usr/bin/yarn", line 214, in parse_scenarios
+    blocks = mdparser.parse_file(filename)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 79, in parse_file
+    return self.parse_string(text)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 72, in
parse_string
+    markdown.markdown(text, output=f, extensions=[ext])
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 387, in markdown
+    return md.convert(text)
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 268, in convert
+    newRoot = treeprocessor.run(root)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 45, in run
+    for child in root.getchildren():
+AttributeError: 'xml.etree.ElementTree.Element' object has no attribute
'getchildren'

FAIL: assuming: got exit code 1, expected 0
FAIL: duplicate-scenario-names: stderr diff:
--- yarn.tests/duplicate-scenario-names.stderr	2020-11-22 09:46:12.922288930 +0000
+++ yarn.tests/duplicate-scenario-names.stderr-actual	2020-11-22
09:46:13.558289894 +0000
@@ -1,3 +1,18 @@
-ERROR: There are scenarios with duplicate names:
-  foo
-
+Traceback (most recent call last):
+  File "/usr/lib/python3/dist-packages/cliapp/app.py", line 193, in _run
+    self.process_args(args)
+  File "/usr/bin/yarn", line 157, in process_args
+    scenarios, implementations = self.parse_scenarios(args)
+  File "/usr/bin/yarn", line 214, in parse_scenarios
+    blocks = mdparser.parse_file(filename)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 79, in parse_file
+    return self.parse_string(text)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 72, in
parse_string
+    markdown.markdown(text, output=f, extensions=[ext])
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 387, in markdown
+    return md.convert(text)
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 268, in convert
+    newRoot = treeprocessor.run(root)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 45, in run
+    for child in root.getchildren():
+AttributeError: 'xml.etree.ElementTree.Element' object has no attribute
'getchildren'

FAIL: env: stderr diff:
--- /dev/null	2020-11-22 09:45:20.994210284 +0000
+++ yarn.tests/env.stderr-actual	2020-11-22 09:46:13.754290191 +0000
@@ -0,0 +1,18 @@
+Traceback (most recent call last):
+  File "/usr/lib/python3/dist-packages/cliapp/app.py", line 193, in _run
+    self.process_args(args)
+  File "/usr/bin/yarn", line 157, in process_args
+    scenarios, implementations = self.parse_scenarios(args)
+  File "/usr/bin/yarn", line 214, in parse_scenarios
+    blocks = mdparser.parse_file(filename)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 79, in parse_file
+    return self.parse_string(text)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 72, in
parse_string
+    markdown.markdown(text, output=f, extensions=[ext])
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 387, in markdown
+    return md.convert(text)
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 268, in convert
+    newRoot = treeprocessor.run(root)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 45, in run
+    for child in root.getchildren():
+AttributeError: 'xml.etree.ElementTree.Element' object has no attribute
'getchildren'



More information about the Python-modules-team mailing list