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


Groups > linux.debian.maint.python > #14164

Re: Updating pytest

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Julian Gilbey <julian@d-and-j.net>
Newsgroups linux.debian.maint.python
Subject Re: Updating pytest
Date Wed, 08 Jun 2022 13:50:01 +0200
Message-ID <Ew2md-3qF8-3@gated-at.bofh.it> (permalink)
References <EtRXX-21YE-9@gated-at.bofh.it> <EtTZL-23gG-1@gated-at.bofh.it> <EtUVQ-23PV-5@gated-at.bofh.it> <EujUd-2kpz-11@gated-at.bofh.it> <EurRL-2p9E-3@gated-at.bofh.it> <Evty9-33vd-3@gated-at.bofh.it> <EvvTj-359t-3@gated-at.bofh.it> <EvBP4-395I-5@gated-at.bofh.it> <EvGOJ-3ciy-3@gated-at.bofh.it> <EvNwR-3gDK-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Jun 8 11:47:35 2022
Old-Return-Path <julian@d-and-j.net>
X-Amavis-Spam-Status No, score=-7.21 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19992
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/YqCMR+mbRar4IN2v@d-and-j.net
Approved robomod@news.nic.it
Lines 79
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Paul Wise <pabs@debian.org>, debian-python <debian-python@lists.debian.org>
X-Original-Date Wed, 8 Jun 2022 12:47:19 +0100
X-Original-Message-ID <YqCMR+mbRar4IN2v@d-and-j.net>
X-Original-References <d9bd7cf6-f5c9-5c93-c796-9112ce1cc625@debian.org> <CAB4XWXz0VhaumnpjCV-Va0tD+z-odHX7XBffYxKR0z5Ljx2DOw@mail.gmail.com> <bfbd06e42d901651d8603d67423f215a42989c1a.camel@gmail.com> <YppOD+jceMgIkQWy@d-and-j.net> <67901ea5dde4c2e29b186562ff5bd807f06208a8.camel@debian.org> <Yp5/7JbmGL47gVDd@d-and-j.net> <CAB4XWXyGWN9kQQAhOKBkJ2e2wAz_AfRbwPtM9jWpyTnSfKn_fw@mail.gmail.com> <Yp796ZhYYBrExNIj@d-and-j.net> <Yp9JQExvN5UwRIpG@d-and-j.net> <CAB4XWXxPiOeGTMWFCZud-QO_CwUuR25u0jybHadze7a6809Vag@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:14164

Show key headers only | View raw


On Tue, Jun 07, 2022 at 03:49:37PM -0400, Sandro Tosi wrote:
> > Sandro: you managed the numpy transition, it seems.  What is involved
> > in something like this?  I would imagine something like:
> >
> > (1) Upload pytest 7.x to experimental
> 
> i took care of this just now, uploading pytest/7.1.2 to experimental
> (and i've messed up the branches on salsa, so i've committed my
> changes to `experimental2`)

I've just looked at
https://release.debian.org/britney/pseudo-excuses-experimental.html -
it's encouraging that there have only been a handful of failures on
amd64.  There have been a few more on arm64, but they seem mostly
insignificant or transient.  Here are the failing tests:

1. finalcif: it seems like an update to python3-gemmi has broken this
package

2. fpylll: The failures are happening in the current unstable version
as well.

3. glyphslib: The failures are happening in the current unstable
version as well.

4. junitparser: This looks like it might be due to the new version of
pytest.

5. jupyter-client: The arm64 failure looks likely to be transient

6. monitoring-plugins-systemd: This looks like it might be due to the
new version of pytest - it's not finding any tests.

7. nibabel: This is a new warning I haven't seen before: there's a
ResourceWarning about an unclosed file, which is putting a message on
stderr and causing the test to fail.

8. pytest-pylint: This looks like it may be due to the new version of
pytest, but I'm not sure.

9. pytest-twisted: Bizarre; it's failing to find the testdir fixture;
pytest 7.x does not claim to have deprecated this, so something is
weird here.

10. python-ase: not sure why the pytest.warns call raises an error
rather than just a warning.  But this is certainly a pytest 7.x issue.
I'm not sure how best to rewrite the code in these tests; different
calls are now needed in the two cases (pytest.warns(...) in the first
case, warnings.catch_warnings() in the second, perhaps?).

11. python-async-lru: this throws an error to stderr:
 Future exception was never retrieved
 future: <Future finished exception=ZeroDivisionError()>
 ZeroDivisionError
No idea what that's about.

12. python-b2sdk: this fails to select any tests, so presumably a
pytest 7.x issue.

13. python-email-validator: interesting error on arm64, suggesting the
test needs fixing (but not pytest 7.x related)

14. python-etelemetry: looks like it is a pytest 7.x issue (change in
keywords for skipping?)

15. python-httplib2: similar to python-etelemetry

16. python-parameterized: this looks likely to be a pytest 7.x issue;
the meaning of missing_tests has perhaps changed?  Would need to look
at the code more carefully to understand this.

17. python-pytest-subtests: this is a pytest 7.x issue; the package
has been updated upstream

And that's it, so it really doesn't seem too bad.

Best wishes,

   Julian

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Updating pytest Julian Gilbey <julian@d-and-j.net> - 2022-06-02 14:10 +0200
  Re: Updating pytest Andrius Merkys <merkys@debian.org> - 2022-06-02 14:20 +0200
    Re: Updating pytest Sandro Tosi <morph@debian.org> - 2022-06-02 16:30 +0200
      Re: Updating pytest julien.puydt@gmail.com - 2022-06-02 17:30 +0200
        Re: Updating pytest Julian Gilbey <julian@d-and-j.net> - 2022-06-03 20:10 +0200
          Re: Updating pytest Paul Wise <pabs@debian.org> - 2022-06-04 04:40 +0200
            Re: Updating pytest Julian Gilbey <julian@d-and-j.net> - 2022-06-07 00:40 +0200
              Re: Updating pytest Sandro Tosi <morph@debian.org> - 2022-06-07 03:10 +0200
                Re: Updating pytest Julian Gilbey <julian@d-and-j.net> - 2022-06-07 09:30 +0200
                Re: Updating pytest Julian Gilbey <julian@d-and-j.net> - 2022-06-07 14:50 +0200
                Re: Updating pytest Sandro Tosi <morph@debian.org> - 2022-06-07 22:00 +0200
                Re: Updating pytest Julian Gilbey <julian@d-and-j.net> - 2022-06-08 10:10 +0200
                Re: Updating pytest Julian Gilbey <julian@d-and-j.net> - 2022-06-08 13:50 +0200
                Re: Updating pytest Andrius Merkys <merkys@debian.org> - 2022-06-08 13:50 +0200
                Re: Updating pytest Andrius Merkys <merkys@debian.org> - 2022-06-07 09:40 +0200

csiph-web