[Python-modules-team] Bug#893019: flask-restful FTBFS with python3-aniso8601 3.0.0-1

Adrian Bunk bunk at debian.org
Thu Mar 15 17:29:17 UTC 2018


Source: flask-restful
Version: 0.3.6-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/flask-restful.html

...
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:215: cd /build/1st/flask-restful-0.3.6/.pybuild/cpython3_3.6_flask-restful/build; python3.6 -m nose tests
...[2019-04-16 18:13:58,776] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/build/1st/flask-restful-0.3.6/.pybuild/cpython3_3.6_flask-restful/build/flask_restful/__init__.py", line 484, in wrapper
    return self.make_response(data, code, headers=headers)
  File "/build/1st/flask-restful-0.3.6/.pybuild/cpython3_3.6_flask-restful/build/flask_restful/__init__.py", line 521, in make_response
    raise InternalServerError()
werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.
.........................[2019-04-16 18:13:58,929] ERROR in app: Exception on /foo [GET]
................[2019-04-16 18:13:59,024] ERROR in app: Exception on /foo [GET]
..[2019-04-16 18:13:59,032] ERROR in app: Exception on /foo [GET]
.......................................................................................................................................................................................................................................................E.....................................................................................................
======================================================================
ERROR: tests.test_inputs.test_bad_isointervals(<class 'ValueError'>, <function iso8601interval at 0x7f23053a2268>, '')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3.6/unittest/case.py", line 733, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.6/unittest/case.py", line 178, in handle
    callable_obj(*args, **kwargs)
  File "/build/1st/flask-restful-0.3.6/.pybuild/cpython3_3.6_flask-restful/build/flask_restful/inputs.py", line 171, in iso8601interval
    start, end = _parse_interval(value)
  File "/build/1st/flask-restful-0.3.6/.pybuild/cpython3_3.6_flask-restful/build/flask_restful/inputs.py", line 134, in _parse_interval
    return sorted(aniso8601.parse_interval(value))
  File "/usr/lib/python3/dist-packages/aniso8601/interval.py", line 34, in parse_interval
    if isointervalstr[0] == 'R':
IndexError: string index out of range

----------------------------------------------------------------------
Ran 395 tests in 1.483s

FAILED (errors=1)
E: pybuild pybuild:323: test: plugin distutils failed with: exit code=1: cd /build/1st/flask-restful-0.3.6/.pybuild/cpython3_3.6_flask-restful/build; python3.6 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 3.6 returned exit code 13
make: *** [debian/rules:6: build] Error 25



More information about the Python-modules-team mailing list