Please make PyGI overrides available to Python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Undecided
|
Unassigned | ||
dee |
Fix Released
|
High
|
Unassigned | ||
dee (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Łukasz Zemczak | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Test Case]
1. Start python3
2. from gi.repository import Dee
-> Make sure that Dee is importable through gi.repository and that it's usuable from python3
[Regression Potential]
As this does not modify existing code, no real regression potential.
Original description:
Currently the GI overrides are only usable from Python2, not Python3. I'm working through a lens tutorial using Python3, and got stumped by Dee.Model.append() being missing. Looking a bit at Dee.py, seems it should be trivial to have the same code work under Python2 and Python3, although I'm not sure the correct way to do this packaging-wise.
Files currently installed by gir1.2-dee-0.5:
jderose@
/.
/usr
/usr/share
/usr/share/doc
/usr/share/
/usr/share/
/usr/share/pyshared
/usr/share/
/usr/share/
/usr/share/
/usr/lib
/usr/lib/
/usr/lib/
/usr/lib/python2.7
/usr/lib/
/usr/lib/
/usr/lib/
/usr/share/
/usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gir1.2-dee-0.5 0.5.22-1
ProcVersionSign
Uname: Linux 3.2.0-4-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Thu Dec 15 19:33:51 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
SourcePackage: dee
UpgradeStatus: Upgraded to precise on 2011-12-01 (14 days ago)
Related branches
- Didier Roche-Tolomelli: Approve
-
Diff: 155 lines (+127/-1)4 files modifiedbindings/Makefile.am (+1/-1)
bindings/python3/Dee.py (+115/-0)
bindings/python3/Makefile.am (+10/-0)
configure.ac (+1/-0)
- Michal Hruby (community): Disapprove
-
Diff: 14 lines (+4/-1)1 file modifiedbindings/python3/Makefile.am (+4/-1)
summary: |
- Please make GI overrides available to Python3 + Please make PyGI overrides available to Python3 |
Changed in dee: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in dee (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in dee: | |
status: | Confirmed → Fix Committed |
description: | updated |
Changed in dee: | |
status: | Fix Committed → Confirmed |
status: | Confirmed → Triaged |
Changed in dee: | |
status: | Triaged → Fix Committed |
Changed in unity: | |
milestone: | none → 6.0 |
status: | Confirmed → Fix Committed |
Changed in dee: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in dee (Ubuntu Precise): | |
status: | New → In Progress |
assignee: | nobody → Łukasz Zemczak (sil2100) |
description: | updated |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
Changed in unity (Ubuntu Precise): | |
status: | New → Fix Released |
This bug was fixed in the package dee - 1.0.10-0ubuntu2
---------------
dee (1.0.10-0ubuntu2) quantal; urgency=low
[ Didier Roche ]
* debian/rules, debian/control:
- install the python3 version of the override gobject introspection file
[ Łukasz 'sil2100' Zemczak ] introspection (LP: #1017277)
* Cherry-pick upstream:
- dee doesnt compile with latest gobject-
- Please make PyGI overrides available to Python3 (LP: #905085)
-- Didier Roche <email address hidden> Tue, 10 Jul 2012 08:45:33 +0200