duplicity will be removed if one upgrades python in jaunty

Bug #335941 reported by claudio
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned
duplicity (Ubuntu)
Fix Released
Medium
Daniel Hahler

Bug Description

Binary package hint: duplicity

python is to be upgraded to version 2.6.1

duplicity still requires python <2.6

Thus if one upgrades python (or e.g. gimp which requires python >=2.6) then duplicity will be removed.

$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04

$ apt-cache policy duplicity python
duplicity:
  Installed: 0.5.09-0ubuntu1
  Candidate: 0.5.09-0ubuntu1
  Version table:
 *** 0.5.09-0ubuntu1 0
        500 http://ch.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status
python:
  Installed: 2.5.4-0ubuntu5
  Candidate: 2.6.1-0ubuntu1
  Version table:
     2.6.1-0ubuntu1 0
        500 http://ch.archive.ubuntu.com jaunty/main Packages
 *** 2.5.4-0ubuntu5 0
        100 /var/lib/dpkg/status

Related branches

Daniel Hahler (blueyed)
Changed in duplicity:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → blueyed
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

That can change to <=2.6 safely. I've tested duplicity against 2.6 and it works.

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Need to add <=2.6 to setup.py so no one attempts to run under 3.x.

Changed in duplicity:
assignee: nobody → kenneth-loafman
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Daniel Hahler (blueyed) wrote :

I have problems building the new package, although I have not changed the source (it depends on python-dev, which is 2.6 now in Jaunty).

I'm attaching the build log, where I've tried to also pass "--exec-prefix" to setup.py, but the result's the same:
1. the build fails, when it tries to fix tarfile.py:
from build.log:
chmod 755 debian/duplicity/usr/lib/python*/site-packages/duplicity/tarfile.py
chmod: cannot access `debian/duplicity/usr/lib/python*/site-packages/duplicity/tarfile.py': No such file ordirectory

2. even when I remove this line, the build succeeds, but duplicity is installed in /usr/local/bin/ then.

Very strange - I hope somebody can help me out with this.

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

This bug was fixed in the package duplicity - 0.5.09-0ubuntu2

---------------
duplicity (0.5.09-0ubuntu2) jaunty; urgency=low

  * Build with Python 2.6 (LP: #335941)
  * debian/rules:
    - add --install-layout=deb to setup.py
    - s/site-packages/dist-packages/

 -- Daniel Hahler <email address hidden> Sun, 01 Mar 2009 00:39:38 +0100

Changed in duplicity:
status: In Progress → Fix Released
Changed in duplicity:
assignee: Kenneth Loafman (kenneth-loafman) → nobody
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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