Bug#977065: html5lib FTBFS with pytest 6

2020-12-10 Thread Christian Kastner
On 2020-12-10, Sandro Tosi wrote:
> arent you supposed to announce MBF beforehand?

That is correct. I hadn't thought of that, sorry.

It seemed like an obvious / not-discussion-needing thing to go for,
seeing as we are two major versions behind.

Would you like me to send a follow-up announcement? I wouldn't have an
issue with that; I just ask because it seems that post-fact announcement
seems to be at odds with the purpose of MBF mails.

> why the priority is important? are you targeting pytest 6 for bullseye?

If possible, yes, considering that the alternative is shipping 4.6.11
for another two years.

However, I'm just contributing to this package; the final decision is up
to the maintainer Ondřej.

In any case, I've identified and communicated the root cause for the
FTBFS for 90% of the packages. Most are trivial, and I think it's easily
doable in time for bullseye.

Best,
Christian



Bug#977065: html5lib FTBFS with pytest 6

2020-12-10 Thread Sandro Tosi
> Source: html5lib
> Version: 1.1-2
> Severity: important
> User: pyt...@packages.debian.org
> Usertags: pytest-v6
>
> Hi,
>
> html5lib FTBFS with pytest 6 in experimental because it uses a
> deprecated feature that will be removed soon, and that, by default,
> considered an error in pytest 6.

arent you supposed to announce MBF beforehand?

why the priority is important? are you targeting pytest 6 for bullseye?

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi



Bug#977065: html5lib FTBFS with pytest 6

2020-12-10 Thread Christian Kastner
Source: html5lib
Version: 1.1-2
Severity: important
User: pyt...@packages.debian.org
Usertags: pytest-v6

Hi,

html5lib FTBFS with pytest 6 in experimental because it uses a
deprecated feature that will be removed soon, and that, by default,
considered an error in pytest 6.

The error log below has more details.

> I: pybuild base:232: cd 
> /<>/.pybuild/cpython3_3.9_html5lib/build; python3.9 -m pytest 
> /<>
> = test session starts 
> ==
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0
> rootdir: /<>, configfile: pytest.ini
> plugins: expect-1.1.0
> collected 0 items / 1 error
> 
>  ERRORS 
> 
>  ERROR collecting test session 
> _
> /usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
> return self._hookexec(self, self.get_hookimpls(), kwargs)
> /usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
> return self._inner_hookexec(hook, methods, kwargs)
> /usr/lib/python3/dist-packages/pluggy/manager.py:83: in 
> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
> ../../../html5lib/tests/conftest.py:105: in pytest_collect_file
> return TokenizerFile(path, parent)
> /usr/lib/python3/dist-packages/_pytest/nodes.py:95: in __call__
> warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), 
> stacklevel=2)
> E   pytest.PytestDeprecationWarning: Direct construction of TokenizerFile has 
> been deprecated, please use TokenizerFile.from_parent.
> E   See 
> https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent
>  for more details.
> === short test summary info 
> 
> ERROR ../../.. - pytest.PytestDeprecationWarning: Direct construction of 
> Toke...
>  Interrupted: 1 error during collection 
> 
> === 1 error in 0.24s 
> ===
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=2: cd 
> /<>/.pybuild/cpython3_3.9_html5lib/build; python3.9 -m pytest 
> {dir}
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit 
> code 13
> make: *** [debian/rules:8: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2