Ubiquity fails to build with GTK4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
With latest updates applied on impish Ubiquity fails to build with:
make: Leaving directory '/home/
/home/j-
from gi.repository import Gtk, TimezoneMap
/home/j-
from gi.repository import UbiquityMockRes
Traceback (most recent call last):
File "/home/
suite = unittest.
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
module = __import_
File "/home/
from ubiquity import gtkwidgets, plugin_manager
File "/home/
class StylizedFrame(
File "/usr/lib/
return getattr(
File "/usr/lib/
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gtk' object has no attribute 'Alignment'
It should be fixed by setting the version of GTK to 3
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → High |
importance: | High → Critical |
tags: | added: rls-ii-incoming |
Changed in ubiquity (Ubuntu): | |
status: | New → Fix Committed |
This bug was fixed in the package ubiquity - 21.10.5
---------------
ubiquity (21.10.5) impish; urgency=medium
* tests/test_ gtkwidgets. py, ubiquity/ frontend/ gtk_ui. py:
- use gi.require_version to ensure we import the right gtk bindings
(lp: #1936488)
-- Sebastien Bacher <email address hidden> Fri, 16 Jul 2021 16:03:27 +0200