python-compizconfig needs to be ported to python3

Bug #1310794 reported by Brandon Schaefer on 2014-04-21
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
High
Unassigned
compiz (Ubuntu)
High
Unassigned

Bug Description

python-compizconfig needs to be ported to python3, otherwise autopilot tests in unity7 will start to fail! We cannot have that.

Related branches

Changed in compiz:
status: New → Triaged
importance: Undecided → High
Changed in compiz (Ubuntu):
status: New → Triaged
importance: Undecided → High
Barry Warsaw (barry) on 2014-04-21
summary: - compizconfig-python needs to be ported to python3
+ python-compizconfig needs to be ported to python3
description: updated
Barry Warsaw (barry) wrote :
Barry Warsaw (barry) on 2014-04-23
Changed in compiz (Ubuntu):
status: Triaged → Won't Fix
Barry Warsaw (barry) wrote :

After further discussion, I think we won't take this on as it's a big pile of work. I'm happy to consult with the upstream compiz folks if they want to explore options.

What has been discussed is allowing unity7 autopilot tests to continue to depend on Python 2 python-compizconfig. Since unity7 isn't used on touch, this won't block our progress on the Python 3 migration there. We are likely going to split the autopilot source package during u-series, with an autopilot-legacy branch providing python-autopilot and friends (i.e. an unmaintained except for critical fixes, Python 2 support), with the trunk autopilot branch *only* providing Python 3 support. When unity7 is completely replaced by unity8 then everything will fall out naturally.

Changed in compiz (Ubuntu):
status: Won't Fix → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.13.1+19.04.20190103-0ubuntu1

---------------
compiz (1:0.9.13.1+19.04.20190103-0ubuntu1) disco; urgency=medium

  [ Alberts Muktupāvels ]
  * Port CCSM to Python 3. (LP: #1004592, #1310794)

 -- Dmitry Shachnev <email address hidden> Thu, 03 Jan 2019 18:56:40 +0000

Changed in compiz (Ubuntu):
status: In Progress → Fix Released
Changed in compiz:
status: Triaged → Fix Committed
Khurshid Alam (khurshid-alam) wrote :

@muktupavels

This seems to break unity login from unity-greeter on fresh install. I tried with sudo apt install unity unity-session on vm and it can't login, gives

invalid mit-magic-cookie-1 keycan't open display 0

Can you confirm ?

Dmitry Shachnev (mitya57) wrote :

Why do you think it’s broken by this change?

At login no Python code should be run, the core part of Compiz and Unity is C++.

Khurshid Alam (khurshid-alam) wrote :

Bcz, downgrading only these two packages (unity & compiz) fixes the issue. But I just now had a conversation with @muktupavels....may be unity/libunity needs a rebuild.

Khurshid Alam (khurshid-alam) wrote :

And it doesn't work.

Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers