Fix some instances of deprecated code

Bug #1951985 reported by Gunnar Hjalmarsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Fix Released
Low
Gunnar Hjalmarsson
language-selector (Ubuntu)
Fix Released
Low
Gunnar Hjalmarsson

Bug Description

Attached please find the noise exposed if you run this command in terminal:

PYTHONWARNINGS=d gnome-language-selector

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :
Changed in aptdaemon (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

After the uploaded changes only this one is left:

/usr/lib/python3/dist-packages/gi/overrides/Gdk.py:329: DeprecationWarning: Gdk.Cursor.new is deprecated
  return cls.new(*args, **kwds)

Ignoring that for now under the assumption that the pygobject package is taken care of upstream.

Changed in aptdaemon (Ubuntu):
status: In Progress → Fix Committed
Changed in language-selector (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package language-selector - 0.217

---------------
language-selector (0.217) jammy; urgency=medium

  * LanguageSelector/{macros.py,gtk/GtkLanguageSelector.py}:
    - Fix a couple of warnings which were exposed when
      gnome-language-selector was run with PYTHONWARNINGS=default
      (LP: #1951985).

 -- Gunnar Hjalmarsson <email address hidden> Tue, 23 Nov 2021 17:57:47 +0100

Changed in language-selector (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

There is a build problem with the aptdaemon upload: bug #1951993.

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

This bug was fixed in the package aptdaemon - 1.1.1+bzr982-0ubuntu37

---------------
aptdaemon (1.1.1+bzr982-0ubuntu37) jammy; urgency=medium

  * fix-some-deprecated-code.patch (LP: #1951985)

 -- Gunnar Hjalmarsson <email address hidden> Tue, 23 Nov 2021 18:05:11 +0100

Changed in aptdaemon (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.