[Python-modules-team] Bug#950064: pyxb FTBFS with Python 3.8 as supported version
Adrian Bunk
bunk at debian.org
Tue Jan 28 19:00:26 GMT 2020
Source: pyxb
Version: 1.2.6+dfsg-2
Severity: serious
Tags: ftbfs bullseye sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pyxb.html
...
tests/trac/test-trac-0231.py failed in compile: function takes 3 arguments plus optional tzinfo (8 given)
Traceback (most recent call last):
File "setup.py", line 222, in <module>
setup(name='PyXB',
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 150, in run
eval(rv, g)
File "test_trac_0231", line 47, in <module>
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 1818, in GeneratePython
modules = generator.bindingModules()
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 2881, in bindingModules
self.__generateBindings()
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 2868, in __generateBindings
GenerateSTD(std, self)
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 558, in GenerateSTD
GenerateFacets(std, generator, **kw)
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 409, in GenerateFacets
outf.write("%s = %s(%s)\n" % binding_module.literal( (facet_var, fc, argset ), **kw))
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 1562, in literal
return self.__bindingIO.literal(*args, **kw)
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 1229, in literal
return pythonLiteral(*args, **kw)
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 208, in pythonLiteral
return type(value)(pythonLiteral(list(value), **kw))
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 200, in pythonLiteral
return [ pythonLiteral(_v, **kw) for _v in value ]
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 200, in <listcomp>
return [ pythonLiteral(_v, **kw) for _v in value ]
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 196, in pythonLiteral
return ', '.join([ '%s=%s' % (k, pythonLiteral(v, **kw)) for (k, v) in six.iteritems(value) ])
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 196, in <listcomp>
return ', '.join([ '%s=%s' % (k, pythonLiteral(v, **kw)) for (k, v) in six.iteritems(value) ])
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/generate.py", line 219, in pythonLiteral
return PrefixModule(value, value.pythonLiteral())
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/basis.py", line 1133, in pythonLiteral
return self.PythonLiteral(self)
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/basis.py", line 1127, in PythonLiteral
value = value.xsdLiteral()
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/basis.py", line 1010, in xsdLiteral
return self.XsdLiteral(self)
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/datatypes.py", line 761, in XsdLiteral
value += datetime.timedelta(minutes=cls.__MinutesPerHalfDay)
File "/build/1st/pyxb-1.2.6+dfsg/pyxb/binding/datatypes.py", line 685, in __new__
raise TypeError('function takes %d arguments plus optional tzinfo (%d given)' % (len(cls._ValidFields), len(args)))
TypeError: function takes 3 arguments plus optional tzinfo (8 given)
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 1
More information about the Python-modules-team
mailing list