[Python-modules-team] Bug#950049: python-djangosaml2 FTBFS with Python 3.8 as supported version

Adrian Bunk bunk at debian.org
Tue Jan 28 17:22:30 GMT 2020


Source: python-djangosaml2
Version: 0.17.2-1
Severity: serious
Tags: ftbfs bullseye sid

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

...
======================================================================
FAIL: test_login_one_idp (djangosaml2.tests.SAML2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 150, in test_login_one_idp
    self.assertSAMLRequestsEquals(
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 86, in assertSAMLRequestsEquals
    self.assertEqual(remove_variable_attributes(real_xml),
AssertionError: '<sam[113 chars]col" Version="2.0" Destination="https://idp.ex[418 chars]est>' != '<sam[113 chars]col" AssertionConsumerServiceURL="http://sp.ex[418 chars]est>'
Diff is 2245 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_login_several_idps (djangosaml2.tests.SAML2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 208, in test_login_several_idps
    self.assertSAMLRequestsEquals(decode_base64_and_inflate(saml_request).decode('utf-8'),
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 86, in assertSAMLRequestsEquals
    self.assertEqual(remove_variable_attributes(real_xml),
AssertionError: '<sam[113 chars]col" Version="2.0" Destination="https://idp2.e[419 chars]est>' != '<sam[113 chars]col" AssertionConsumerServiceURL="http://sp.ex[419 chars]est>'
Diff is 2249 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_logout_service_global (djangosaml2.tests.SAML2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 429, in test_logout_service_global
    self.assertSAMLRequestsEquals(decode_base64_and_inflate(saml_response).decode('utf-8'),
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 86, in assertSAMLRequestsEquals
    self.assertEqual(remove_variable_attributes(real_xml),
AssertionError: '<sam[115 chars]col" InResponseTo="_9961abbaae6d06d251226cb25e[356 chars]nse>' != '<sam[115 chars]col" Destination="https://idp.example.com/simp[356 chars]nse>'
Diff is 1548 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_logout_service_local (djangosaml2.tests.SAML2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 377, in test_logout_service_local
    self.assertSAMLRequestsEquals(decode_base64_and_inflate(saml_request).decode('utf-8'),
  File "/build/1st/python-djangosaml2-0.17.2/.pybuild/cpython3_3.8_django-saml2/build/djangosaml2/tests/__init__.py", line 86, in assertSAMLRequestsEquals
    self.assertEqual(remove_variable_attributes(real_xml),
AssertionError: '<sam[114 chars]col" Version="2.0" Destination="https://idp.ex[424 chars]est>' != '<sam[114 chars]col" Destination="https://idp.example.com/simp[424 chars]est>'
Diff is 1191 characters long. Set self.maxDiff to None to see it.

----------------------------------------------------------------------
Ran 23 tests in 0.402s

FAILED (failures=4, skipped=1)
Destroying test database for alias 'default'...
System check identified no issues (0 silenced).
E: pybuild pybuild:341: test: plugin custom failed with: exit code=1: python3.8 tests/run_tests.py
dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25



More information about the Python-modules-team mailing list