python-django-extensions fails to build with Python 3.15.0a8. /usr/bin/pytest -v django_extensions tests -k 'not PipCheckerTests and not test_graph_models_relation_fields_only' --ignore tests/test_dumpscript.py Traceback (most recent call last): File "/usr/bin/pytest", line 6, in <module> sys.exit(console_main()) ~~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 156, in main config = _prepareconfig(args, plugins) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 342, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( pluginmanager=pluginmanager, args=args ) File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/helpconfig.py", line 112, in pytest_cmdline_parse config = yield ^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 1146, in pytest_cmdline_parse self.parse(args) ~~~~~~~~~~^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 1527, in parse self._preparse(args, addopts=addopts) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/config/__init__.py", line 1431, in _preparse self.hook.pytest_load_initial_conftests( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ early_config=self, args=args, parser=self._parser ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/warnings.py", line 129, in pytest_load_initial_conftests return (yield) ^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/capture.py", line 173, in pytest_load_initial_conftests yield File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/pytest_django/plugin.py", line 361, in pytest_load_initial_conftests _setup_django(early_config) ~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pytest_django/plugin.py", line 237, in _setup_django django.setup() ~~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/django/apps/registry.py", line 116, in populate app_config.import_models() ~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/django/apps/config.py", line 269, in import_models self.models_module = import_module(models_module_name) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.15/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1317, in _gcd_import File "<frozen importlib._bootstrap>", line 1282, in _find_and_load File "<frozen importlib._bootstrap>", line 1247, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 857, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 747, in exec_module File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed File "/builddir/build/BUILD/python-django-extensions-4.1-build/django-extensions-4.1/tests/testapp/models.py", line 161, in <module> class PostWithUniqField(models.Model): ...<23 lines>... ] File "/builddir/build/BUILD/python-django-extensions-4.1-build/django-extensions-4.1/tests/testapp/models.py", line 175, in PostWithUniqField class Meta: ...<9 lines>... ] File "/builddir/build/BUILD/python-django-extensions-4.1-build/django-extensions-4.1/tests/testapp/models.py", line 181, in Meta models.CheckConstraint( ~~~~~~~~~~~~~~~~~~~~~~^ check=~models.Q(common_field=models.F("another_common_field")), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ name="common_and_another_common_differ", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ), ^ TypeError: CheckConstraint.__init__() got an unexpected keyword argument 'check' 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/10318669-python-django-extensions/ For all our attempts to build python-django-extensions with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-django-extensions/ 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.