Created attachment 1562513 [details] build log from COPR https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00902552-python-pyswip/builder-live.log python-pyswip-0.2.7-6 fails to build with python3.7 tests fails on same ImportError. koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=34601031 output from pytest: ==================================== ERRORS ==================================== ___________________ ERROR collecting tests/test_examples.py ____________________ ImportError while importing test module '/builddir/build/BUILD/pyswip-0.2.7/tests/test_examples.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_examples.py:31: in <module> from pyswip import * pyswip/__init__.py:29: in <module> from pyswip.prolog import Prolog pyswip/prolog.py:28: in <module> from pyswip.core import * pyswip/core.py:568: in <module> (_path, SWI_HOME_DIR) = _findSwipl() pyswip/core.py:428: in _findSwipl raise ImportError('Could not find the SWI-Prolog library in this ' E ImportError: Could not find the SWI-Prolog library in this platform. If you are sure it is installed, please open an issue. ------------------------------- Captured stderr -------------------------------- swipl: Usage: 1) swipl [options] prolog-file ... [-- arg ...] 2) swipl [options] [-o executable] -c prolog-file ... 3) swipl --help Display this message (also -h) 4) swipl --version Display version information 4) swipl --arch Display architecture 6) swipl --dump-runtime-variables[=format] Dump link info in sh(1) format Options: -x state Start from state (must be first) -g goal Run goal (may be repeated) -t toplevel Toplevel goal -f file User initialisation file -F file Site initialisation file -l file Script source file -s file Script source file -p alias=path Define file search path 'alias' -O Optimised compilation --tty[=bool] (Dis)allow tty control --signals[=bool] Do (not) modify signal handling --threads[=bool] Do (not) allow for threads --debug[=bool] Do (not) generate debug info --quiet[=bool] (-q) Do (not) suppress informational messages --traditional Disable extensions of version 7 --home=DIR Use DIR as SWI-Prolog home --stack_limit=size[BKMG] Specify maximum size of Prolog stacks --table_space=size[BKMG] Specify maximum size of SLG tables --pldoc[=port] Start PlDoc server [at port] Boolean options may be written as --name=bool, --name, --no-name or --noname ____________________ ERROR collecting tests/test_prolog.py _____________________ ImportError while importing test module '/builddir/build/BUILD/pyswip-0.2.7/tests/test_prolog.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_prolog.py:34: in <module> import pyswip.prolog as pl # This implicitly tests library loading code pyswip/__init__.py:29: in <module> from pyswip.prolog import Prolog pyswip/prolog.py:28: in <module> from pyswip.core import * pyswip/core.py:568: in <module> (_path, SWI_HOME_DIR) = _findSwipl() pyswip/core.py:428: in _findSwipl raise ImportError('Could not find the SWI-Prolog library in this ' E ImportError: Could not find the SWI-Prolog library in this platform. If you are sure it is installed, please open an issue. ------------------------------- Captured stderr -------------------------------- swipl: Usage: 1) swipl [options] prolog-file ... [-- arg ...] 2) swipl [options] [-o executable] -c prolog-file ... 3) swipl --help Display this message (also -h) 4) swipl --version Display version information 4) swipl --arch Display architecture 6) swipl --dump-runtime-variables[=format] Dump link info in sh(1) format Options: -x state Start from state (must be first) -g goal Run goal (may be repeated) -t toplevel Toplevel goal -f file User initialisation file -F file Site initialisation file -l file Script source file -s file Script source file -p alias=path Define file search path 'alias' -O Optimised compilation --tty[=bool] (Dis)allow tty control --signals[=bool] Do (not) modify signal handling --threads[=bool] Do (not) allow for threads --debug[=bool] Do (not) generate debug info --quiet[=bool] (-q) Do (not) suppress informational messages --traditional Disable extensions of version 7 --home=DIR Use DIR as SWI-Prolog home --stack_limit=size[BKMG] Specify maximum size of Prolog stacks --table_space=size[BKMG] Specify maximum size of SLG tables --pldoc[=port] Start PlDoc server [at port] Boolean options may be written as --name=bool, --name, --no-name or --noname !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 2 error in 0.37 seconds ============================
* and fails to build on python3.8
This is due to the retirement of SWI Prolog (pl in Fedora). I'll retire this package, too.
The package python-pyswip is retired now.