Public bug reported: I'm testing python3 (3.2~rc1-2) imported from Debian experimental.
I tried building deb package which requires Python 3.2 and has private modules (.py files), but received error as follows: dh_python3 -V 3.2-3.3 /usr/share/blender/2.56/scripts D: dh_python3:359: argv: ['/usr/bin/dh_python3', '-V', '3.2-3.3', '/usr/share/blender/2.56/scripts'] D: dh_python3:360: options: {'recommends': None, 'verbose': False, 'package': None, 'regexpr': None, 'guess_deps': True, 'skip_private': False, 'O': None, 'suggests': None, 'depends': None, 'vrange': ((3, 2), (3, 3)), 'no_package': None, 'arch': None} D: dh_python3:361: args: ['/usr/share/blender/2.56/scripts'] D: dh_python3:371: processing package blender2.5-gnome-support... D: dh_python3:285: package blender2.5-gnome-support details = {'compile': False, 'requires.txt': set(), 'shebangs': set(), 'private_dirs': {}, 'ext': set()} D: dh_python3:371: processing package blender2.5... D: dh_python3:285: package blender2.5 details = {'compile': False, 'requires.txt': set(), 'shebangs': set(), 'private_dirs': {'/usr/share/blender/2.56/scripts': {'compile': True}}, 'ext': set()} Traceback (most recent call last): File "/usr/bin/dh_python3", line 438, in <module> main() File "/usr/bin/dh_python3", line 378, in main dependencies.parse(stats, options) File "/usr/share/python3/debpython/depends.py", line 111, in parse if details['ext']: KeyError: 'ext' make[1]: *** [override_dh_python3] Error 1 make[1]: Leaving directory `/tmp/buildd/blender2.5-2.56.1+svn35400' make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 I have already reported this bug at Debian bug tracker and posted a patch. ** Affects: python3-defaults (Ubuntu) Importance: Undecided Status: New ** Affects: python3-defaults (Debian) Importance: Unknown Status: Unknown ** Tags: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/731271 Title: dh_python3 causes error if private modules include no .so files -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs