Your message dated Fri, 31 Dec 2021 07:33:31 +0000
with message-id <e1n3cpr-0008y7...@fasolo.debian.org>
and subject line Bug#1002396: fixed in djangorestframework 3.12.4-2
has caused the Debian Bug report #1002396,
regarding djangorestframework: FTBFS: dh_auto_test: error: pybuild --test
--test-pytest -i python{version} -p "3.10 3.9" returned exit code 13
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1002396: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002396
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: djangorestframework
Version: 3.12.4-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom \
> PYBUILD_TEST_ARGS="{interpreter} /<<PKGBUILDDIR>>/runtests.py --nolint" \
> dh_auto_test
> I: pybuild base:237: python3.10 /<<PKGBUILDDIR>>/runtests.py --nolint
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: django-3.5.1, cov-3.0.0
> collected 1403 items
>
> tests/test_api_client.py .................... [
> 1%]
> tests/test_atomic_requests.py ..... [
> 1%]
> tests/test_authtoken.py ........... [
> 2%]
> tests/test_bound_fields.py ........... [
> 3%]
> tests/test_decorators.py .................. [
> 4%]
> tests/test_description.py F.......... [
> 5%]
> tests/test_encoders.py .......... [
> 6%]
> tests/test_exceptions.py .......... [
> 6%]
> tests/test_fields.py ................................................... [
> 10%]
> ........................................................................ [
> 15%]
> ........................................................................ [
> 20%]
> ........................................................................ [
> 25%]
> .......................... [
> 27%]
> tests/test_filters.py ................................. [
> 30%]
> tests/test_generics.py ....................................... [
> 32%]
> tests/test_htmlrenderer.py ........ [
> 33%]
> tests/test_lazy_hyperlinks.py . [
> 33%]
> tests/test_metadata.py ............. [
> 34%]
> tests/test_middleware.py .. [
> 34%]
> tests/test_model_serializer.py ................sss...................... [
> 37%]
> ............... [
> 38%]
> tests/test_multitable_inheritance.py ... [
> 38%]
> tests/test_negotiation.py ........... [
> 39%]
> tests/test_one_to_one_with_inheritance.py . [
> 39%]
> tests/test_pagination.py ............................................... [
> 42%]
> .. [
> 43%]
> tests/test_parsers.py ............ [
> 43%]
> tests/test_permissions.py .......................................... [
> 46%]
> tests/test_prefetch_related.py .. [
> 47%]
> tests/test_relations.py ....................................... [
> 49%]
> tests/test_relations_hyperlink.py ...................... [
> 51%]
> tests/test_relations_pk.py .................................... [
> 54%]
> tests/test_relations_slug.py ............... [
> 55%]
> tests/test_renderers.py ................................................ [
> 58%]
> ...... [
> 58%]
> tests/test_request.py ........................ [
> 60%]
> tests/test_requests_client.py .......... [
> 61%]
> tests/test_response.py .................. [
> 62%]
> tests/test_reverse.py ... [
> 62%]
> tests/test_routers.py ........................... [
> 64%]
> tests/test_serializer.py ............................................... [
> 68%]
> ..... [
> 68%]
> tests/test_serializer_bulk_update.py ..... [
> 68%]
> tests/test_serializer_lists.py .............................. [
> 70%]
> tests/test_serializer_nested.py ................ss [
> 72%]
> tests/test_settings.py .... [
> 72%]
> tests/test_status.py . [
> 72%]
> tests/test_templates.py .. [
> 72%]
> tests/test_templatetags.py ........................... [
> 74%]
> tests/test_testing.py .................... [
> 76%]
> tests/test_throttling.py ............................. [
> 78%]
> tests/test_urlpatterns.py ........... [
> 78%]
> tests/test_utils.py ....................... [
> 80%]
> tests/test_validation.py .............. [
> 81%]
> tests/test_validation_error.py ..... [
> 81%]
> tests/test_validators.py ...................................... [
> 84%]
> tests/test_versioning.py .......................... [
> 86%]
> tests/test_views.py ..... [
> 86%]
> tests/test_viewsets.py ................. [
> 88%]
> tests/test_write_only_fields.py .. [
> 88%]
> tests/authentication/test_authentication.py ............................ [
> 90%]
> .............................. [
> 92%]
> tests/browsable_api/test_browsable_api.py ...... [
> 92%]
> tests/browsable_api/test_browsable_nested_api.py . [
> 92%]
> tests/browsable_api/test_form_rendering.py ... [
> 93%]
> tests/generic_relations/test_generic_relations.py .. [
> 93%]
> tests/importable/test_installed.py ... [
> 93%]
> tests/schemas/test_coreapi.py ................................ [
> 95%]
> tests/schemas/test_get_schema_view.py .. [
> 95%]
> tests/schemas/test_managementcommand.py ........ [
> 96%]
> tests/schemas/test_openapi.py .......................................... [
> 99%]
> ........
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________ TestViewNamesAndDescriptions.test_markdown
> __________________
> tests/test_description.py:170: in test_markdown
> assert apply_markdown(DESCRIPTION) == MARKDOWN_BASE % MARKDOWN_gte_33
> E AssertionError: assert '<h2 id="an-e...<p><br /></p>' == '<h2
> id="an-e...<p><br /></p>'
> E Skipping 445 identical leading characters in diff, use -v to show
> E - an class="nt">"beta: "</span><span class="err">this</span>
> <span class="err">is</span> <span class="err">a</span> <span
> class="err">string"</span><br /><span class="p">}]</span><br
> /></pre></div>
> E + an class="s2">"beta: "</span><span class="kc">t</span><span
> class="err">his</span> <span class="err">is</span> <span class="err">a</span>
> <span class="err">s</span><span class="kc">tr</span><span
> class="err">i</span><span class="kc">n</span><span
> class="err">g"</span><br /><span cl...
> E
> E ...Full output truncated (2 lines hidden), use '-vv' to show
> =============================== warnings summary
> ===============================
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1183
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1183:
> PytestDeprecationWarning: The --strict option is deprecated, use
> --strict-markers instead.
> self.issue_config_time_warning(
>
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233:
> PytestConfigWarning: Unknown config option: testspath
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> tests/test_authtoken.py::AuthTokenTests::test_authtoken_can_be_imported_when_not_included_in_installed_apps
> /usr/lib/python3/dist-packages/django/db/models/base.py:321:
> RuntimeWarning: Model 'authtoken.token' was already registered. Reloading
> models is not advised as it can lead to inconsistencies, most notably with
> related models.
> new_class._meta.apps.register_model(new_class._meta.app_label, new_class)
>
> tests/test_authtoken.py::AuthTokenTests::test_authtoken_can_be_imported_when_not_included_in_installed_apps
> /usr/lib/python3/dist-packages/django/db/models/base.py:321:
> RuntimeWarning: Model 'authtoken.tokenproxy' was already registered.
> Reloading models is not advised as it can lead to inconsistencies, most
> notably with related models.
> new_class._meta.apps.register_model(new_class._meta.app_label, new_class)
>
> -- 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: has 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, 1397 passed, 5 skipped, 4 warnings in 10.51s
> ============
> E: pybuild pybuild:355: test: plugin custom failed with: exit code=1:
> python3.10 /<<PKGBUILDDIR>>/runtests.py --nolint
> I: pybuild base:237: python3.9 /<<PKGBUILDDIR>>/runtests.py --nolint
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: django-3.5.1, cov-3.0.0
> collected 1403 items
>
> tests/test_api_client.py .................... [
> 1%]
> tests/test_atomic_requests.py ..... [
> 1%]
> tests/test_authtoken.py ........... [
> 2%]
> tests/test_bound_fields.py ........... [
> 3%]
> tests/test_decorators.py .................. [
> 4%]
> tests/test_description.py F.......... [
> 5%]
> tests/test_encoders.py .......... [
> 6%]
> tests/test_exceptions.py .......... [
> 6%]
> tests/test_fields.py ................................................... [
> 10%]
> ........................................................................ [
> 15%]
> ........................................................................ [
> 20%]
> ........................................................................ [
> 25%]
> .......................... [
> 27%]
> tests/test_filters.py ................................. [
> 30%]
> tests/test_generics.py ....................................... [
> 32%]
> tests/test_htmlrenderer.py ........ [
> 33%]
> tests/test_lazy_hyperlinks.py . [
> 33%]
> tests/test_metadata.py ............. [
> 34%]
> tests/test_middleware.py .. [
> 34%]
> tests/test_model_serializer.py ................sss...................... [
> 37%]
> ............... [
> 38%]
> tests/test_multitable_inheritance.py ... [
> 38%]
> tests/test_negotiation.py ........... [
> 39%]
> tests/test_one_to_one_with_inheritance.py . [
> 39%]
> tests/test_pagination.py ............................................... [
> 42%]
> .. [
> 43%]
> tests/test_parsers.py ............ [
> 43%]
> tests/test_permissions.py .......................................... [
> 46%]
> tests/test_prefetch_related.py .. [
> 47%]
> tests/test_relations.py ....................................... [
> 49%]
> tests/test_relations_hyperlink.py ...................... [
> 51%]
> tests/test_relations_pk.py .................................... [
> 54%]
> tests/test_relations_slug.py ............... [
> 55%]
> tests/test_renderers.py ................................................ [
> 58%]
> ...... [
> 58%]
> tests/test_request.py ........................ [
> 60%]
> tests/test_requests_client.py .......... [
> 61%]
> tests/test_response.py .................. [
> 62%]
> tests/test_reverse.py ... [
> 62%]
> tests/test_routers.py ........................... [
> 64%]
> tests/test_serializer.py ............................................... [
> 68%]
> ..... [
> 68%]
> tests/test_serializer_bulk_update.py ..... [
> 68%]
> tests/test_serializer_lists.py .............................. [
> 70%]
> tests/test_serializer_nested.py ................ss [
> 72%]
> tests/test_settings.py .... [
> 72%]
> tests/test_status.py . [
> 72%]
> tests/test_templates.py .. [
> 72%]
> tests/test_templatetags.py ........................... [
> 74%]
> tests/test_testing.py .................... [
> 76%]
> tests/test_throttling.py ............................. [
> 78%]
> tests/test_urlpatterns.py ........... [
> 78%]
> tests/test_utils.py ....................... [
> 80%]
> tests/test_validation.py .............. [
> 81%]
> tests/test_validation_error.py ..... [
> 81%]
> tests/test_validators.py ...................................... [
> 84%]
> tests/test_versioning.py .......................... [
> 86%]
> tests/test_views.py ..... [
> 86%]
> tests/test_viewsets.py ................. [
> 88%]
> tests/test_write_only_fields.py .. [
> 88%]
> tests/authentication/test_authentication.py ............................ [
> 90%]
> .............................. [
> 92%]
> tests/browsable_api/test_browsable_api.py ...... [
> 92%]
> tests/browsable_api/test_browsable_nested_api.py . [
> 92%]
> tests/browsable_api/test_form_rendering.py ... [
> 93%]
> tests/generic_relations/test_generic_relations.py .. [
> 93%]
> tests/importable/test_installed.py ... [
> 93%]
> tests/schemas/test_coreapi.py ................................ [
> 95%]
> tests/schemas/test_get_schema_view.py .. [
> 95%]
> tests/schemas/test_managementcommand.py ........ [
> 96%]
> tests/schemas/test_openapi.py .......................................... [
> 99%]
> ........
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________ TestViewNamesAndDescriptions.test_markdown
> __________________
> tests/test_description.py:170: in test_markdown
> assert apply_markdown(DESCRIPTION) == MARKDOWN_BASE % MARKDOWN_gte_33
> E AssertionError: assert '<h2 id="an-e...<p><br /></p>' == '<h2
> id="an-e...<p><br /></p>'
> E Skipping 445 identical leading characters in diff, use -v to show
> E - an class="nt">"beta: "</span><span class="err">this</span>
> <span class="err">is</span> <span class="err">a</span> <span
> class="err">string"</span><br /><span class="p">}]</span><br
> /></pre></div>
> E + an class="s2">"beta: "</span><span class="kc">t</span><span
> class="err">his</span> <span class="err">is</span> <span class="err">a</span>
> <span class="err">s</span><span class="kc">tr</span><span
> class="err">i</span><span class="kc">n</span><span
> class="err">g"</span><br /><span cl...
> E
> E ...Full output truncated (2 lines hidden), use '-vv' to show
> =============================== warnings summary
> ===============================
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1183
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1183:
> PytestDeprecationWarning: The --strict option is deprecated, use
> --strict-markers instead.
> self.issue_config_time_warning(
>
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233:
> PytestConfigWarning: Unknown config option: testspath
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> tests/test_authtoken.py::AuthTokenTests::test_authtoken_can_be_imported_when_not_included_in_installed_apps
> /usr/lib/python3/dist-packages/django/db/models/base.py:321:
> RuntimeWarning: Model 'authtoken.token' was already registered. Reloading
> models is not advised as it can lead to inconsistencies, most notably with
> related models.
> new_class._meta.apps.register_model(new_class._meta.app_label, new_class)
>
> tests/test_authtoken.py::AuthTokenTests::test_authtoken_can_be_imported_when_not_included_in_installed_apps
> /usr/lib/python3/dist-packages/django/db/models/base.py:321:
> RuntimeWarning: Model 'authtoken.tokenproxy' was already registered.
> Reloading models is not advised as it can lead to inconsistencies, most
> notably with related models.
> new_class._meta.apps.register_model(new_class._meta.app_label, new_class)
>
> -- 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: has 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, 1397 passed, 5 skipped, 4 warnings in 10.53s
> ============
> E: pybuild pybuild:355: 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.10
> 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/djangorestframework_3.12.4-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: djangorestframework
Source-Version: 3.12.4-2
Done: Sandro Tosi <mo...@debian.org>
We believe that the bug you reported is fixed in the latest version of
djangorestframework, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1002...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated djangorestframework package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 31 Dec 2021 02:05:52 -0500
Source: djangorestframework
Architecture: source
Version: 3.12.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Closes: 1002396
Changes:
djangorestframework (3.12.4-2) unstable; urgency=medium
.
* debian/rules
- skip test_markdown, which is currently failing; see issue #8160 upstream
for followups; Closes: #1002396
Checksums-Sha1:
92ac95c758a06f6400eb7fbad007ed9538dd41bc 2574 djangorestframework_3.12.4-2.dsc
31cd8c63f3d48cf05304e5fbe2e5ca52aa053018 333208
djangorestframework_3.12.4-2.debian.tar.xz
2bb32c9b08b8f10d111e567f48244c1bf3b40344 8686
djangorestframework_3.12.4-2_source.buildinfo
Checksums-Sha256:
e5642b6b03eeb072d6e6530f94940d41a1a6718176d3ab43e7c865bf50dbcc99 2574
djangorestframework_3.12.4-2.dsc
c91b979e19057c1dd765b66174a5d61769c2f9b8f203145de6858696ccc65db9 333208
djangorestframework_3.12.4-2.debian.tar.xz
28279b27ea08312cee808e56cf33d7ed966797a501a98212e1fd7033a0e826a2 8686
djangorestframework_3.12.4-2_source.buildinfo
Files:
4d639b2d9602290ef044b3725f98b667 2574 python optional
djangorestframework_3.12.4-2.dsc
a4ff77256105ba103dcd1daf97ec62a3 333208 python optional
djangorestframework_3.12.4-2.debian.tar.xz
245907fc7a47fcffb5ed4a8b2201ac44 8686 python optional
djangorestframework_3.12.4-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmHOrAAACgkQh588mTgB
qU8XsxAAjMfuUVWJ+MhBguYkTHCyxgQ3xEeZ3QfEZMHTnIjKutwYWtPy5K1MiOKF
O2oMW+Fdp9wY8V525WIruvx3IN154Tya/FRYUaQAlmOmFXElWc2O33yTmRQtELZY
A59Oy6+HFNTW/EwBrAx5CPW0iAuxokqMqzNqe6BYIKdoxt1e3aeBGhdJiugQjTCP
aQDOrUEmWrF5JFQsfUJsfog+FgFcOmI9IXc08GrhdGZ/ldnu/sCjJa2HS+THtENN
50yqMun000VBs0znHV51GOncgefYbWxKm3ZGTNKuEs4yR7g9adj3BtKGz6r1f4Vo
jRURBVRcY1e2psSBcBHja3NQuznwzd6PzZjRIIt2WZXPAkwO3ubD93UKK3cSwdJk
yCTBOjGm8H3jzJYzZGLFmdsKjXutvMwCjyxRM4TuMTMb4/unQKYTDeH8bMvfAW6L
juHHzRjwgJ26SsbgnOGDGGLmawbj4qLGxdfTHDOLeFbGiD+FPuvuS25uqKIZ2996
DnPOBGlTd9b3Bz0puaiwVd6GLQRyu+h5wIPh4P3f6q9heeQHLPRGYGjEoLApj93V
YM1S2orn0PZfVLCNs149BLDjGBDWKFbdOXId62rZ7BuBamOMGdmz7UkfouKo98sm
EA2Q66jjLqL64Ym6yLtt8D9LvkUxV53H5WvdIunnd4WwonAL4Ic=
=wIYj
-----END PGP SIGNATURE-----
--- End Message ---