please port duplicity to Python3

Bug #1440372 reported by Matthias Klose
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
High
Unassigned
duplicity (Ubuntu)
Fix Released
High
Sebastien Bacher
Eoan
Fix Released
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.

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

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

Changed in duplicity (Ubuntu):
status: New → Confirmed
Revision history for this message
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
Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
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)
tags: added: py2-demotion py2-removal
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

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

Revision history for this message
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.

Revision history for this message
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)
tags: added: rls-dd-incoming
Revision history for this message
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)
tags: added: rls-ee-incoming
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

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
Revision history for this message
Sebastien Bacher (seb128) wrote :

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

Revision history for this message
Will Cooke (willcooke) wrote : Automatically added comment
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)
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
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

@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
Revision history for this message
Sebastien Bacher (seb128) wrote :

Ok, 0.8 is out with pyton3 support now

Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.