please port duplicity to Python3

Bug #1440372 reported by Matthias Klose on 2015-04-04
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Duplicity
High
Unassigned
duplicity (Ubuntu)
High
Sebastien Bacher
Eoan
High
Sebastien Bacher

Bug Description

There is still the goal to remove Python2 from the desktop images, and to use Python3 only. deja-dup should be ported to Python3.

There seems to be some progress upstream.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in duplicity (Ubuntu):
status: New → Confirmed
Robert Ancell (robert-ancell) wrote :

Blocks deja-dup from being updated (bug 1440370).

Changed in duplicity (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
importance: High → Medium
Barry Warsaw (barry) wrote :

I'll note that this is less critical now that deja-dup installs duplicity on demand. Still, it would be nice.

Matthias Klose (doko) on 2017-11-29
tags: added: py2-demotion py2-removal
Dimitri John Ledkov (xnox) wrote :

So what should we do now? To drop python2 from main, we will need to demote duplicity.

Juha Mäkeläinen (jpek) wrote :

This problem means, that I must manually swich default python version (by "sudo update-alternatives --config python") each time a backup is done. There is no easy automation, if I undestand.

Matthias Klose (doko) wrote :

no, the python symlink is not handled by alternatives. Whoever told you that, you are breaking your system.

Matthias Klose (doko) on 2019-02-18
tags: added: rls-dd-incoming
Sebastien Bacher (seb128) wrote :

That would be nice to get done but that's nothing new, not discussed when we planned the cycle nor something we have capacity to do for Disco, rls-dd-notfixing

tags: added: rls-dd-notfixing
removed: rls-dd-incoming
Will Cooke (willcooke) on 2019-02-27
tags: added: rls-ee-incoming

Marking this as Fix Committed, as we have Python 3 compatible code in 0.8-series with all tests also being run against this environment. We have not yet put out a 0.8 release, though.

See https://blueprints.launchpad.net/duplicity/+spec/python3

Changed in duplicity:
importance: Undecided → High
status: New → Fix Committed
Changed in duplicity (Ubuntu):
status: Triaged → In Progress
Sebastien Bacher (seb128) wrote :

@Aaron, that's good to know. Do you know when we can expect a 0.8 to be out?

tags: added: desktop-trello-import
tags: removed: desktop-trello-import
Changed in duplicity (Ubuntu):
milestone: none → ubuntu-19.10
tags: removed: python3 rls-dd-notfixing
Will Cooke (willcooke) on 2019-04-30
tags: removed: rls-ee-incoming
Changed in duplicity (Ubuntu Eoan):
assignee: nobody → Sebastien Bacher (seb128)
Changed in duplicity (Ubuntu Eoan):
importance: Medium → Critical
Changed in duplicity (Ubuntu Eoan):
importance: Critical → High

@Sebastian, Kenneth is planning to release a 0.8 version very soon.

Note that I have wound the Python 3 blueprint completion back a step, as I have realised that there are some backend dependencies (e.g. pyrax) that do not work on Python 3. I believe deja dup only uses a subset of the backends anyway, so what has already been done may be sufficient once a 0.8-series release is out the door.

Changed in duplicity:
milestone: none → 0.8.00
status: Fix Committed → Fix Released
Sebastien Bacher (seb128) wrote :

Ok, 0.8 is out with pyton3 support now

Sebastien Bacher (seb128) wrote :

New version uploaded
https://launchpad.net/ubuntu/+source/duplicity/0.8.01-0ubuntu1

Some tests are failing on ppc64el though now, help with those would be welcome

Changed in duplicity (Ubuntu Eoan):
status: In Progress → Fix Committed
Matthias Klose (doko) wrote :

the package still depends on python-lockfile.

Changed in duplicity (Ubuntu Eoan):
status: Fix Committed → New
tags: added: rls-ee-incoming
Changed in duplicity (Ubuntu Eoan):
status: New → Fix Committed
tags: removed: rls-ee-incoming
Changed in duplicity (Ubuntu Eoan):
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

Related blueprints