Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14168 > unrolled thread

archive rebuild for pytest from experimental

Started bySandro Tosi <morph@debian.org>
First post2022-06-09 03:30 +0200
Last post2022-07-04 14:00 +0200
Articles 11 — 6 participants

Back to article view | Back to linux.debian.maint.python


Contents

  archive rebuild for pytest from experimental Sandro Tosi <morph@debian.org> - 2022-06-09 03:30 +0200
    Re: archive rebuild for pytest from experimental Lucas Nussbaum <lucas@debian.org> - 2022-06-10 21:20 +0200
      Re: archive rebuild for pytest from experimental Louis-Philippe Véronneau <pollo@debian.org> - 2022-06-15 21:30 +0200
        Re: archive rebuild for pytest from experimental Carsten Schoenert <c.schoenert@t-online.de> - 2022-06-15 21:40 +0200
          Re: archive rebuild for pytest from experimental Julian Gilbey <julian@d-and-j.net> - 2022-06-16 10:10 +0200
            Re: archive rebuild for pytest from experimental Carsten Schoenert <c.schoenert@t-online.de> - 2022-07-08 21:40 +0200
              Re: archive rebuild for pytest from experimental Julian Gilbey <julian@d-and-j.net> - 2022-07-11 19:40 +0200
                Re: archive rebuild for pytest from experimental julien.puydt@gmail.com - 2022-07-14 00:10 +0200
        Re: archive rebuild for pytest from experimental Lucas Nussbaum <lucas@debian.org> - 2022-06-15 21:40 +0200
          Re: archive rebuild for pytest from experimental Louis-Philippe Véronneau <pollo@debian.org> - 2022-06-25 01:00 +0200
            Re: archive rebuild for pytest from experimental Julian Gilbey <julian@d-and-j.net> - 2022-07-04 14:00 +0200

#14168 — archive rebuild for pytest from experimental

FromSandro Tosi <morph@debian.org>
Date2022-06-09 03:30 +0200
Subjectarchive rebuild for pytest from experimental
Message-ID<Ewf9L-3yvO-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello Lucas,
the Debian Python Team is in the process of updating pytest to a new
upstream release. Given the substantial number of packages depending
on it, we'd like to leverage the mass rebuild infrastructure to build
the reverse dependencies against pytest/7.1.2-1 in experimental.

I've opened a MR for adding the new mode at
https://salsa.debian.org/lucas/collab-qa-tools/-/merge_requests/22 and
you can find attached the package list.

Thanks a lot in advance!

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

[toc] | [next] | [standalone]


#14180

FromLucas Nussbaum <lucas@debian.org>
Date2022-06-10 21:20 +0200
Message-ID<EwSkN-3WZ7-5@gated-at.bofh.it>
In reply to#14168
Hi Sandro,

On 08/06/22 at 21:21 -0400, Sandro Tosi wrote:
> Hello Lucas,
> the Debian Python Team is in the process of updating pytest to a new
> upstream release. Given the substantial number of packages depending
> on it, we'd like to leverage the mass rebuild infrastructure to build
> the reverse dependencies against pytest/7.1.2-1 in experimental.
> 
> I've opened a MR for adding the new mode at
> https://salsa.debian.org/lucas/collab-qa-tools/-/merge_requests/22 and
> you can find attached the package list.
> 
> Thanks a lot in advance!

Results are available in:
http://qa-logs.debian.net/2022/06/09/

http://qa-logs.debian.net/2022/06/09/res.base.txt are the reference
results
http://qa-logs.debian.net/2022/06/09/res.pytest.txt are the results with
pytest from experimental
http://qa-logs.debian.net/2022/06/09/diff.pytest.txt are the differences
http://qa-logs.debian.net/2022/06/09/pytest/ are the logs for all
packages in diff.pytest.txt

Note that 'pyranges' hung during test (or was extremely slow to
complete), and I had to kill it. So the log does not reflect what really
happens.

Lucas

[toc] | [prev] | [next] | [standalone]


#14182

FromLouis-Philippe Véronneau <pollo@debian.org>
Date2022-06-15 21:30 +0200
Message-ID<EyGSe-52db-17@gated-at.bofh.it>
In reply to#14180

[Multipart message — attachments visible in raw view] — view raw

Thanks a lot for this rebuild, very useful.

I was told you needed a list of pytest regressions for you to fill bug reports.
It's my first time doing this, so if I missed something you needed, please say
so.

# Valid pytest regression, deprecated feature:

* asyncpg 0.25.0-1 (deprecated pytest feature: -k-)
* junitparser 2.5.0-2 (deprecated pytest feature: -k-)
* openlp 2.9.4-2 (deprecated pytest feature: -k-)
* python-astor 0.8.1-2 (deprecated pytest feature: -k-)
* python-aws-xray-sdk 0.95-2 (deprecated pytest feature: -k-)
* python-b2sdk 1.3.0-2 (deprecated pytest feature: -k-)
* python-easydev 0.12.0+dfsg-2 (deprecated pytest feature: -k-)
* python-h11 0.13.0-1 (deprecated pytest feature: -k-)
* python-jose 3.3.0+dfsg-2 (deprecated pytest feature: -k-)
* python-matrix-nio 0.19.0-2 (deprecated pytest feature: -k-)
* python-twitter 3.3-3 (deprecated pytest feature: -k-)
* sphinx-gallery 0.10.1-1 (deprecated pytest feature: -k-)
* spyne 2.14.0-1 (deprecated pytest feature: -k-)
* flask 2.0.1-2 (deprecated pytest feature: pytest.warns(None))
* photutils 1.4.0-3 (deprecated pytest feature: pytest.warns(None))
* python-ase 3.22.1-1 (deprecated pytest feature: pytest.warns(None))

# Probably a valid pytest regression, but I'm less sure:

* python-biom-format 2.1.10-4 (not sure what the problem is, seems like pytest)
* python-httplib2 0.20.2-3 (not sure what the problem is, seems like pytest)
* python-pytest-subtests 0.6.0-1 (not sure what the problem is, seems like pytest)
* python-can 3.3.2.final~github-3 (AttributeError: pytest.approx() is not supported in a boolean context)
* python-protobix 1.0.2-11 (plugin distutils failed with: exit code=5)
* python-pykka 2.0.3-2 (AttributeError: module pytest has no attribute collect)
* python-ratelimiter 1.2.0.post0-1 (AttributeError: module pytest has no attribute collect)
* python-pytest-xprocess 0.18.1-3 (pytest.PytestUnraisableExceptionWarning: Exception ignored)

# Doesn't seem like a pytest regression, but I could be wrong?:

* humanfriendly 10.0-1 (upstream doesn't actually use pytest?)
* pyglet 1.5.14-2 (py3.9 OK, py3.10 fails)
* pyranges 0.0.111+ds-1 (py3.9 OK, py3.10 fails with Fatal Python error: Bus error)
* pytest-pylint 0.18.0-3 (AssertionError)
* python-qtpy 2.1.0-2 (TypeError: the 'package' argument is required to perform a relative import)
* sentry-python 1.4.3-1 (AssertionError: previous item was not torn down properly)

# Already fixed in the archive:

* monitoring-plugins-systemd 2.3.1-2

Cheers!

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄

[toc] | [prev] | [next] | [standalone]


#14183

FromCarsten Schoenert <c.schoenert@t-online.de>
Date2022-06-15 21:40 +0200
Message-ID<EyH1T-52gh-5@gated-at.bofh.it>
In reply to#14182
Hi,

Am 15.06.22 um 21:22 schrieb Louis-Philippe Véronneau:

> # Doesn't seem like a pytest regression, but I could be wrong?:
> ...
> * sentry-python 1.4.3-1 (AssertionError: previous item was not torn down properly)
> 
> # Already fixed in the archive:
> 
> * monitoring-plugins-systemd 2.3.1-2

I've updated sentry-python last week to the current upstream version, so 
this package can be count as fixed.

Current pygments requires pytest >= 7.0, I've uploaded 2.12.0 to 
experimental.

-- 
Regards
Carsten

[toc] | [prev] | [next] | [standalone]


#14186

FromJulian Gilbey <julian@d-and-j.net>
Date2022-06-16 10:10 +0200
Message-ID<EySJH-59sE-1@gated-at.bofh.it>
In reply to#14183
On Wed, Jun 15, 2022 at 09:30:56PM +0200, Carsten Schoenert wrote:
> Hi,
> [...]
> > 
> > * monitoring-plugins-systemd 2.3.1-2
> 
> I've updated sentry-python last week to the current upstream version, so
> this package can be count as fixed.
> 
> Current pygments requires pytest >= 7.0, I've uploaded 2.12.0 to
> experimental.

Hi Carsten,

Great, thanks.  Since the pygments in testing fails on pytest 7.2.1,
and the version in experimental depends on pytest >= 7.0, we'll need
to do the following when we are ready to upload pytest 7.2.1 to
unstable:

* Mark pytest 7.2.1 as Breaks: pygments (<< 2.12.0)
* Upload pygments 2.12.0 to unstable

Otherwise the pygments in testing will prevent the migration of
pytest.

Best wishes,

   Julian

[toc] | [prev] | [next] | [standalone]


#14231

FromCarsten Schoenert <c.schoenert@t-online.de>
Date2022-07-08 21:40 +0200
Message-ID<EH1Zv-a2Wu-7@gated-at.bofh.it>
In reply to#14186
Hi,

Am 16.06.22 um 10:05 schrieb Julian Gilbey:
...
> Great, thanks.  Since the pygments in testing fails on pytest 7.2.1,
> and the version in experimental depends on pytest >= 7.0, we'll need
> to do the following when we are ready to upload pytest 7.2.1 to
> unstable:
> 
> * Mark pytest 7.2.1 as Breaks: pygments (<< 2.12.0)

looking at the autopkgtest on the CI pygments is still failing while 
testing with versions from testing. Mostly because I think as pytest < 7 
(from testing) is used. All other versions differences are not critical 
I guess. The following list of used packages are given by the different 
versions between testing and unstable.

> testing: python3-lib2to3 all 3.9.12-1
> testing: python3-distutils all 3.9.12-1
> testing: python3-toml all 0.10.2-1
> testing: python3-pytest all 6.2.5-3
> 
> 
> unstable:  python3-lib2to3 all 3.10.5-1
> unstable:  python3-distutils all 3.10.5-1
> unstable:  python3-tomli all 1.2.2-2
> unstable:  python3-pytest all 7.1.2-2

Currently python3-pytest hasn't an entry for breaking on pygments like 
Julian was proposing. Maybe I'm still missing something.

-- 
Regards
Carsten

[toc] | [prev] | [next] | [standalone]


#14235

FromJulian Gilbey <julian@d-and-j.net>
Date2022-07-11 19:40 +0200
Message-ID<EI5y1-aG8A-1@gated-at.bofh.it>
In reply to#14231
Hi,

On Fri, Jul 08, 2022 at 09:33:10PM +0200, Carsten Schoenert wrote:
> Hi,
> 
> Am 16.06.22 um 10:05 schrieb Julian Gilbey:
> ...
> > Great, thanks.  Since the pygments in testing fails on pytest 7.2.1,
> > and the version in experimental depends on pytest >= 7.0, we'll need
> > to do the following when we are ready to upload pytest 7.2.1 to
> > unstable:
> > 
> > * Mark pytest 7.2.1 as Breaks: pygments (<< 2.12.0)
> 
> looking at the autopkgtest on the CI pygments is still failing while testing
> with versions from testing. Mostly because I think as pytest < 7 (from
> testing) is used. All other versions differences are not critical I guess.
> The following list of used packages are given by the different versions
> between testing and unstable.

Yes, indeed; as pygments depends on pytest >= 7 and the version
currently in testing breaks with pytest 7, pytest must declare Breaks:
python3-pygments (<< 2.12.0).  [Explanation: britney (?) tries each
package on its own when testing for migration: pytest can't migrate as
that would break pygments in testing, and pygments can't migrate as it
depends on the newer pytest.  So we're stuck and neither will
migrate.  But if pytest 7 declares a Breaks on pygments (<< 2.12.0),
then it will attempt to migrate both of them simultaneously.]

Best wishes,

   Julian

[toc] | [prev] | [next] | [standalone]


#14242

Fromjulien.puydt@gmail.com
Date2022-07-14 00:10 +0200
Message-ID<EISIp-b9zp-9@gated-at.bofh.it>
In reply to#14235
Le lundi 11 juillet 2022 à 18:37 +0100, Julian Gilbey a écrit :
> [Explanation: britney (?) tries each
> package on its own when testing for migration: pytest can't migrate
> as that would break pygments in testing, and pygments can't migrate
> as it depends on the newer pytest.  So we're stuck and neither will
> migrate.  But if pytest 7 declares a Breaks on pygments (<< 2.12.0),
> then it will attempt to migrate both of them simultaneously.]

Well, after some time (60 days if I remember well), both packages will
get kicked out of testing, at which point there will be no more
objections to the unstable ones migrating to testing, and that will
happen.

Neither elegant nor fast, I admit.

J.Puydt

[toc] | [prev] | [next] | [standalone]


#14184

FromLucas Nussbaum <lucas@debian.org>
Date2022-06-15 21:40 +0200
Message-ID<EyH1T-52gh-1@gated-at.bofh.it>
In reply to#14182

[Multipart message — attachments visible in raw view] — view raw

Hi,

On 15/06/22 at 15:22 -0400, Louis-Philippe Véronneau wrote:
> Thanks a lot for this rebuild, very useful.
> 
> I was told you needed a list of pytest regressions for you to fill bug reports.
> It's my first time doing this, so if I missed something you needed, please say
> so.

I was only asked for the rebuild itself, but can also file bugs
(however, given the small number of bugs to file, there's no big
advantage with me automating)

I would need a template similar to
https://salsa.debian.org/lucas/collab-qa-data/-/blob/master/ftbfs.txt.liquid

> # Valid pytest regression, deprecated feature:
> 
> * asyncpg 0.25.0-1 (deprecated pytest feature: -k-)
> * junitparser 2.5.0-2 (deprecated pytest feature: -k-)
> * openlp 2.9.4-2 (deprecated pytest feature: -k-)
> * python-astor 0.8.1-2 (deprecated pytest feature: -k-)
> * python-aws-xray-sdk 0.95-2 (deprecated pytest feature: -k-)
> * python-b2sdk 1.3.0-2 (deprecated pytest feature: -k-)
> * python-easydev 0.12.0+dfsg-2 (deprecated pytest feature: -k-)
> * python-h11 0.13.0-1 (deprecated pytest feature: -k-)
> * python-jose 3.3.0+dfsg-2 (deprecated pytest feature: -k-)
> * python-matrix-nio 0.19.0-2 (deprecated pytest feature: -k-)
> * python-twitter 3.3-3 (deprecated pytest feature: -k-)
> * sphinx-gallery 0.10.1-1 (deprecated pytest feature: -k-)
> * spyne 2.14.0-1 (deprecated pytest feature: -k-)
> * flask 2.0.1-2 (deprecated pytest feature: pytest.warns(None))
> * photutils 1.4.0-3 (deprecated pytest feature: pytest.warns(None))
> * python-ase 3.22.1-1 (deprecated pytest feature: pytest.warns(None))
> 
> # Probably a valid pytest regression, but I'm less sure:
> 
> * python-biom-format 2.1.10-4 (not sure what the problem is, seems like pytest)
> * python-httplib2 0.20.2-3 (not sure what the problem is, seems like pytest)
> * python-pytest-subtests 0.6.0-1 (not sure what the problem is, seems like pytest)
> * python-can 3.3.2.final~github-3 (AttributeError: pytest.approx() is not supported in a boolean context)
> * python-protobix 1.0.2-11 (plugin distutils failed with: exit code=5)
> * python-pykka 2.0.3-2 (AttributeError: module pytest has no attribute collect)
> * python-ratelimiter 1.2.0.post0-1 (AttributeError: module pytest has no attribute collect)
> * python-pytest-xprocess 0.18.1-3 (pytest.PytestUnraisableExceptionWarning: Exception ignored)
> 
> # Doesn't seem like a pytest regression, but I could be wrong?:

They are probably worth investigating further: I actually did two
rebuilds (one with vanilla unstable, the other with unstable+pytest from
experimental) => it's unlikely that they are NOT pytest regressions.

> * humanfriendly 10.0-1 (upstream doesn't actually use pytest?)
> * pyglet 1.5.14-2 (py3.9 OK, py3.10 fails)
> * pyranges 0.0.111+ds-1 (py3.9 OK, py3.10 fails with Fatal Python error: Bus error)

I had to kill that one, it went in some sort of infinite loop. Probably
worth investigating manually.

> * pytest-pylint 0.18.0-3 (AssertionError)
> * python-qtpy 2.1.0-2 (TypeError: the 'package' argument is required to perform a relative import)
> * sentry-python 1.4.3-1 (AssertionError: previous item was not torn down properly)
> 
> # Already fixed in the archive:
> 
> * monitoring-plugins-systemd 2.3.1-2

Lucas

[toc] | [prev] | [next] | [standalone]


#14190

FromLouis-Philippe Véronneau <pollo@debian.org>
Date2022-06-25 01:00 +0200
Message-ID<EC0ro-70IF-69@gated-at.bofh.it>
In reply to#14184
Thank you for your guidance.

I have filled all of the regressions you reported in the BTS:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=pytest7;users=debian-python@lists.debian.org

Cheers,

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄

On 2022-06-15 15 h 32, Lucas Nussbaum wrote:
> Hi,
> 
> On 15/06/22 at 15:22 -0400, Louis-Philippe Véronneau wrote:
>> Thanks a lot for this rebuild, very useful.
>>
>> I was told you needed a list of pytest regressions for you to fill bug reports.
>> It's my first time doing this, so if I missed something you needed, please say
>> so.
> 
> I was only asked for the rebuild itself, but can also file bugs
> (however, given the small number of bugs to file, there's no big
> advantage with me automating)
> 
> I would need a template similar to
> https://salsa.debian.org/lucas/collab-qa-data/-/blob/master/ftbfs.txt.liquid
> 
>> # Valid pytest regression, deprecated feature:
>>
>> * asyncpg 0.25.0-1 (deprecated pytest feature: -k-)
>> * junitparser 2.5.0-2 (deprecated pytest feature: -k-)
>> * openlp 2.9.4-2 (deprecated pytest feature: -k-)
>> * python-astor 0.8.1-2 (deprecated pytest feature: -k-)
>> * python-aws-xray-sdk 0.95-2 (deprecated pytest feature: -k-)
>> * python-b2sdk 1.3.0-2 (deprecated pytest feature: -k-)
>> * python-easydev 0.12.0+dfsg-2 (deprecated pytest feature: -k-)
>> * python-h11 0.13.0-1 (deprecated pytest feature: -k-)
>> * python-jose 3.3.0+dfsg-2 (deprecated pytest feature: -k-)
>> * python-matrix-nio 0.19.0-2 (deprecated pytest feature: -k-)
>> * python-twitter 3.3-3 (deprecated pytest feature: -k-)
>> * sphinx-gallery 0.10.1-1 (deprecated pytest feature: -k-)
>> * spyne 2.14.0-1 (deprecated pytest feature: -k-)
>> * flask 2.0.1-2 (deprecated pytest feature: pytest.warns(None))
>> * photutils 1.4.0-3 (deprecated pytest feature: pytest.warns(None))
>> * python-ase 3.22.1-1 (deprecated pytest feature: pytest.warns(None))
>>
>> # Probably a valid pytest regression, but I'm less sure:
>>
>> * python-biom-format 2.1.10-4 (not sure what the problem is, seems like pytest)
>> * python-httplib2 0.20.2-3 (not sure what the problem is, seems like pytest)
>> * python-pytest-subtests 0.6.0-1 (not sure what the problem is, seems like pytest)
>> * python-can 3.3.2.final~github-3 (AttributeError: pytest.approx() is not supported in a boolean context)
>> * python-protobix 1.0.2-11 (plugin distutils failed with: exit code=5)
>> * python-pykka 2.0.3-2 (AttributeError: module pytest has no attribute collect)
>> * python-ratelimiter 1.2.0.post0-1 (AttributeError: module pytest has no attribute collect)
>> * python-pytest-xprocess 0.18.1-3 (pytest.PytestUnraisableExceptionWarning: Exception ignored)
>>
>> # Doesn't seem like a pytest regression, but I could be wrong?:
> 
> They are probably worth investigating further: I actually did two
> rebuilds (one with vanilla unstable, the other with unstable+pytest from
> experimental) => it's unlikely that they are NOT pytest regressions.
> 
>> * humanfriendly 10.0-1 (upstream doesn't actually use pytest?)
>> * pyglet 1.5.14-2 (py3.9 OK, py3.10 fails)
>> * pyranges 0.0.111+ds-1 (py3.9 OK, py3.10 fails with Fatal Python error: Bus error)
> 
> I had to kill that one, it went in some sort of infinite loop. Probably
> worth investigating manually.
> 
>> * pytest-pylint 0.18.0-3 (AssertionError)
>> * python-qtpy 2.1.0-2 (TypeError: the 'package' argument is required to perform a relative import)
>> * sentry-python 1.4.3-1 (AssertionError: previous item was not torn down properly)
>>
>> # Already fixed in the archive:
>>
>> * monitoring-plugins-systemd 2.3.1-2
> 
> Lucas

[toc] | [prev] | [next] | [standalone]


#14212

FromJulian Gilbey <julian@d-and-j.net>
Date2022-07-04 14:00 +0200
Message-ID<EFsU9-94vR-3@gated-at.bofh.it>
In reply to#14190
On Fri, Jun 24, 2022 at 06:53:04PM -0400, Louis-Philippe Véronneau wrote:
> Thank you for your guidance.
> 
> I have filled all of the regressions you reported in the BTS:
> 
> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=pytest7;users=debian-python@lists.debian.org

Thanks Louis-Philippe!

Best wishes,

   Julian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web