[Python-apps-team] Bug#934264: Please update (4.6.2?) and provide/switch to python3
Adrian Bunk
bunk at debian.org
Mon Dec 23 21:59:03 GMT 2019
On Fri, Aug 09, 2019 at 10:39:06AM +0200, Andreas Tille wrote:
>...
> On Thu, Aug 08, 2019 at 04:58:03PM -0400, Yaroslav Halchenko wrote:
>...
> but unfortunately the
> configure step fails with:
>
> ...
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> ----------------------------------------------------------------------
> Building TVTK classes... Traceback (most recent call last):
> File "setup.py", line 474, in <module>
> File "/usr/lib/python3/dist-packages/numpy/distutils/core.py", line 171, in setup
> return old_setup(**new_attr)
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
> dist.run_commands()
> File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
> cmd_obj.run()
> File "setup.py", line 268, in run
> File "setup.py", line 254, in build_tvtk_classes_zip
> File "tvtk/setup.py", line 99, in gen_tvtk_classes_zip
> gen.generate_code()
> File "/build/mayavi2-4.7.1/tvtk/code_gen.py", line 131, in generate_code
> self._write_wrapper_class(node, tvtk_name)
> File "/build/mayavi2-4.7.1/tvtk/code_gen.py", line 221, in _write_wrapper_class
> self.wrap_gen.generate_code(node, out)
> File "/build/mayavi2-4.7.1/tvtk/wrapper_gen.py", line 250, in generate_code
> self._gen_methods(node, out)
> File "/build/mayavi2-4.7.1/tvtk/wrapper_gen.py", line 371, in _gen_methods
> self._gen_get_methods(klass, out)
> File "/build/mayavi2-4.7.1/tvtk/wrapper_gen.py", line 919, in _gen_get_methods
> if len(sig) == 1 and sig[0][1] is None:
> TypeError: object of type 'NoneType' has no len()
> E: pybuild pybuild:341: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
> dh_auto_build: pybuild --build -i python{version} -p 3.7 returned exit code 13
> make: *** [debian/rules:10: build] Error 255
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> I: copying local configuration
> E: Failed autobuilding of package
>...
This one seems fixed by removing the vtk_63.py patch.
Next comes some error that goes away with python3-traits (just passed NEW).
That's not sufficient for building, but a bit further.
> Kind regards
>
> Andreas.
cu
Adrian
More information about the Python-apps-team
mailing list