Source: flask
Version: 0.12.2-1
Severity: serious

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

...
==================================== ERRORS ====================================
_________________ ERROR at teardown of test_session_expiration _________________

recwarn = <_pytest.recwarn.WarningsRecorder object at 0x7fd7db0c5d30>

    @pytest.yield_fixture(autouse=True)
    def catch_deprecation_warnings(recwarn):
        yield
        gc.collect()
>       assert not recwarn.list
E       assert not [<_pytest.recwarn.RecordedWarning object at 0x7fd7da3551d0>]
E        +  where [<_pytest.recwarn.RecordedWarning object at 0x7fd7da3551d0>] 
= <_pytest.recwarn.WarningsRecorder object at 0x7fd7db0c5d30>.list

tests/conftest.py:134: AssertionError
----------------------------- Captured stderr call -----------------------------
/build/1st/flask-0.12.2/.pybuild/pythonX.Y_3.6/build/tests/test_basic.py:336: 
DeprecationWarning: Flags not at the start of the expression 
'\\bexpires=([^;]+)(?i' (truncated)
  match = re.search(r'\bexpires=([^;]+)(?i)', rv.headers['set-cookie'])
=================================== FAILURES ===================================
___________________________ test_no_error_swallowing ___________________________

flaskext_broken = None

    def test_no_error_swallowing(flaskext_broken):
        with pytest.raises(ImportError) as excinfo:
            import flask.ext.broken
    
>       assert excinfo.type is ImportError
E       assert <class 'ModuleNotFoundError'> is ImportError
E        +  where <class 'ModuleNotFoundError'> = <ExceptionInfo 
ModuleNotFoundError tblen=4>.type

tests/test_ext.py:183: AssertionError
----------------------------- Captured stderr call -----------------------------
/build/1st/flask-0.12.2/.pybuild/pythonX.Y_3.6/build/tests/test_ext.py:181: 
ExtDeprecationWarning: Importing flask.ext.broken is deprecated, use 
flask_broken instead.
  import flask.ext.broken
/tmp/pytest-of-pbuilder1/pytest-1/test_no_error_swallowing0/modules_tmpdir/flask_broken/__init__.py:1:
 ExtDeprecationWarning: Importing flask.ext.broken is deprecated, use 
flask_broken instead.
  import flask.ext.broken.b
========== 1 failed, 321 passed, 3 skipped, 1 error in 16.00 seconds ===========
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
/build/1st/flask-0.12.2/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 3.5 
returned exit code 13
debian/rules:10: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25


Ubuntu ships a 3.6 support patch that will likely fix it (untested).

Reply via email to