python-django6 fails to build with Python 3.15.0a8. ====================================================================== ERROR: test_strip_tags (utils_tests.test_html.TestUtilsHtml.test_strip_tags) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.15/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib64/python3.15/unittest/case.py", line 667, in run self._callTestMethod(testMethod) File "/usr/lib64/python3.15/unittest/case.py", line 613, in _callTestMethod result = method() ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-django6-6.0.2-build/django-6.0.2/tests/utils_tests/test_html.py", line 135, in test_strip_tags sys.version_info >= min_fixed_security[sys.version_info[:2]] ^^^^^^^^^^^ KeyError: (3, 15) ====================================================================== FAIL: test_database_sharing_in_threads (backends.sqlite.tests.ThreadSharing.test_database_sharing_in_threads) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.15/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib64/python3.15/unittest/case.py", line 667, in run self._callTestMethod(testMethod) File "/usr/lib64/python3.15/unittest/case.py", line 613, in _callTestMethod result = method() ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-django6-6.0.2-build/django-6.0.2/tests/backends/sqlite/tests.py", line 268, in test_database_sharing_in_threads self.assertEqual(Object.objects.count(), 2) ^^^^^^^^^^^ File "/usr/lib64/python3.15/unittest/case.py", line 925, in assertEqual assertion_func(first, second, msg=msg) ^^^^^^^^^^^^^^^ File "/usr/lib64/python3.15/unittest/case.py", line 918, in _baseAssertEqual raise self.failureException(msg) ^^^^^^^^^^^ AssertionError: 1 != 2 ====================================================================== FAIL: test_invalid_choice_db_option (admin_scripts.tests.CommandDBOptionChoiceTests.test_invalid_choice_db_option) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.15/argparse.py", line 2124, in _parse_known_args2 namespace, args = self._parse_known_args(args, namespace, intermixed) ^^^^^^^ File "/usr/lib64/python3.15/argparse.py", line 2375, in _parse_known_args start_index = consume_optional(start_index) ^^^^^^^^^^^ File "/usr/lib64/python3.15/argparse.py", line 2299, in consume_optional take_action(action, args, option_string) ^^^^^^^ File "/usr/lib64/python3.15/argparse.py", line 2185, in take_action argument_values = self._get_values(action, argument_strings) ^^^^^^^^^^^ File "/usr/lib64/python3.15/argparse.py", line 2702, in _get_values self._check_value(action, value) ^^^^^^^^^^^ File "/usr/lib64/python3.15/argparse.py", line 2773, in _check_value raise ArgumentError(action, msg % args) ^^^^^^^^^^^ argparse.ArgumentError: argument --database: invalid choice: 'deflaut', maybe you meant 'default'? (choose from default, other) During handling of the above exception, another exception occurred: django.core.management.base.CommandError: Error: argument --database: invalid choice: 'deflaut', maybe you meant 'default'? (choose from default, other) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.15/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib64/python3.15/unittest/case.py", line 667, in run self._callTestMethod(testMethod) File "/usr/lib64/python3.15/unittest/case.py", line 613, in _callTestMethod result = method() ^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-django6-6.0.2-build/django-6.0.2/tests/admin_scripts/tests.py", line 2472, in test_invalid_choice_db_option with self.assertRaisesRegex(CommandError, expected_error): ^^^^^^^^^^^ File "/usr/lib64/python3.15/unittest/case.py", line 283, in __exit__ self._raiseFailure('"{}" does not match "{}"'.format( ^^^^^^^^^^^ File "/usr/lib64/python3.15/unittest/case.py", line 207, in _raiseFailure raise self.test_case.failureException(msg) ^^^^^^^^^^^^^^^ AssertionError: "Error: argument --database: invalid choice: 'deflaut' \(choose from '?default'?, '?other'?\)" does not match "Error: argument --database: invalid choice: 'deflaut', maybe you meant 'default'? (choose from default, other)" https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10318667-python-django6/ For all our attempts to build python-django6 with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-django6/ 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.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. 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.