touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #110405
[Bug 905085] Re: Please make PyGI overrides available to Python3
** Changed in: unity (Ubuntu Precise)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dee in Ubuntu.
https://bugs.launchpad.net/bugs/905085
Title:
Please make PyGI overrides available to Python3
Status in dee:
Fix Released
Status in Unity:
Fix Released
Status in dee package in Ubuntu:
Fix Released
Status in unity package in Ubuntu:
Fix Released
Status in dee source package in Precise:
Fix Released
Status in unity source package in Precise:
Fix Released
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@jgd-ws:~/bzr/dmedia/lens$ dpkg -L gir1.2-dee-0.5
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/gir1.2-dee-0.5
/usr/share/doc/gir1.2-dee-0.5/copyright
/usr/share/pyshared
/usr/share/pyshared/gi
/usr/share/pyshared/gi/overrides
/usr/share/pyshared/gi/overrides/Dee.py
/usr/lib
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Dee-0.5.typelib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/gi
/usr/lib/python2.7/dist-packages/gi/overrides
/usr/share/doc/gir1.2-dee-0.5/changelog.Debian.gz
/usr/lib/python2.7/dist-packages/gi/overrides/Dee.py
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gir1.2-dee-0.5 0.5.22-1
ProcVersionSignature: Ubuntu 3.2.0-4.10-generic 3.2.0-rc5
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/dee/+bug/905085/+subscriptions