Bug 2584090
| Summary: | python-django-configurations fails to build with Python 3.16: AssertionError: "Cannot interpret cache URL value 'wrong://user@host:port/1'" != 'Unknown backend: "wrong"' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-django-configurations | Assignee: | Michel Lind <michel> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | davide, epel-packagers-sig, ksurma, mhroncok, michel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2567340 | ||
python-django-configurations fails to build with Python 3.16.0a2. _______________________ ValueTests.test_cache_url_value ________________________ self = <tests.test_values.ValueTests testMethod=test_cache_url_value> def test_cache_url_value(self): cache_setting = { 'default': { 'BACKEND': 'django.core.cache.backends.redis.RedisCache', # noqa: E501 'LOCATION': 'redis://host:6379/1', } } cache_url = 'redis://user@host:6379/1' value = CacheURLValue(cache_url) self.assertEqual(value.default, cache_setting) value = CacheURLValue() self.assertEqual(value.default, {}) with env(CACHE_URL='redis://user@host:6379/1'): self.assertEqual(value.setup('CACHE_URL'), cache_setting) with env(CACHE_URL='wrong://user@host:port/1'): with self.assertRaises(Exception) as cm: value.setup('TEST') > self.assertEqual(cm.exception.args[0], 'Unknown backend: "wrong"') E AssertionError: "Cannot interpret cache URL value 'wrong://user@host:port/1'" != 'Unknown backend: "wrong"' E - Cannot interpret cache URL value 'wrong://user@host:port/1' E + Unknown backend: "wrong" https://docs.python.org/3.16/whatsnew/3.16.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.16/fedora-rawhide-x86_64/11359639-python-django-configurations/ For all our attempts to build python-django-configurations with Python 3.16, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.16/package/python-django-configurations/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.16: https://copr.fedorainfracloud.org/coprs/g/python/python3.16/ Let us know here if you have any questions. Python 3.16 is planned to be included in Fedora 47. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.16. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.