Bug#984493: twisted fails autopkg tests

2021-04-24 Thread Tobias Frost
Source: twisted
Followup-For: Bug #984493
Control: reopen -1
Control: found -1 20.3.0-5

The (upstream) fix is unfortunatly not enough,
one gets:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/trial/runner.py", line 531, in 
loadPackage
module = modinfo.load()
  File "/usr/lib/python3/dist-packages/twisted/python/modules.py", line 392, in 
load
return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python3/dist-packages/twisted/python/reflect.py", line 308, in 
namedAny
topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python3/dist-packages/twisted/python/reflect.py", line 247, in 
_importAndCheckStack
return __import__(importName)
  File "/usr/lib/python3/dist-packages/twisted/web/test/test_http.py", line 
2343, in 
class QueryArgumentsTests(unittest.TestCase):
  File "/usr/lib/python3/dist-packages/twisted/web/test/test_http.py", line 
2344, in QueryArgumentsTests
@skipIf(sys.version_info >= (3, 6), "newer py3.6 parse_qs treat ; 
differently")
builtins.NameError: name 'skipIf' is not defined

(See https://salsa.debian.org/tobi/twisted/-/jobs/1602641)

-- 
tobi



Bug#984493: twisted fails autopkg tests

2021-03-03 Thread Matthias Klose
Package: src:twisted
Version: 20.3.0-4
Severity: serious
Tags: sid bullseye

seen on all architectures, triggered with the python3-defaults upload.

https://ci.debian.net/data/autopkgtest/testing/amd64/t/twisted/10825319/log.gz

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/web/test/test_http.py", line
2344, in testParseqs
self.assertEqual(
  File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 434, in
assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python3.9/unittest/case.py", line 831, in assertEqual
assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.9/unittest/case.py", line 1130, in assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: {b'a': [b'b'], b'd': [b'c; =f']} != {b'a':
[b'b'], b'd': [b'c'], b' ': [b'f']}
- {b'a': [b'b'], b'd': [b'c; =f']}
?  

+ {b' ': [b'f'], b'a': [b'b'], b'd': [b'c']}
?  ++

/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
/usr/lib/python3/dist-packages/twisted/web/http.py:3153: RuntimeWarning: line
buffering (buffering=1) isn't supported in binary mode, the default buffer size
will be used
---
Ran 12628 tests in 183.788s

183.78762769699097 12628 12628 0 1 2436