ipykernel/6.29.3-1 vs pytest/8.2.2-1

Bug #2068672 reported by Chris Peterson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipykernel (Debian)
Fix Released
Unknown
ipykernel (Ubuntu)
Fix Released
Undecided
Chris Peterson
pytest (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

ipykernel's autopkgtests are failing with pytest 8.2.2-1

A sample error:

162s =================================== FAILURES ===================================
162s ____________________________ test_asyncio_interrupt ____________________________
162s
162s @pytest.mark.skipif(tornado.version_info < (5,), reason="only relevant on tornado 5")
162s def test_asyncio_interrupt():
162s > assert KM is not None
162s E assert None is not None
162s
162s tests/test_eventloop.py:67: AssertionError

After an initial look, it looks like some of tests rely on the nose-style test setup which is causing at least some of the errors.

Chris Peterson (cpete)
no longer affects: ipykernel (Debian)
Changed in ipykernel (Debian):
status: Unknown → New
Revision history for this message
Chris Peterson (cpete) wrote :

Indeed it was just the nose-style tests. Upstream has unreleased changes to address this that I cherry-picked. Please see the attached debdiff.

PPA: https://launchpad.net/~cpete/+archive/ubuntu/ipykernel

Autopkgtest results: https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-cpete-ipykernel/oracular/amd64/i/ipykernel/20240607_003157_a0a72@/log.gz

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading ipykernel_6.29.3-1ubuntu1.dsc: done.
  Uploading ipykernel_6.29.3-1ubuntu1.debian.tar.xz: done.
  Uploading ipykernel_6.29.3-1ubuntu1_source.buildinfo: done.
  Uploading ipykernel_6.29.3-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Changed in ipykernel (Ubuntu):
status: New → Fix Committed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "ipykernel_6.29.3-1_6.29.3-1ubuntu1.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipykernel - 6.29.3-1ubuntu1

---------------
ipykernel (6.29.3-1ubuntu1) oracular; urgency=medium

  * pytest8-nose-deprecation.patch: update tests for pytest 8 compatibility
    (LP: #2068672).

 -- Chris Peterson <email address hidden> Thu, 06 Jun 2024 16:39:25 -0700

Changed in ipykernel (Ubuntu):
status: Fix Committed → Fix Released
Chris Peterson (cpete)
Changed in pytest (Ubuntu):
status: New → Fix Released
Changed in ipykernel (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.