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

Bug 935773

Summary: dev-python/django-configurations-2.5.1 fails test test_database_url_value
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-python:django-configurations-2.5.1:20240708-123802.log
emerge-info.txt

Description Jonathan Lovelace 2024-07-08 23:56:11 UTC
Created attachment 897349 [details]
dev-python:django-configurations-2.5.1:20240708-123802.log

When rebuilding with tests enabled, after having built with them disabled in the Python 3.12 transition due to a circular dependency, =dev-python/django-configurations-2.5.1 fails its tests on this machine, specifically the test tests.test_values.ValueTests.test_database_url_value:

======================================================================
FAIL: test_database_url_value (tests.test_values.ValueTests.test_database_url_value)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/django-configurations-2.5.1/work/django-configurations-2.5.1/tests/test_values.py", line 376, in test_database_url_value
    self.assertEqual(value.setup('DATABASE_URL'), {
AssertionError: {'default': {'NAME': ':memory:', 'USER': '', 'PASSWORD'[151 chars]e3'}} != {'default': {'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE[113 chars] ''}}
  {'default': {'CONN_HEALTH_CHECKS': False,
               'CONN_MAX_AGE': 0,
-              'DISABLE_SERVER_SIDE_CURSORS': False,
               'ENGINE': 'django.db.backends.sqlite3',
               'HOST': '',
               'NAME': ':memory:',
               'PASSWORD': '',
               'PORT': '',
               'USER': ''}}

----------------------------------------------------------------------
Comment 1 Jonathan Lovelace 2024-07-08 23:56:37 UTC
Created attachment 897350 [details]
emerge-info.txt