Your message dated Fri, 03 Nov 2023 20:35:19 +0000 with message-id <e1qz0sx-00fj2t...@fasolo.debian.org> and subject line Bug#1055106: fixed in django-tables 2.6.0-2 has caused the Debian Bug report #1055106, regarding Test failure prevents Django 4.x from entering in testing 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.) -- 1055106: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055106 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: src:django-tables Version: 2.6.0-1 Severity: grave Tags: patch Dear Maintainer, Tests fail on Debian CI infrastructure [1] and on my local machine as well (full log attached). This failure prevents python-django (3:4.2.6-1) from entering in testing [2]. $> autopkgtest --no-built-binaries django-tables_2.6.0-1.dsc -- null ... ... ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3/dist-packages/django/conf/urls/__init__.py) autopkgtest [14:12:24]: test test-run-py3: -----------------------] autopkgtest [14:12:24]: test test-run-py3: - - - - - - - - - - results - - - - - - - - - - test-run-py3 FAIL non-zero exit status 1 autopkgtest [14:12:24]: @@@@@@@@@@@@@@@@@@@@ summary command1 PASS test-run-py3 FAIL non-zero exit status 1 The root cause is that url() function was deprecated since Django 3.1 [3] and removed in Django 4.x Attached patch addresses the failure. Kind Regards [1] https://ci.debian.net/data/autopkgtest/unstable/amd64/d/django-tables/39070283/log.gz [2] https://qa.debian.org/excuses.php?package=python-django [3] https://code.djangoproject.com/ticket/31534--- django-tables-2.6.0/debian/tests/test-run-py3 2023-05-25 15:35:19.000000000 +0000 +++ django-tables-2.6.0/debian/tests/test-run-py3-new 2023-10-31 14:37:50.661433357 +0000 @@ -45,14 +45,14 @@ cat > testproject/urls.py << __EOF__ -from django.conf.urls import url +from django.urls import re_path from django.contrib import admin from tutorial.views import people urlpatterns = [ - url(r'^admin/', admin.site.urls), - url(r'^people/', people) + re_path(r'^admin/', admin.site.urls), + re_path(r'^people/', people) ] __EOF__
full_log.tar.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: django-tables Source-Version: 2.6.0-2 Done: Carsten Schoenert <c.schoen...@t-online.de> We believe that the bug you reported is fixed in the latest version of django-tables, 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 1055...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Carsten Schoenert <c.schoen...@t-online.de> (supplier of updated django-tables 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: SHA512 Format: 1.8 Date: Fri, 03 Nov 2023 21:12:40 +0100 Source: django-tables Architecture: source Version: 2.6.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <team+pyt...@tracker.debian.org> Changed-By: Carsten Schoenert <c.schoen...@t-online.de> Closes: 1044842 1055106 Changes: django-tables (2.6.0-2) unstable; urgency=medium . * Team upload. [ s3v ] * [52c39aa] autopkgtest: Adjust test syntax (Closes: #1055106) . [ Carsten Schoenert ] * [707b808] d/rules: Remove potential symlink in dh_clean (Closes: #1044842) Checksums-Sha1: dc150e60cc89ce63149c51150c76ff6407aa8ccc 2780 django-tables_2.6.0-2.dsc c2a59369c8da7f261eef8682581ef2ab66e542a9 10260 django-tables_2.6.0-2.debian.tar.xz 87d4eb1e251bad9469ad88530364965be64b74ce 9640 django-tables_2.6.0-2_amd64.buildinfo Checksums-Sha256: 19295c7924e29af7825117c4cc016b371d927b177ad70d30dee0e29c7df59d2a 2780 django-tables_2.6.0-2.dsc 98e0b16c7e6436e3446720cf34bf4f3c87bcdb4668cb2a13120d59633f054057 10260 django-tables_2.6.0-2.debian.tar.xz 03abef766ba8647bf73396fe31f28242439caaef9a999b0a45629e32d37daf2a 9640 django-tables_2.6.0-2_amd64.buildinfo Files: 474816bcc20aa4357a04b3511327c222 2780 python optional django-tables_2.6.0-2.dsc e45ac7f1a4b2e92d91fe45ff0cf73582 10260 python optional django-tables_2.6.0-2.debian.tar.xz 0e86984e0d0d704f3e102261769f7990 9640 python optional django-tables_2.6.0-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmVFVUcACgkQgwFgFCUd HbAPog/9G6RaVH+a10qOxlJS3c1aO/15rytqDoD2dXEv/Iyivsbrw8cqy/uukNYT b32bQBBmMt1krJSIFgI0Ek2cPZ2izJpYkmghkehnx5xSDYXyxuBYqbI3/Ko1EEQV sNY6yC2IjXSdJ6Zk7LztDG+FqBeQnrCmJNm8MICQEd3u+OKDG3K+k1qk9ze46ovl f5bDijoo9Xzc1jfq9Fe/ceXuar0Nbwp9pgBCCuuH7nZ6HaoTXYvMdPKDGqNwvPsP oR+ro4TB7PRmLJrdHeK7nI32rwEb/5ULSFuxAOE3yavFv8+h2okF9Cuf/8EQctkT 9XOoO7xbyaqO7+ZyEdI0EM7X4YQ4lFkT02Ds/C9sruBWbg4uV4aQ4oGWL+oddymG jWWE8/2NsS7b8ayukrHkCgQvnbYu1/XCrX3aCEQBufYA+yKCVdP/JpFrcmCw8dFg Sdl3c81ZqZZ52ENpunMLc9eifABDoUxf7JHU6Esqyxtlmqnev69lE9KwGkV4Ha6A E6h17ciRR8Y8/bFBsjx1V3GyQv47lItelF/3dpUQvsiRNdXkrFsJ0J5cXYSFFUUG HWp1L3L9F1ZtNYUZQQ5ZWAnf3CiwXE2CnLmK/NUrptwgCbMGSDZrXSg/V+e7ni01 O5MWdx3AKVIr6e5xbDvVUao3mpamuL9QSNclrk+2Cf638uYmSKU= =CNFk -----END PGP SIGNATURE-----
--- End Message ---