Package: djangorestframework
Followup-For: Bug #1002396
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
X-Debbugs-Cc: sl...@ubuntu.com
Control: tags -1 patch

Hello Sandro,

you disabled the test_markdown test in your recent upload of
djangorestframework 3.12.4-2 in order to handle the failure described in
https://github.com/encode/django-rest-framework/issues/8160

The same test suite is run as an autopkgtest and I'd like to proposed disabling
this very test in the same way there, too.

In Ubuntu, the attached patch was applied to achieve the following:

  * d/tests/control
    - skip test_markdown, which is currently failing; see issue #8160 upstream
      for followups (LP: #1955134)


Thanks for considering the patch.

Cheers,
  Lukas


-- System Information:
Debian Release: 11.0
  APT prefers impish-updates
  APT policy: (500, 'impish-updates'), (500, 'impish-security'), (500, 
'impish'), (100, 'impish-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.13.0-23-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE:en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru djangorestframework-3.12.4/debian/tests/control 
djangorestframework-3.12.4/debian/tests/control
--- djangorestframework-3.12.4/debian/tests/control     2021-12-31 
08:05:52.000000000 +0100
+++ djangorestframework-3.12.4/debian/tests/control     2022-01-05 
17:47:08.000000000 +0100
@@ -1,4 +1,7 @@
-Test-Command: cp -r tests $AUTOPKGTEST_TMP && cd $AUTOPKGTEST_TMP && pytest-3
+# Disable test_markdown until the upstream issue is resolved:
+# https://github.com/encode/django-rest-framework/issues/8160
+# Disable it the same way as done in dh_auto_test (debian/rules) at build time
+Test-Command: cp -r tests $AUTOPKGTEST_TMP && cd $AUTOPKGTEST_TMP && pytest-3 
-k 'not test_markdown'
 Depends:
  python3-pygments,
  python3-pytest,

Reply via email to