needrestart: autopkgtest regression with python-libtmux

Bug #2069591 reported by Graham Inggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
needrestart (Ubuntu)
Fix Released
High
Simon Chopin
python-libtmux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

needrestart's autopgktest fails when tested with python-libtmux/0.37.0-1.

I've copied what I hope is the relevant part of the log below.

164s autopkgtest [11:08:32]: test prompt-reboot.py: [-----------------------
164s /tmp/autopkgtest.Nqdmp2/build.Cns/src/debian/tests/prompt-reboot.py:18: DeprecationWarning: Session.attached_pane() is deprecated in favor of Session.active_pane()
164s pane = session.attached_pane

1169s autopkgtest [11:25:17]: test prompt-services.py: [-----------------------
1170s /tmp/autopkgtest.Nqdmp2/build.Cns/src/debian/tests/prompt-services.py:22: DeprecationWarning: Session.attached_pane() is deprecated in favor of Session.active_pane()
1170s pane = session.attached_pane
1174s /tmp/autopkgtest.Nqdmp2/build.Cns/src/debian/tests/prompt-services.py:22: DeprecationWarning: Session.attached_pane() is deprecated in favor of Session.active_pane()
1174s pane = session.attached_pane
1177s /tmp/autopkgtest.Nqdmp2/build.Cns/src/debian/tests/prompt-services.py:80: DeprecationWarning: Session.attached_pane() is deprecated in favor of Session.active_pane()
1177s pane = session.attached_pane

Graham Inggs (ginggs)
tags: added: update-excuse
Simon Chopin (schopin)
Changed in needrestart (Ubuntu):
assignee: nobody → Simon Chopin (schopin)
Changed in python-libtmux (Ubuntu):
status: New → Invalid
Changed in needrestart (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: foundations-todo
Revision history for this message
Simon Chopin (schopin) wrote :

Using Won't Fix instead of Invalid, for Science™

Changed in python-libtmux (Ubuntu):
status: Invalid → Won't Fix
Simon Chopin (schopin)
Changed in needrestart (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package needrestart - 3.6-8ubuntu4

---------------
needrestart (3.6-8ubuntu4) oracular; urgency=medium

  * d/tests/*.py: move off deprecated python-tmux APIs (LP: #2069591)

 -- Simon Chopin <email address hidden> Wed, 19 Jun 2024 15:38:22 +0200

Changed in needrestart (Ubuntu):
status: Fix Committed → 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.