=dev-python/django-4.1.4 fails its test phase, specifically two tests under backends.tests.ThreadTests, namely test_pass_connection_between_threads and test_thread_sharing_count: ====================================================================== ERROR: test_pass_connection_between_threads (backends.tests.ThreadTests) A connection can be passed from one thread to the other (#17258). ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/usr/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/var/tmp/portage/dev-python/django-4.1.4/work/Django-4.1.4/tests/backends/tests.py", line 830, in test_pass_connection_between_threads self.assertIsInstance(exceptions[0], DatabaseError) IndexError: list index out of range ====================================================================== FAIL: test_thread_sharing_count (backends.tests.ThreadTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/usr/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/var/tmp/portage/dev-python/django-4.1.4/work/Django-4.1.4/tests/backends/tests.py", line 894, in test_thread_sharing_count self.assertIs(connection.allow_thread_sharing, False) File "/usr/lib/python3.10/unittest/case.py", line 1126, in assertIs self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3.10/unittest/case.py", line 675, in fail raise self.failureException(msg) AssertionError: True is not False
Created attachment 848459 [details] dev-python:django-4.1.4:20230114-170449.log.gz
Created attachment 848461 [details] emerge-info.txt
Can you reproduce it with the newest version? I'm afraid Django's one of the, errr, harder packages to figure out why things are failing.