Source: djangorestframework Version: 3.12.1-1 Severity: important User: pyt...@packages.debian.org Usertags: pytest-v6
Hi, djangorestframework FTBFS with pytest 6 in experimental. The error log below has more details. > =================================== FAILURES > =================================== > __________________ TestViewNamesAndDescriptions.test_markdown > __________________ > tests/test_description.py:184: in test_markdown > assert gte_21_match or lt_21_match > E AssertionError: assert (False or False) > =============================== warnings summary > =============================== > /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1148 > /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1148: > PytestConfigWarning: Unknown config ini key: testspath > > self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key)) > > tests/test_serializer_nested.py::TestNestedSerializerWithMany::test_null_is_not_allowed_if_allow_null_is_not_set > tests/test_serializer_nested.py::TestNestedSerializerWithMany::test_empty_not_allowed_if_allow_empty_is_set_to_false > /<<PKGBUILDDIR>>/rest_framework/exceptions.py:77: DeprecationWarning: > NotImplemented should not be used in a boolean context > return r and self.code == other.code > > -- Docs: https://docs.pytest.org/en/stable/warnings.html > =========================== short test summary info > ============================ > SKIPPED [1] tests/test_model_serializer.py:445: condition: not postgres_fields > SKIPPED [1] tests/test_model_serializer.py:430: condition: not postgres_fields > SKIPPED [1] tests/test_model_serializer.py:462: condition: not postgres_fields > SKIPPED [1] tests/test_model_serializer.py:487: no models.JSONField > SKIPPED [1] tests/test_serializer_nested.py:325: psycopg2 is not installed > SKIPPED [1] tests/test_serializer_nested.py:343: psycopg2 is not installed > FAILED tests/test_description.py::TestViewNamesAndDescriptions::test_markdown > ============ 1 failed, 1383 passed, 6 skipped, 3 warnings in 9.72s > ============= > E: pybuild pybuild:353: test: plugin custom failed with: exit code=1: > python3.9 /<<PKGBUILDDIR>>/runtests.py --nolint > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 > returned exit code 13 > make[1]: *** [debian/rules:31: override_dh_auto_test] Error 25 > make: *** [debian/rules:8: binary] Error 2 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 > make[1]: Leaving directory '/<<PKGBUILDDIR>>'