python-gi-dev should depend on python3-gi

Bug #1101683 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygobject (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

python-gi-dev depends on python-gi; it should also depend on python3-gi.

I found this bug because it broke the gedit 3.7.4 build:
checking for PYTHON... yes
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'gi'

While looking at debian/control.in I have to admit I'm confused by what this is for:
         python-gi (>= ${source:Version}),
         python-gi (<< ${source:Version}.1~),

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python-gi-dev (not installed)
ProcVersionSignature: Ubuntu 3.8.0-0.4-generic 3.8.0-rc3
Uname: Linux 3.8.0-0-generic x86_64
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
Date: Sat Jan 19 00:57:28 2013
MarkForUpload: True
SourcePackage: pygobject
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jeremy Bícha (jbicha) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

gedit should just build-depend on python3-gi itself if it uses GI with python 3 IMHO, but I don't mind much adding the dependency to python-gi-dev, too. I committed that to Debian SVN, and will upload to Raring, too.

Changed in pygobject (Ubuntu):
status: New → Triaged
Martin Pitt (pitti)
Changed in pygobject (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pygobject - 3.7.4-0ubuntu2

---------------
pygobject (3.7.4-0ubuntu2) raring; urgency=low

  * debian/control.in: Have python-gi-dev depend on python3-gi, too.
    (LP: #1101683)
 -- Martin Pitt <email address hidden> Sat, 19 Jan 2013 13:07:08 +0100

Changed in pygobject (Ubuntu):
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

Remote bug watches

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