[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Python-modules-team] Bug#914592: Upcoming pytest-4 problems

On 27.11.18 09:35, Ondrej Novy wrote:
> út 27. 11. 2018 v 8:46 odesílatel Ole Streicher <olebole@debian.org
> <mailto:olebole@debian.org>> napsal:
>     Thanks, however it turns out that this will unfortunately not work for
>     me: from astropys POV, pytest seems to be broken in versions 3.7 - 3.10;
>     see
>     https://github.com/astropy/astropy/issues/8177
> according to linked issue, that bug is fixed in 3.10.1, which is in
> Debian unstable now.

Thanks for updating, but I still get failures. And I asked pytest
upstream about possible fixes of the 3.X branch, which they are not
going to do:


>     I also observed diverse failures on other (astropy dependent) packages
>     with 3.10. Which basically means that I need to switch off the tests,
>     unless pytests upstream provides a bugfixed 3.X version.
> maybe just disable some of that tests? Not whole testsuite?

The current failure in python-astropy is

E   UsageError: Plugin specs must be a ','-separated string or a
list/tuple of strings for plugin names. Given: <module
'astropy.tests.pytest_plugins' from

which blocks the whole suite. Other packages have errors that really
look strange (data files are missing, submodules not found etc). Sure,
that all could be workarounded somehow, but in a few weeks the next
update of a dependency may make trouble again.

We will publish Debian Buster not earlier than summer/fall next year,
and this is just ~6-9 months before Python 2 EOL. I don't want to put
too many efforts in keeping this alive.



Reply to: