python-pyswip fails to build with Python 3.15.0a6. 28 tests failed with: ___________________________ TestProlog.test_retract ____________________________ self = <pyswip.prolog.Prolog._QueryWrapper object at 0x7feea4f91e00> query = 'person(X)', maxresult = -2, catcherrors = True, normalize = True def __call__(self, query, maxresult, catcherrors, normalize): Prolog._init_prolog_thread() swipl_fid = PL_open_foreign_frame() swipl_args = PL_new_term_refs(2) swipl_goalCharList = swipl_args swipl_bindingList = swipl_args + 1 PL_put_chars( swipl_goalCharList, PL_STRING | REP_UTF8, -1, query.encode("utf-8") ) swipl_predicate = PL_predicate("pyrun", 2, None) plq = PL_Q_NODEBUG | PL_Q_CATCH_EXCEPTION if catcherrors else PL_Q_NORMAL swipl_qid = PL_open_query(None, plq, swipl_predicate, swipl_args) Prolog._queryIsOpen = True # From now on, the query will be considered open try: while maxresult and PL_next_solution(swipl_qid): maxresult -= 1 swipl_list = PL_copy_term_ref(swipl_bindingList) t = getTerm(swipl_list) if normalize: try: > v = t.value ^^^^^^^ E AttributeError: 'list' object has no attribute 'value' ../BUILDROOT/usr/lib/python3.15/site-packages/pyswip/prolog.py:158: AttributeError During handling of the above exception, another exception occurred: self = <tests.test_prolog.TestProlog testMethod=test_retract> def test_retract(self): Prolog.dynamic("person/1") Prolog.asserta("person(jane)") > result = list(Prolog.query("person(X)")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_prolog.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pyswip.prolog.Prolog._QueryWrapper object at 0x7feea4f91e00> query = 'person(X)', maxresult = -2, catcherrors = True, normalize = True def __call__(self, query, maxresult, catcherrors, normalize): Prolog._init_prolog_thread() swipl_fid = PL_open_foreign_frame() swipl_args = PL_new_term_refs(2) swipl_goalCharList = swipl_args swipl_bindingList = swipl_args + 1 PL_put_chars( swipl_goalCharList, PL_STRING | REP_UTF8, -1, query.encode("utf-8") ) swipl_predicate = PL_predicate("pyrun", 2, None) plq = PL_Q_NODEBUG | PL_Q_CATCH_EXCEPTION if catcherrors else PL_Q_NORMAL swipl_qid = PL_open_query(None, plq, swipl_predicate, swipl_args) Prolog._queryIsOpen = True # From now on, the query will be considered open try: while maxresult and PL_next_solution(swipl_qid): maxresult -= 1 swipl_list = PL_copy_term_ref(swipl_bindingList) t = getTerm(swipl_list) if normalize: try: v = t.value except AttributeError: v = {} > for r in [x.value for x in t]: ^^^^^^^ E AttributeError: 'list' object has no attribute 'value' 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/10144780-python-pyswip/ For all our attempts to build python-pyswip with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-pyswip/ 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.