libpeas-1.0-0 depends on both libpython2.7 and libpython3.4
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | eog-plugins (Ubuntu) |
Undecided
|
Unassigned | ||
| | gedit (Ubuntu) |
Undecided
|
Unassigned | ||
| | gnome-builder (Ubuntu) |
Undecided
|
Unassigned | ||
| | gtranslator (Ubuntu) |
Undecided
|
Unassigned | ||
| | libpeas (Debian) |
Fix Released
|
Unknown
|
||
| | libpeas (Ubuntu) |
Medium
|
Barry Warsaw | ||
| | liferea (Ubuntu) |
Undecided
|
Unassigned | ||
| | rhythmbox (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
libpeas-1.0-0 depends on both libpython2.7 and libpython3.4, preventing the removal of python2 from the desktop CD images. Please split out the loaders into two different packages so that libpeas-1.0-0 doesn't prevent removal of python2.7 from the desktop CD images.
| Steve Langasek (vorlon) wrote : | #1 |
| Changed in libpeas (Ubuntu): | |
| assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
| Changed in libpeas (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → High |
| Iain Lane (laney) wrote : | #2 |
If and when we end up splitting, I'll do this via Debian.
| Will Cooke (willcooke) wrote : | #3 |
First steps are to analyse the reverse dependencies. And then as Laney says, to do this work upstream.
We will try to get this done this cycle.
| Changed in libpeas (Ubuntu): | |
| importance: | High → Medium |
| Matthias Klose (doko) wrote : | #4 |
any update on this?
| Iain Lane (laney) wrote : | #5 |
not right now, sorry
| Bryan Quigley (bryanquigley) wrote : | #6 |
Went through the dependencies , hope this helps:
* deja-dup - dependency duplicity still needs porting to python3 (unknown if this is an issue for deja-dup/libpeas) lp bug is 1440372
* diodon(
* emerillon - no python found
* entangle/
* eog - no python mentioned
* eog-plugins - only python3 depends found
* gedit(-
* gedit-valencia-
* gitg - no python found
* gnome-core-devel (for libpeas-dev), meta package depends on python-gobject-dev (python2) - guessing this doesn't really matter
* gtranslator - **depends on python2**
* liferea - **depends on python2**
* totem-plugins/
* roger-router(
* rhythmbox (and many friends) - only python3 depends found
To summarize: gtranslator and liferea need python2, and deja-dup might be an issue.
| Barry Warsaw (barry) wrote : | #7 |
With deja-dup 34.1-0ubuntu1, the tight dependency on Python 2 has been fixed. deja-dup only recommends duplicity and will install it on demand. However deja-dup still depends on libpeas-1.0-0 and that pulls in libpython2.7, so i think that's another package that needs the libpeas split.
Any progress to report? Any help needed?
| Sebastien Bacher (seb128) wrote : | #8 |
> Any progress to report? Any help needed?
Sure, if you want to work on a patch that would be welcome, we currently have other priorities and nobody is actively looking at the libpeas changes
| Changed in libpeas (Ubuntu): | |
| assignee: | Canonical Desktop Team (canonical-desktop-team) → nobody |
| Changed in libpeas (Debian): | |
| status: | Unknown → New |
| Barry Warsaw (barry) wrote : | #9 |
So maybe this isn't as difficult as I first thought. The basic idea is that instead of putting both the libpythonloader and libpython3loader shared libs in the same binary package, I'm creating two new binary packages libpeas-
Each of this will only contain the respective .so. Thus libpeas-1.0-0*.deb will have no Python dependency at all, and the split binaries will only have the appropriate libpython2.7 or libpython3.5 dependency.
Then we'll need to update the Depends of the packages mentioned above, by adding:
* deja-dup - libpeas-
* eog-plugins - libpeas-
* gedit(-
* gnome-core-devel (for libpeas-dev): libpeas-
* gtranslator: libpeas-
* liferea: libpeas-
* totem-plugins/
* rhythmbox (and many friends): libpeas-
I don't think any of the other libpeas binary packages need splitting.
I'll attach the patch for libpeas. Could someone on the desktop team please let me know if this is sane, and if so, could you shepherd the necessary changes (for this and the dependents) into Debian and Ubuntu as appropriate?
| tags: | added: patch |
| Sebastien Bacher (seb128) wrote : | #11 |
Thanks Barry, if you move files between binaries you at least need a breaks/replace so you don't get file conflicts on updates, also libpeas-1.0-0 should probably recommends at least the python3 loader no?
Do we have an idea what libpeas plugins currently use python2?
| Barry Warsaw (barry) wrote : | #12 |
@seb128: Yes, you're right of course. From here on I'll follow up on the Debian bug. Cheers!
| Barry Warsaw (barry) wrote : | #13 |
Added bugtasks for the packages that I think need Depends updates.
See https:/
| Changed in libpeas (Ubuntu): | |
| assignee: | nobody → Barry Warsaw (barry) |
| Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package libpeas - 1.16.0-1ubuntu1
---------------
libpeas (1.16.0-1ubuntu1) xenial; urgency=medium
* debian/control:
- Split the Python 2 and Python 3 loader shared libraries into separate
binary packages so that we can manage the libpython2.7 and libpython3.5
dependencies individually. This allows for better migration to Python
3 only environments. (LP: #1440504)
- libpeas-
binary packages.
- update-maintainer
* debian/
* debian/
-- Barry Warsaw <email address hidden> Wed, 13 Jan 2016 14:30:56 -0500
| Changed in libpeas (Ubuntu): | |
| status: | In Progress → Fix Released |
| Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package eog-plugins - 3.16.3-1ubuntu1
---------------
eog-plugins (3.16.3-1ubuntu1) xenial; urgency=medium
* debian/control.in:
- Add explicit dependency on libpeas-
- update-maintainer
-- Barry Warsaw <email address hidden> Mon, 15 Feb 2016 18:04:43 -0500
| Changed in eog-plugins (Ubuntu): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #16 |
This bug was fixed in the package liferea - 1.10.17-1ubuntu2
---------------
liferea (1.10.17-1ubuntu2) xenial; urgency=medium
* debian/control: Add explicit dependency on libpeas-
(LP: #1440504)
-- Barry Warsaw <email address hidden> Tue, 16 Feb 2016 14:33:49 -0500
| Changed in liferea (Ubuntu): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package gedit - 3.18.3-0ubuntu2
---------------
gedit (3.18.3-0ubuntu2) xenial; urgency=medium
* debian/control.in: Add explicit dependency on libpeas-
(LP: #1440504)
-- Barry Warsaw <email address hidden> Mon, 15 Feb 2016 18:29:31 -0500
| Changed in gedit (Ubuntu): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #18 |
This bug was fixed in the package rhythmbox - 3.3-1ubuntu4
---------------
rhythmbox (3.3-1ubuntu4) xenial; urgency=medium
* debian/control.in: Add explicit dependency on libpeas-
(LP: #1440504)
-- Barry Warsaw <email address hidden> Tue, 16 Feb 2016 17:37:13 -0500
| Changed in rhythmbox (Ubuntu): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #19 |
This bug was fixed in the package gtranslator - 2.91.7-1ubuntu1
---------------
gtranslator (2.91.7-1ubuntu1) xenial; urgency=medium
* debian/control.in:
- Add explicit dependency on libpeas-
- update-maintainer
-- Barry Warsaw <email address hidden> Tue, 16 Feb 2016 14:20:16 -0500
| Changed in gtranslator (Ubuntu): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #20 |
This bug was fixed in the package gnome-builder - 3.18.1-2ubuntu1
---------------
gnome-builder (3.18.1-2ubuntu1) xenial; urgency=medium
* debian/control.in:
- Add explicit dependency for on libpeas-
(LP: #1440504)
- update-maintainer
-- Barry Warsaw <email address hidden> Tue, 16 Feb 2016 17:41:31 -0500
| Changed in gnome-builder (Ubuntu): | |
| status: | New → Fix Released |
| Changed in libpeas (Debian): | |
| status: | New → Fix Released |


Can someone from the desktop team take a look at this package? It probably needs some analysis of the reverse- dependencies first, to verify which of them if any still need porting to python3.