Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923002

Summary: dev-python/django-sortedm2m broken with >=dev-python/django-5
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal CC: mgorny
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/jazzband/django-sortedm2m/issues/212
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 722500    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-01-27 06:54:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/django-sortedm2m-3.1.1-r1 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM
Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-27 06:54:47 UTC
Created attachment 883222 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-27 06:54:48 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


AssertionError: Lists differ: [1, 2, 3] != [1, 3, 2]
FAIL: test_prefetch_related_sorting (sortedm2m_tests.test_field.TestCustomBaseClass)
FAIL: test_prefetch_related_sorting (sortedm2m_tests.test_field.TestSortedManyToManyField)
FAIL: test_prefetch_related_sorting (sortedm2m_tests.test_field.TestStringReference)
FAILED (failures=3)
Comment 3 Larry the Git Cow gentoo-dev 2024-01-27 12:10:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cef5b163b2dfa63fe6a85956affd17255d43888c

commit cef5b163b2dfa63fe6a85956affd17255d43888c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-01-27 11:44:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-27 12:10:33 +0000

    dev-python/django-sortedm2m: Restrict to <dev-python/django-5
    
    Bug: https://bugs.gentoo.org/923002
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...ngo-sortedm2m-3.1.1-r1.ebuild => django-sortedm2m-3.1.1-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)