Hi Ondrej, On Wed, Jun 27, 2018 at 11:05:37PM +0200, Paul Gevers wrote: > With a recent upload of pytest the autopkgtest of diffoscope, doit, > pytest-httpbin and pytest-sugar started to fail in testing. > See: https://qa.debian.org/excuses.php?package=pytest and links therein. > > With a very quick look, it seems that pytest-httpbin and pytest-sugar > just need to adapt to the new behavior (deprecation of functionality). I > can't really judge diffoscope and doit without diving deeper (I am going > to bed now).
diffoscope is failing due to:
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line
176, in wrap_session
INTERNALERROR> config.hook.pytest_sessionstart(session=session)
INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/__init__.py", line
617, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers +
self._wrappers, kwargs)
INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/__init__.py", line
222, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/__init__.py", line
216, in <lambda>
INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'),
INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py", line
201, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py", line
76, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/callers.py", line
180, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py",
line 510, in pytest_sessionstart
INTERNALERROR> self._write_report_lines_from_hooks(lines)
INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py",
line 515, in _write_report_lines_from_hooks
INTERNALERROR> self.write_line(line)
INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py",
line 294, in write_line
INTERNALERROR> line = six.text_type(line, errors="replace")
INTERNALERROR> TypeError: decoding to str: need a bytes-like object, int found
Personally, I can hardly imagine how this would be a diffoscope issue,
so I ask the pytest maintainer to look into it.
Judging by the position of that output, it seem to come from the
conftest.py, pytest_report_header() function, alas I haven't tried
removing it to confirm.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
