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

2018-11-27 Thread Ole Streicher
On 27.11.18 09:35, Ondrej Novy wrote:
> út 27. 11. 2018 v 8:46 odesílatel Ole Streicher  > 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:

https://github.com/astropy/astropy/pull/8173#issuecomment-441959185

> 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: 

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.

Best

Ole



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

2018-11-27 Thread Ondrej Novy
Hi,

út 27. 11. 2018 v 8:46 odesílatel Ole Streicher  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.


> 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?

-- 
Best regards
 Ondřej Nový

Email: n...@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B


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

2018-11-27 Thread Ole Streicher
Hi Ondrej,

On 26.11.18 21:29, Ondrej Novy wrote:
> my plan is:
> 
>   * keep 3.x for Buster
>   * upgrade to >= 4.x just after Buster release
> 
> Because we are going to drop Python after Buster release, I think it's
> perfectly fine that Astropy (Py2 version) will not support Pytest 4.x.

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

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.

However, it seems that I need to start with the removal of the Python 2
astropy ecosystem, which may be in any case not the worst decision.
Personally, I like to put pressure to move towards Python 3.

Cheers

Ole



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

2018-11-26 Thread Ondrej Novy
Hi,

my plan is:

   - keep 3.x for Buster
   - upgrade to >= 4.x just after Buster release

Because we are going to drop Python after Buster release, I think it's
perfectly fine that Astropy (Py2 version) will not support Pytest 4.x.

-- 
Best regards
 Ondřej Nový

Email: n...@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B