Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'], chrootPath='/var/lib/mock/f42-build-56750992-6545873/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '80fe747dbc27455db2a9ea8e48f4a7eb', '-D', '/var/lib/mock/f42-build-56750992-6545873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1728000000 Wrote: /builddir/build/SRPMS/python-pyriemann-0.7-1.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'], chrootPath='/var/lib/mock/f42-build-56750992-6545873/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '97035afae1c648a7acf2888b0077927c', '-D', '/var/lib/mock/f42-build-56750992-6545873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1728000000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.rEfe9Z + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + test -d /builddir/build/BUILD/python-pyriemann-0.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-pyriemann-0.7-build + /usr/bin/rm -rf /builddir/build/BUILD/python-pyriemann-0.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AfrmwB + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + cd /builddir/build/BUILD/python-pyriemann-0.7-build + rm -rf pyRiemann-0.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyRiemann-0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyRiemann-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -vf doc/_static/copybutton.js removed 'doc/_static/copybutton.js' + sed -r -i 's/^([[:blank:]]*)(.*copybutton\.js)/\1# \2/' doc/conf.py + rm -rvf doc/sphinxext/ removed 'doc/sphinxext/sphinx_issues.py' removed directory 'doc/sphinxext/' + sed -r -i 's/^([[:blank:]]*)(.*sphinx_issues.,)/\1# \2/' doc/conf.py + sed -r -i 's/("tests".*), "flake8"/\1/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2JuGCN + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + cd pyRiemann-0.7 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir --output /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires -x tests Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pyriemann-0.7-1.fc42.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'], chrootPath='/var/lib/mock/f42-build-56750992-6545873/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '16d74c7e0d5d4adaa1eb3c321d147396', '-D', '/var/lib/mock/f42-build-56750992-6545873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1728000000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.naa1Zw + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + cd pyRiemann-0.7 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir --output /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires -x tests Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 74.1.3) running egg_info creating pyriemann.egg-info writing pyriemann.egg-info/PKG-INFO writing dependency_links to pyriemann.egg-info/dependency_links.txt writing requirements to pyriemann.egg-info/requires.txt writing top-level names to pyriemann.egg-info/top_level.txt writing manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyriemann.egg-info/SOURCES.txt' running dist_info writing pyriemann.egg-info/PKG-INFO writing dependency_links to pyriemann.egg-info/dependency_links.txt writing requirements to pyriemann.egg-info/requires.txt writing top-level names to pyriemann.egg-info/top_level.txt reading manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyriemann.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyriemann-0.7.dist-info' Handling numpy !=1.24.0 from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: numpy !=1.24.0 (installed: numpy 2.2.2) Handling scipy from hook generated metadata: Requires-Dist (pyriemann) Requirement not satisfied: scipy Handling scikit-learn >=0.24 from hook generated metadata: Requires-Dist (pyriemann) Requirement not satisfied: scikit-learn >=0.24 Handling joblib from hook generated metadata: Requires-Dist (pyriemann) Requirement not satisfied: joblib Handling matplotlib from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: matplotlib (installed: matplotlib 3.10.0) Handling sphinx ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx ; extra == 'docs' Handling sphinx-gallery ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx-gallery ; extra == 'docs' Handling sphinx-bootstrap-theme ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx-bootstrap-theme ; extra == 'docs' Handling numpydoc ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: numpydoc ; extra == 'docs' Handling mne ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: mne ; extra == 'docs' Handling seaborn ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: seaborn ; extra == 'docs' Handling pandas ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: pandas ; extra == 'docs' Handling pytest ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: pytest ; extra == 'tests' (installed: pytest 8.3.4) Handling seaborn ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: seaborn ; extra == 'tests' (installed: seaborn 0.13.2) Handling flake8 ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement not satisfied: flake8 ; extra == 'tests' + cat /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires + rm -rfv pyriemann-0.7.dist-info/ removed 'pyriemann-0.7.dist-info/top_level.txt' removed 'pyriemann-0.7.dist-info/METADATA' removed 'pyriemann-0.7.dist-info/LICENSE' removed directory 'pyriemann-0.7.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pyriemann-0.7-1.fc42.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'], chrootPath='/var/lib/mock/f42-build-56750992-6545873/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f9c44d3e994c4eafb1ec85810ea63ec9', '-D', '/var/lib/mock/f42-build-56750992-6545873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pyriemann.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1728000000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.xiSGUT + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + cd pyRiemann-0.7 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir --output /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires -x tests Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 74.1.3) running egg_info writing pyriemann.egg-info/PKG-INFO writing dependency_links to pyriemann.egg-info/dependency_links.txt writing requirements to pyriemann.egg-info/requires.txt writing top-level names to pyriemann.egg-info/top_level.txt reading manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyriemann.egg-info/SOURCES.txt' running dist_info writing pyriemann.egg-info/PKG-INFO writing dependency_links to pyriemann.egg-info/dependency_links.txt writing requirements to pyriemann.egg-info/requires.txt writing top-level names to pyriemann.egg-info/top_level.txt reading manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyriemann.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyriemann-0.7.dist-info' Handling numpy !=1.24.0 from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: numpy !=1.24.0 (installed: numpy 2.2.2) Handling scipy from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: scipy (installed: scipy 1.14.1) Handling scikit-learn >=0.24 from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: scikit-learn >=0.24 (installed: scikit-learn 1.6.0) Handling joblib from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: joblib (installed: joblib 1.4.2) Handling matplotlib from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: matplotlib (installed: matplotlib 3.10.0) Handling sphinx ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx ; extra == 'docs' Handling sphinx-gallery ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx-gallery ; extra == 'docs' Handling sphinx-bootstrap-theme ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx-bootstrap-theme ; extra == 'docs' Handling numpydoc ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: numpydoc ; extra == 'docs' Handling mne ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: mne ; extra == 'docs' Handling seaborn ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: seaborn ; extra == 'docs' Handling pandas ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: pandas ; extra == 'docs' Handling pytest ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: pytest ; extra == 'tests' (installed: pytest 8.3.4) Handling seaborn ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: seaborn ; extra == 'tests' (installed: seaborn 0.13.2) Handling flake8 ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: flake8 ; extra == 'tests' (installed: flake8 6.1.0) + cat /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires + rm -rfv pyriemann-0.7.dist-info/ removed 'pyriemann-0.7.dist-info/top_level.txt' removed 'pyriemann-0.7.dist-info/METADATA' removed 'pyriemann-0.7.dist-info/LICENSE' removed directory 'pyriemann-0.7.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pyriemann-0.7-1.fc42.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/python-pyriemann.spec'], chrootPath='/var/lib/mock/f42-build-56750992-6545873/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '541f05f05e1c46b594e38008ecc460dc', '-D', '/var/lib/mock/f42-build-56750992-6545873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/python-pyriemann.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1728000000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.6LmvsU + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + cd pyRiemann-0.7 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir --output /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires -x tests Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 74.1.3) running egg_info writing pyriemann.egg-info/PKG-INFO writing dependency_links to pyriemann.egg-info/dependency_links.txt writing requirements to pyriemann.egg-info/requires.txt writing top-level names to pyriemann.egg-info/top_level.txt reading manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyriemann.egg-info/SOURCES.txt' running dist_info writing pyriemann.egg-info/PKG-INFO writing dependency_links to pyriemann.egg-info/dependency_links.txt writing requirements to pyriemann.egg-info/requires.txt writing top-level names to pyriemann.egg-info/top_level.txt reading manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyriemann.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyriemann-0.7.dist-info' Handling numpy !=1.24.0 from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: numpy !=1.24.0 (installed: numpy 2.2.2) Handling scipy from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: scipy (installed: scipy 1.14.1) Handling scikit-learn >=0.24 from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: scikit-learn >=0.24 (installed: scikit-learn 1.6.0) Handling joblib from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: joblib (installed: joblib 1.4.2) Handling matplotlib from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: matplotlib (installed: matplotlib 3.10.0) Handling sphinx ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx ; extra == 'docs' Handling sphinx-gallery ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx-gallery ; extra == 'docs' Handling sphinx-bootstrap-theme ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: sphinx-bootstrap-theme ; extra == 'docs' Handling numpydoc ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: numpydoc ; extra == 'docs' Handling mne ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: mne ; extra == 'docs' Handling seaborn ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: seaborn ; extra == 'docs' Handling pandas ; extra == 'docs' from hook generated metadata: Requires-Dist (pyriemann) Ignoring alien requirement: pandas ; extra == 'docs' Handling pytest ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: pytest ; extra == 'tests' (installed: pytest 8.3.4) Handling seaborn ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: seaborn ; extra == 'tests' (installed: seaborn 0.13.2) Handling flake8 ; extra == 'tests' from hook generated metadata: Requires-Dist (pyriemann) Requirement satisfied: flake8 ; extra == 'tests' (installed: flake8 6.1.0) + cat /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-buildrequires + rm -rfv pyriemann-0.7.dist-info/ removed 'pyriemann-0.7.dist-info/top_level.txt' removed 'pyriemann-0.7.dist-info/METADATA' removed 'pyriemann-0.7.dist-info/LICENSE' removed directory 'pyriemann-0.7.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GUs1v2 + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyRiemann-0.7 + mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir Processing /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info writing /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-modern-metadata-00uikbae/pyriemann-0.7.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pyriemann Building wheel for pyriemann (pyproject.toml): started Running command Building wheel for pyriemann (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pyriemann copying pyriemann/__init__.py -> build/lib/pyriemann copying pyriemann/_version.py -> build/lib/pyriemann copying pyriemann/channelselection.py -> build/lib/pyriemann copying pyriemann/classification.py -> build/lib/pyriemann copying pyriemann/clustering.py -> build/lib/pyriemann copying pyriemann/embedding.py -> build/lib/pyriemann copying pyriemann/estimation.py -> build/lib/pyriemann copying pyriemann/preprocessing.py -> build/lib/pyriemann copying pyriemann/regression.py -> build/lib/pyriemann copying pyriemann/spatialfilters.py -> build/lib/pyriemann copying pyriemann/stats.py -> build/lib/pyriemann copying pyriemann/tangentspace.py -> build/lib/pyriemann creating build/lib/pyriemann/datasets copying pyriemann/datasets/__init__.py -> build/lib/pyriemann/datasets copying pyriemann/datasets/sampling.py -> build/lib/pyriemann/datasets copying pyriemann/datasets/simulated.py -> build/lib/pyriemann/datasets creating build/lib/pyriemann/transfer copying pyriemann/transfer/__init__.py -> build/lib/pyriemann/transfer copying pyriemann/transfer/_estimators.py -> build/lib/pyriemann/transfer copying pyriemann/transfer/_rotate.py -> build/lib/pyriemann/transfer copying pyriemann/transfer/_tools.py -> build/lib/pyriemann/transfer creating build/lib/pyriemann/utils copying pyriemann/utils/__init__.py -> build/lib/pyriemann/utils copying pyriemann/utils/ajd.py -> build/lib/pyriemann/utils copying pyriemann/utils/base.py -> build/lib/pyriemann/utils copying pyriemann/utils/covariance.py -> build/lib/pyriemann/utils copying pyriemann/utils/distance.py -> build/lib/pyriemann/utils copying pyriemann/utils/docs.py -> build/lib/pyriemann/utils copying pyriemann/utils/geodesic.py -> build/lib/pyriemann/utils copying pyriemann/utils/kernel.py -> build/lib/pyriemann/utils copying pyriemann/utils/mean.py -> build/lib/pyriemann/utils copying pyriemann/utils/median.py -> build/lib/pyriemann/utils copying pyriemann/utils/tangentspace.py -> build/lib/pyriemann/utils copying pyriemann/utils/test.py -> build/lib/pyriemann/utils copying pyriemann/utils/utils.py -> build/lib/pyriemann/utils copying pyriemann/utils/viz.py -> build/lib/pyriemann/utils installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/pyriemann copying build/lib/pyriemann/__init__.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/_version.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/channelselection.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/classification.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/clustering.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/embedding.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/estimation.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/preprocessing.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/regression.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/spatialfilters.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/stats.py -> build/bdist.linux-aarch64/wheel/./pyriemann copying build/lib/pyriemann/tangentspace.py -> build/bdist.linux-aarch64/wheel/./pyriemann creating build/bdist.linux-aarch64/wheel/pyriemann/datasets copying build/lib/pyriemann/datasets/__init__.py -> build/bdist.linux-aarch64/wheel/./pyriemann/datasets copying build/lib/pyriemann/datasets/sampling.py -> build/bdist.linux-aarch64/wheel/./pyriemann/datasets copying build/lib/pyriemann/datasets/simulated.py -> build/bdist.linux-aarch64/wheel/./pyriemann/datasets creating build/bdist.linux-aarch64/wheel/pyriemann/transfer copying build/lib/pyriemann/transfer/__init__.py -> build/bdist.linux-aarch64/wheel/./pyriemann/transfer copying build/lib/pyriemann/transfer/_estimators.py -> build/bdist.linux-aarch64/wheel/./pyriemann/transfer copying build/lib/pyriemann/transfer/_rotate.py -> build/bdist.linux-aarch64/wheel/./pyriemann/transfer copying build/lib/pyriemann/transfer/_tools.py -> build/bdist.linux-aarch64/wheel/./pyriemann/transfer creating build/bdist.linux-aarch64/wheel/pyriemann/utils copying build/lib/pyriemann/utils/__init__.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/ajd.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/base.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/covariance.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/distance.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/docs.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/geodesic.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/kernel.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/mean.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/median.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/tangentspace.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/test.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/utils.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils copying build/lib/pyriemann/utils/viz.py -> build/bdist.linux-aarch64/wheel/./pyriemann/utils running install_egg_info running egg_info writing pyriemann.egg-info/PKG-INFO writing dependency_links to pyriemann.egg-info/dependency_links.txt writing requirements to pyriemann.egg-info/requires.txt writing top-level names to pyriemann.egg-info/top_level.txt reading manifest file 'pyriemann.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pyriemann.egg-info/SOURCES.txt' Copying pyriemann.egg-info to build/bdist.linux-aarch64/wheel/./pyriemann-0.7-py3.13.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/pyriemann-0.7.dist-info/WHEEL creating '/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir/pip-wheel-vg4e8nxs/.tmp-qud47hru/pyriemann-0.7-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'pyriemann/__init__.py' adding 'pyriemann/_version.py' adding 'pyriemann/channelselection.py' adding 'pyriemann/classification.py' adding 'pyriemann/clustering.py' adding 'pyriemann/embedding.py' adding 'pyriemann/estimation.py' adding 'pyriemann/preprocessing.py' adding 'pyriemann/regression.py' adding 'pyriemann/spatialfilters.py' adding 'pyriemann/stats.py' adding 'pyriemann/tangentspace.py' adding 'pyriemann/datasets/__init__.py' adding 'pyriemann/datasets/sampling.py' adding 'pyriemann/datasets/simulated.py' adding 'pyriemann/transfer/__init__.py' adding 'pyriemann/transfer/_estimators.py' adding 'pyriemann/transfer/_rotate.py' adding 'pyriemann/transfer/_tools.py' adding 'pyriemann/utils/__init__.py' adding 'pyriemann/utils/ajd.py' adding 'pyriemann/utils/base.py' adding 'pyriemann/utils/covariance.py' adding 'pyriemann/utils/distance.py' adding 'pyriemann/utils/docs.py' adding 'pyriemann/utils/geodesic.py' adding 'pyriemann/utils/kernel.py' adding 'pyriemann/utils/mean.py' adding 'pyriemann/utils/median.py' adding 'pyriemann/utils/tangentspace.py' adding 'pyriemann/utils/test.py' adding 'pyriemann/utils/utils.py' adding 'pyriemann/utils/viz.py' adding 'pyriemann-0.7.dist-info/LICENSE' adding 'pyriemann-0.7.dist-info/METADATA' adding 'pyriemann-0.7.dist-info/WHEEL' adding 'pyriemann-0.7.dist-info/top_level.txt' adding 'pyriemann-0.7.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for pyriemann (pyproject.toml): finished with status 'done' Created wheel for pyriemann: filename=pyriemann-0.7-py2.py3-none-any.whl size=115116 sha256=10d454164cad465873e97787fbadac9fd4222fd599e7e45d2b5fc6e629f954ce Stored in directory: /builddir/.cache/pip/wheels/5b/f3/ba/2c396f76407ee60a629f6da77f69bd3fe7f94a52d359d1474e Successfully built pyriemann + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vvVtvh + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + '[' /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-pyriemann-0.7-build + mkdir /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyRiemann-0.7 ++ ls /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir/pyriemann-0.7-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pyriemann==0.7 + '[' -z pyriemann==0.7 ']' + TMPDIR=/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir pyriemann==0.7 Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/pyproject-wheeldir Processing ./pyproject-wheeldir/pyriemann-0.7-py2.py3-none-any.whl Installing collected packages: pyriemann Successfully installed pyriemann-0.7 + '[' -d /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/pyriemann-0.7.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann-0.7.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT --record /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann-0.7.dist-info/RECORD --output /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-record + rm -fv /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann-0.7.dist-info/RECORD removed '/builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann-0.7.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann-0.7.dist-info/REQUESTED removed '/builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann-0.7.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-files --output-modules /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-modules --buildroot /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-pyriemann-0.7-build/python-pyriemann-0.7-1.fc42.aarch64-pyproject-record --prefix /usr -l pyriemann + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 Bytecompiling .py files below /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/datasets/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/__pycache__/_tools.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/__pycache__/_rotate.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/datasets/__pycache__/simulated.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/datasets/__pycache__/sampling.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/geodesic.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/base.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/kernel.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/median.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/tangentspace.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/ajd.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/kernel.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/test.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/docs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/_version.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/viz.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/channelselection.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/embedding.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/mean.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/covariance.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/__pycache__/_estimators.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/__pycache__/distance.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/embedding.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/preprocessing.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/regression.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/tangentspace.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/clustering.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/stats.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/estimation.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/spatialfilters.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/classification.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/__pycache__/classification.cpython-313.pyc: replacing with normalized version Scanned 14 directories and 104 files, processed 36 inodes, 36 modified (6 replaced + 30 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-pyriemann-0.7-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nbolNg + umask 022 + cd /builddir/build/BUILD/python-pyriemann-0.7-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyRiemann-0.7 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=12 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 rootdir: /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7 collected 3397 items tests/test_channelselection.py ..... [ 0%] tests/test_classification.py ........................................... [ 1%] ........................................................................ [ 3%] ........................................................................ [ 5%] ........................................................................ [ 7%] ........................................................................ [ 9%] ........................................................................ [ 12%] ........................................................................ [ 14%] ........................................................................ [ 16%] ........................................................................ [ 18%] ........................................................................ [ 20%] ........................................................................ [ 22%] ........................................................................ [ 24%] ........................................................................ [ 26%] ........................................................................ [ 28%] ........................................................................ [ 31%] ........................................................................ [ 33%] ........................................................................ [ 35%] ........................................................................ [ 37%] ........................................................................ [ 39%] ........................................................................ [ 41%] ........................................................................ [ 43%] ........................................................................ [ 45%] ........................................................................ [ 48%] ........................................................................ [ 50%] .. [ 50%] tests/test_clustering.py ............................................... [ 51%] .................... [ 52%] tests/test_embedding.py ................................................ [ 53%] ....................... [ 54%] tests/test_estimation.py ............................................... [ 55%] ........................................................................ [ 57%] ........................................................................ [ 59%] ................................... [ 60%] tests/test_preprocessing.py ............................................ [ 62%] ........................................................................ [ 64%] ............................... [ 65%] tests/test_regression.py ............................................... [ 66%] ........................................................................ [ 68%] .............................. [ 69%] tests/test_sampling.py ................... [ 70%] tests/test_simulated.py .................. [ 70%] tests/test_spatialfilters.py ........................................... [ 72%] ........................................................................ [ 74%] ....................... [ 74%] tests/test_stats.py ........ [ 75%] tests/test_tangentspace.py ............................................. [ 76%] ........................................................................ [ 78%] ............. [ 78%] tests/test_transfer.py ............................FFFFFFFFFFF.FFFFFF.FF [ 80%] FFFF.FFF.FF.FF.................... [ 81%] tests/test_utils_ajd.py ...................... [ 81%] tests/test_utils_base.py ......................... [ 82%] tests/test_utils_covariance.py ......................................... [ 83%] ....F............................ [ 84%] tests/test_utils_distance.py ........................................... [ 86%] ........................................................................ [ 88%] ........................................................................ [ 90%] .............................................. [ 91%] tests/test_utils_geodesic.py .......................... [ 92%] tests/test_utils_kernel.py .................... [ 93%] tests/test_utils_mean.py ............................................... [ 94%] ........................................................................ [ 96%] ..................... [ 97%] tests/test_utils_median.py ..................... [ 97%] tests/test_utils_tangent_space.py ...................................... [ 98%] ... [ 99%] tests/test_utils_test.py .............. [ 99%] tests/test_utils_utils.py ............ [ 99%] tests/test_utils_viz.py ....... [100%] =================================== FAILURES =================================== _____________________ test_tlclassifier_mdm[1.0-0.0-clf0] ______________________ rndstate = RandomState(MT19937) at 0xFFFF58398E40, clf = MDM() source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="riemann"), make_pipeline(MDM(metric="riemann")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifier_mdm(rndstate, clf, source_domain, target_domain): """Test wrapper for MDM classifier in transfer learning""" n_matrices = 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } > tlclf.fit(X, y_enc) tests/test_transfer.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=MDM(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _____________________ test_tlclassifier_mdm[1.0-0.0-clf1] ______________________ rndstate = RandomState(MT19937) at 0xFFFF5839B040 clf = Pipeline(steps=[('mdm', MDM())]), source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="riemann"), make_pipeline(MDM(metric="riemann")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifier_mdm(rndstate, clf, source_domain, target_domain): """Test wrapper for MDM classifier in transfer learning""" n_matrices = 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } > tlclf.fit(X, y_enc) tests/test_transfer.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=Pipeline(steps=[('mdm', MDM())]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _____________________ test_tlclassifier_mdm[0.0-1.0-clf0] ______________________ rndstate = RandomState(MT19937) at 0xFFFF5839B540, clf = MDM() source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="riemann"), make_pipeline(MDM(metric="riemann")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifier_mdm(rndstate, clf, source_domain, target_domain): """Test wrapper for MDM classifier in transfer learning""" n_matrices = 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } > tlclf.fit(X, y_enc) tests/test_transfer.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=MDM(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _____________________ test_tlclassifier_mdm[0.0-1.0-clf1] ______________________ rndstate = RandomState(MT19937) at 0xFFFF5839B940 clf = Pipeline(steps=[('mdm', MDM())]), source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="riemann"), make_pipeline(MDM(metric="riemann")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifier_mdm(rndstate, clf, source_domain, target_domain): """Test wrapper for MDM classifier in transfer learning""" n_matrices = 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } > tlclf.fit(X, y_enc) tests/test_transfer.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('mdm', MDM())]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _____________________ test_tlclassifier_mdm[1.0-1.0-clf0] ______________________ rndstate = RandomState(MT19937) at 0xFFFF5839B340, clf = MDM() source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="riemann"), make_pipeline(MDM(metric="riemann")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifier_mdm(rndstate, clf, source_domain, target_domain): """Test wrapper for MDM classifier in transfer learning""" n_matrices = 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } > tlclf.fit(X, y_enc) tests/test_transfer.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=MDM(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _____________________ test_tlclassifier_mdm[1.0-1.0-clf1] ______________________ rndstate = RandomState(MT19937) at 0xFFFF5839BB40 clf = Pipeline(steps=[('mdm', MDM())]), source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="riemann"), make_pipeline(MDM(metric="riemann")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifier_mdm(rndstate, clf, source_domain, target_domain): """Test wrapper for MDM classifier in transfer learning""" n_matrices = 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } > tlclf.fit(X, y_enc) tests/test_transfer.py:268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('mdm', MDM())]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-0.0-clf0] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C140, clf = MDM(metric='logeuclid') source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=MDM(metric='logeuclid'), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-0.0-clf1] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C440 clf = Pipeline(steps=[('mdm', MDM())]), source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=Pipeline(steps=[('mdm', MDM())]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-0.0-clf2] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C840, clf = FgMDM() source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=FgMDM(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-0.0-clf3] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823CE40 clf = Pipeline(steps=[('knearestneighbor', KNearestNeighbor(metric='logeuclid'))]) source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=Pipeline(steps=[('knea... KNearestNeighbor(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-0.0-clf4] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5839B540, clf = TSclassifier() source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=TSclassifier(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-0.0-clf6] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823CD40 clf = Pipeline(steps=[('meanfield', MeanField(metric='logeuclid'))]) source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=Pipeline(steps=[('mean..., MeanField(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[0.0-1.0-clf0] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C940, clf = MDM(metric='logeuclid') source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=MDM(metric='logeuclid'), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[0.0-1.0-clf1] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C440 clf = Pipeline(steps=[('mdm', MDM())]), source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('mdm', MDM())]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[0.0-1.0-clf2] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823D140, clf = FgMDM() source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=FgMDM(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[0.0-1.0-clf3] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823D440 clf = Pipeline(steps=[('knearestneighbor', KNearestNeighbor(metric='logeuclid'))]) source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('knea... KNearestNeighbor(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[0.0-1.0-clf4] _______________________ rndstate = RandomState(MT19937) at 0xFFFF58398E40, clf = TSclassifier() source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=TSclassifier(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[0.0-1.0-clf6] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C140 clf = Pipeline(steps=[('meanfield', MeanField(metric='logeuclid'))]) source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('mean..., MeanField(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-1.0-clf0] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C340, clf = MDM(metric='logeuclid') source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=MDM(metric='logeuclid'), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-1.0-clf1] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823C840 clf = Pipeline(steps=[('mdm', MDM())]), source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('mdm', MDM())]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-1.0-clf2] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823D540, clf = FgMDM() source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=FgMDM(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-1.0-clf3] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823D840 clf = Pipeline(steps=[('knearestneighbor', KNearestNeighbor(metric='logeuclid'))]) source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('knea... KNearestNeighbor(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-1.0-clf4] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5839B340, clf = TSclassifier() source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=TSclassifier(), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlclassifiers[1.0-1.0-clf6] _______________________ rndstate = RandomState(MT19937) at 0xFFFF5823CD40 clf = Pipeline(steps=[('meanfield', MeanField(metric='logeuclid'))]) source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "clf", [ MDM(metric="logeuclid"), make_pipeline(MDM(metric="riemann")), FgMDM(), make_pipeline(KNearestNeighbor(metric="logeuclid")), TSclassifier(), SVC(metric="riemann"), make_pipeline(MeanField(metric="logeuclid")), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlclassifiers(rndstate, clf, source_domain, target_domain): """Test wrapper for classifiers in transfer learning""" n_classes, n_matrices = 2, 40 X, y_enc = make_classification_transfer( n_matrices=n_matrices // 4, class_sep=5, class_disp=1.0, random_state=rndstate, ) if hasattr(clf, "probability"): clf.set_params(**{"probability": True}) tlclf = TLClassifier(target_domain="target_domain", estimator=clf) tlclf.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlclf.fit(X, y_enc) tests/test_transfer.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLClassifier(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('mean..., MeanField(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.64211841e-01, 4.46036501e-02], [ 4.46036501e-02, 4.52632561e-01]], [[ 1.65578590e-01, 1...2032e+00, 4.19040066e-01]], [[ 7.34266168e+01, -8.87593106e+00], [-8.87593106e+00, 1.10195753e+00]]]) y_enc = array(['source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_domain/1', 'source_d...get_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2', 'target_domain/2'], dtype=' raise TypeError("Estimator has to be a classifier.") E TypeError: Estimator has to be a classifier. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:740: TypeError _______________________ test_tlregressors[1.0-0.0-reg0] ________________________ rndstate = RandomState(MT19937) at 0xFFFF5823C640 get_weights = ._gen_weight at 0xffff58216e80> reg = KNearestNeighborRegressor(), source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "reg", [ KNearestNeighborRegressor(metric="riemann"), make_pipeline(KNearestNeighborRegressor(metric="logeuclid")), SVR(metric="riemann"), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlregressors(rndstate, get_weights, reg, source_domain, target_domain): """Test wrapper for regressors in transfer learning""" def make_regression_transfer(n_matrices, n_channels, rs): X = make_matrices( n_matrices, n_channels, "spd", rs=rndstate ) y = get_weights(n_matrices) domain = np.array(20 * ["source_domain"] + 20 * ["target_domain"]) _, y_enc = encode_domains(X, y, domain) return X, y_enc n_matrices, n_channels = 40, 2 X, y_enc = make_regression_transfer( n_matrices=n_matrices, n_channels=n_channels, rs=rndstate ) tlreg = TLRegressor(target_domain="target_domain", estimator=reg) tlreg.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlreg.fit(X, y_enc) tests/test_transfer.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLRegressor(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=KNearestNeighborRegressor(), target_domain='target_domain') X = array([[[ 1.52274043, -0.25190334], [-0.25190334, 0.8400872 ]], [[ 0.90427667, 0.17917097], ...68143], [-0.08968143, 1.75400071]], [[ 1.0412114 , -0.09854485], [-0.09854485, 1.23607077]]]) y_enc = array(['source_domain/1.3946885834451725', 'source_domain/1.0310495983563612', 'source_domain/1.57683984....3939918113086467', 'target_domain/1.714013265276615', 'target_domain/1.1759042694232726'], dtype=' raise TypeError("Estimator has to be a regressor.") E TypeError: Estimator has to be a regressor. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:817: TypeError _______________________ test_tlregressors[1.0-0.0-reg1] ________________________ rndstate = RandomState(MT19937) at 0xFFFF5823D140 get_weights = ._gen_weight at 0xffff58216d40> reg = Pipeline(steps=[('knearestneighborregressor', KNearestNeighborRegressor(metric='logeuclid'))]) source_domain = 1.0, target_domain = 0.0 @pytest.mark.parametrize( "reg", [ KNearestNeighborRegressor(metric="riemann"), make_pipeline(KNearestNeighborRegressor(metric="logeuclid")), SVR(metric="riemann"), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlregressors(rndstate, get_weights, reg, source_domain, target_domain): """Test wrapper for regressors in transfer learning""" def make_regression_transfer(n_matrices, n_channels, rs): X = make_matrices( n_matrices, n_channels, "spd", rs=rndstate ) y = get_weights(n_matrices) domain = np.array(20 * ["source_domain"] + 20 * ["target_domain"]) _, y_enc = encode_domains(X, y, domain) return X, y_enc n_matrices, n_channels = 40, 2 X, y_enc = make_regression_transfer( n_matrices=n_matrices, n_channels=n_channels, rs=rndstate ) tlreg = TLRegressor(target_domain="target_domain", estimator=reg) tlreg.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlreg.fit(X, y_enc) tests/test_transfer.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLRegressor(domain_weight={'source_domain': 1.0, 'target_domain': 0.0}, estimator=Pipeline(steps=[('kneare... KNearestNeighborRegressor(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.52274043, -0.25190334], [-0.25190334, 0.8400872 ]], [[ 0.90427667, 0.17917097], ...68143], [-0.08968143, 1.75400071]], [[ 1.0412114 , -0.09854485], [-0.09854485, 1.23607077]]]) y_enc = array(['source_domain/1.3946885834451725', 'source_domain/1.0310495983563612', 'source_domain/1.57683984....3939918113086467', 'target_domain/1.714013265276615', 'target_domain/1.1759042694232726'], dtype=' raise TypeError("Estimator has to be a regressor.") E TypeError: Estimator has to be a regressor. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:817: TypeError _______________________ test_tlregressors[0.0-1.0-reg0] ________________________ rndstate = RandomState(MT19937) at 0xFFFF5823D940 get_weights = ._gen_weight at 0xffff58216b60> reg = KNearestNeighborRegressor(), source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "reg", [ KNearestNeighborRegressor(metric="riemann"), make_pipeline(KNearestNeighborRegressor(metric="logeuclid")), SVR(metric="riemann"), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlregressors(rndstate, get_weights, reg, source_domain, target_domain): """Test wrapper for regressors in transfer learning""" def make_regression_transfer(n_matrices, n_channels, rs): X = make_matrices( n_matrices, n_channels, "spd", rs=rndstate ) y = get_weights(n_matrices) domain = np.array(20 * ["source_domain"] + 20 * ["target_domain"]) _, y_enc = encode_domains(X, y, domain) return X, y_enc n_matrices, n_channels = 40, 2 X, y_enc = make_regression_transfer( n_matrices=n_matrices, n_channels=n_channels, rs=rndstate ) tlreg = TLRegressor(target_domain="target_domain", estimator=reg) tlreg.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlreg.fit(X, y_enc) tests/test_transfer.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLRegressor(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=KNearestNeighborRegressor(), target_domain='target_domain') X = array([[[ 1.52274043, -0.25190334], [-0.25190334, 0.8400872 ]], [[ 0.90427667, 0.17917097], ...68143], [-0.08968143, 1.75400071]], [[ 1.0412114 , -0.09854485], [-0.09854485, 1.23607077]]]) y_enc = array(['source_domain/1.3946885834451725', 'source_domain/1.0310495983563612', 'source_domain/1.57683984....3939918113086467', 'target_domain/1.714013265276615', 'target_domain/1.1759042694232726'], dtype=' raise TypeError("Estimator has to be a regressor.") E TypeError: Estimator has to be a regressor. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:817: TypeError _______________________ test_tlregressors[0.0-1.0-reg1] ________________________ rndstate = RandomState(MT19937) at 0xFFFF5823DE40 get_weights = ._gen_weight at 0xffff58217740> reg = Pipeline(steps=[('knearestneighborregressor', KNearestNeighborRegressor(metric='logeuclid'))]) source_domain = 0.0, target_domain = 1.0 @pytest.mark.parametrize( "reg", [ KNearestNeighborRegressor(metric="riemann"), make_pipeline(KNearestNeighborRegressor(metric="logeuclid")), SVR(metric="riemann"), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlregressors(rndstate, get_weights, reg, source_domain, target_domain): """Test wrapper for regressors in transfer learning""" def make_regression_transfer(n_matrices, n_channels, rs): X = make_matrices( n_matrices, n_channels, "spd", rs=rndstate ) y = get_weights(n_matrices) domain = np.array(20 * ["source_domain"] + 20 * ["target_domain"]) _, y_enc = encode_domains(X, y, domain) return X, y_enc n_matrices, n_channels = 40, 2 X, y_enc = make_regression_transfer( n_matrices=n_matrices, n_channels=n_channels, rs=rndstate ) tlreg = TLRegressor(target_domain="target_domain", estimator=reg) tlreg.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlreg.fit(X, y_enc) tests/test_transfer.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLRegressor(domain_weight={'source_domain': 0.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('kneare... KNearestNeighborRegressor(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.52274043, -0.25190334], [-0.25190334, 0.8400872 ]], [[ 0.90427667, 0.17917097], ...68143], [-0.08968143, 1.75400071]], [[ 1.0412114 , -0.09854485], [-0.09854485, 1.23607077]]]) y_enc = array(['source_domain/1.3946885834451725', 'source_domain/1.0310495983563612', 'source_domain/1.57683984....3939918113086467', 'target_domain/1.714013265276615', 'target_domain/1.1759042694232726'], dtype=' raise TypeError("Estimator has to be a regressor.") E TypeError: Estimator has to be a regressor. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:817: TypeError _______________________ test_tlregressors[1.0-1.0-reg0] ________________________ rndstate = RandomState(MT19937) at 0xFFFF58398E40 get_weights = ._gen_weight at 0xffff58217a60> reg = KNearestNeighborRegressor(), source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "reg", [ KNearestNeighborRegressor(metric="riemann"), make_pipeline(KNearestNeighborRegressor(metric="logeuclid")), SVR(metric="riemann"), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlregressors(rndstate, get_weights, reg, source_domain, target_domain): """Test wrapper for regressors in transfer learning""" def make_regression_transfer(n_matrices, n_channels, rs): X = make_matrices( n_matrices, n_channels, "spd", rs=rndstate ) y = get_weights(n_matrices) domain = np.array(20 * ["source_domain"] + 20 * ["target_domain"]) _, y_enc = encode_domains(X, y, domain) return X, y_enc n_matrices, n_channels = 40, 2 X, y_enc = make_regression_transfer( n_matrices=n_matrices, n_channels=n_channels, rs=rndstate ) tlreg = TLRegressor(target_domain="target_domain", estimator=reg) tlreg.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlreg.fit(X, y_enc) tests/test_transfer.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLRegressor(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=KNearestNeighborRegressor(), target_domain='target_domain') X = array([[[ 1.52274043, -0.25190334], [-0.25190334, 0.8400872 ]], [[ 0.90427667, 0.17917097], ...68143], [-0.08968143, 1.75400071]], [[ 1.0412114 , -0.09854485], [-0.09854485, 1.23607077]]]) y_enc = array(['source_domain/1.3946885834451725', 'source_domain/1.0310495983563612', 'source_domain/1.57683984....3939918113086467', 'target_domain/1.714013265276615', 'target_domain/1.1759042694232726'], dtype=' raise TypeError("Estimator has to be a regressor.") E TypeError: Estimator has to be a regressor. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:817: TypeError _______________________ test_tlregressors[1.0-1.0-reg1] ________________________ rndstate = RandomState(MT19937) at 0xFFFF5823D940 get_weights = ._gen_weight at 0xffff58217ce0> reg = Pipeline(steps=[('knearestneighborregressor', KNearestNeighborRegressor(metric='logeuclid'))]) source_domain = 1.0, target_domain = 1.0 @pytest.mark.parametrize( "reg", [ KNearestNeighborRegressor(metric="riemann"), make_pipeline(KNearestNeighborRegressor(metric="logeuclid")), SVR(metric="riemann"), ] ) @pytest.mark.parametrize( "source_domain, target_domain", [(1.0, 0.0), (0.0, 1.0), (1.0, 1.0)], ) def test_tlregressors(rndstate, get_weights, reg, source_domain, target_domain): """Test wrapper for regressors in transfer learning""" def make_regression_transfer(n_matrices, n_channels, rs): X = make_matrices( n_matrices, n_channels, "spd", rs=rndstate ) y = get_weights(n_matrices) domain = np.array(20 * ["source_domain"] + 20 * ["target_domain"]) _, y_enc = encode_domains(X, y, domain) return X, y_enc n_matrices, n_channels = 40, 2 X, y_enc = make_regression_transfer( n_matrices=n_matrices, n_channels=n_channels, rs=rndstate ) tlreg = TLRegressor(target_domain="target_domain", estimator=reg) tlreg.domain_weight = { "source_domain": source_domain, "target_domain": target_domain, } # test fit > tlreg.fit(X, y_enc) tests/test_transfer.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLRegressor(domain_weight={'source_domain': 1.0, 'target_domain': 1.0}, estimator=Pipeline(steps=[('kneare... KNearestNeighborRegressor(metric='logeuclid'))]), target_domain='target_domain') X = array([[[ 1.52274043, -0.25190334], [-0.25190334, 0.8400872 ]], [[ 0.90427667, 0.17917097], ...68143], [-0.08968143, 1.75400071]], [[ 1.0412114 , -0.09854485], [-0.09854485, 1.23607077]]]) y_enc = array(['source_domain/1.3946885834451725', 'source_domain/1.0310495983563612', 'source_domain/1.57683984....3939918113086467', 'target_domain/1.714013265276615', 'target_domain/1.1759042694232726'], dtype=' raise TypeError("Estimator has to be a regressor.") E TypeError: Estimator has to be a regressor. ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/transfer/_estimators.py:817: TypeError ___________________________ test_covariances_X[mcd] ____________________________ estimator = 'mcd', rndstate = RandomState(MT19937) at 0xFFFF5A98BB40 @pytest.mark.parametrize( 'estimator', estimators + [None] ) def test_covariances_X(estimator, rndstate): """Test covariance_X for multiple estimators""" n_matrices, n_channels, n_times = 3, 5, 15 x = rndstate.randn(n_matrices, n_channels, n_times) if estimator is None: cov = covariances_X(x, alpha=5.) else: > cov = covariances_X(x, estimator=estimator, alpha=5.) tests/test_utils_covariance.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/covariance.py:487: in covariances_X covmats[i] = est(Y, **kwds) ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/covariance.py:48: in wrapper cov = func(X, **kwds) ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/covariance.py:68: in _mcd _, C, _, _ = fast_mcd(X.T, **kwds) /usr/lib64/python3.13/site-packages/sklearn/covariance/_robust_covariance.py:555: in fast_mcd locations_best, covariances_best, _, _ = select_candidates( /usr/lib64/python3.13/site-packages/sklearn/covariance/_robust_covariance.py:322: in select_candidates _c_step( /usr/lib64/python3.13/site-packages/sklearn/covariance/_robust_covariance.py:161: in _c_step support_indices = np.argpartition(dist, n_support - 1)[:n_support] /usr/lib64/python3.13/site-packages/numpy/_core/fromnumeric.py:962: in argpartition return _wrapfunc(a, 'argpartition', kth, axis=axis, kind=kind, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = array([19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19., 19.]) method = 'argpartition', args = (20,) kwds = {'axis': -1, 'kind': 'introselect', 'order': None} bound = def _wrapfunc(obj, method, *args, **kwds): bound = getattr(obj, method, None) if bound is None: return _wrapit(obj, method, *args, **kwds) try: > return bound(*args, **kwds) E ValueError: kth(=20) out of bounds (20) /usr/lib64/python3.13/site-packages/numpy/_core/fromnumeric.py:57: ValueError =============================== warnings summary =============================== ../BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/base.py:4 /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/base.py:4: DeprecationWarning: numpy.core.numerictypes is deprecated and has been renamed to numpy._core.numerictypes. The numpy._core namespace contains private NumPy internals and its use is discouraged, as NumPy internals can change without warning in any release. In practice, most real-world usage of numpy.core is to access functionality in the public NumPy API. If that is the case, use the public NumPy API. If not, you are using NumPy internals. If you would still like to access an internal attribute, use numpy._core.numerictypes.typecodes. from numpy.core.numerictypes import typecodes tests/test_embedding.py::test_embedding[SpectralEmbedding] tests/test_embedding.py::test_embedding[LocallyLinearEmbedding] /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/mean.py:659: UserWarning: Convergence not reached warnings.warn("Convergence not reached") tests/test_estimation.py::test_time_delay_covariances[4] tests/test_estimation.py::test_time_delay_covariances[delays1] /builddir/build/BUILD/python-pyriemann-0.7-build/pyRiemann-0.7/tests/test_estimation.py:107: DeprecationWarning: Bitwise inversion '~' on bool is deprecated and will be removed in Python 3.16. This returns the bitwise inversion of the underlying int object and is usually not what you expect from negating a bool. Use the 'not' operator for boolean negation or ~int(x) if you really want the bitwise inversion of the underlying int. assert ~is_hankel(covmats[0]) tests/test_sampling.py: 12 warnings tests/test_transfer.py: 2 warnings /usr/lib/python3.13/site-packages/joblib/externals/loky/backend/fork_exec.py:38: DeprecationWarning: This process (pid=580) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = os.fork() tests/test_spatialfilters.py: 34 warnings /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/docs.py:54: DeprecationWarning: Class CospCovariances is deprecated; CospCovariances is deprecated and will be removed in 0.8.0; please use CoSpectra. warnings.warn(msg, category=DeprecationWarning) tests/test_spatialfilters.py: 5 warnings tests/test_utils_ajd.py: 3 warnings tests/test_utils_mean.py: 3 warnings /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/utils/ajd.py:221: UserWarning: Convergence not reached warnings.warn("Convergence not reached") tests/test_stats.py::test_permutation_pairwise_plot /builddir/build/BUILD/python-pyriemann-0.7-build/BUILDROOT/usr/lib/python3.13/site-packages/pyriemann/stats.py:133: MatplotlibDeprecationWarning: Passing the range parameter of hist() positionally is deprecated since Matplotlib 3.9; the parameter will become keyword-only in 3.11. axes.hist(self.scores_[1:], nbins, range) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_transfer.py::test_tlclassifier_mdm[1.0-0.0-clf0] - TypeErro... FAILED tests/test_transfer.py::test_tlclassifier_mdm[1.0-0.0-clf1] - TypeErro... FAILED tests/test_transfer.py::test_tlclassifier_mdm[0.0-1.0-clf0] - TypeErro... FAILED tests/test_transfer.py::test_tlclassifier_mdm[0.0-1.0-clf1] - TypeErro... FAILED tests/test_transfer.py::test_tlclassifier_mdm[1.0-1.0-clf0] - TypeErro... FAILED tests/test_transfer.py::test_tlclassifier_mdm[1.0-1.0-clf1] - TypeErro... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-0.0-clf0] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-0.0-clf1] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-0.0-clf2] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-0.0-clf3] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-0.0-clf4] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-0.0-clf6] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[0.0-1.0-clf0] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[0.0-1.0-clf1] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[0.0-1.0-clf2] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[0.0-1.0-clf3] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[0.0-1.0-clf4] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[0.0-1.0-clf6] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-1.0-clf0] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-1.0-clf1] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-1.0-clf2] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-1.0-clf3] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-1.0-clf4] - TypeError: ... FAILED tests/test_transfer.py::test_tlclassifiers[1.0-1.0-clf6] - TypeError: ... FAILED tests/test_transfer.py::test_tlregressors[1.0-0.0-reg0] - TypeError: E... FAILED tests/test_transfer.py::test_tlregressors[1.0-0.0-reg1] - TypeError: E... FAILED tests/test_transfer.py::test_tlregressors[0.0-1.0-reg0] - TypeError: E... FAILED tests/test_transfer.py::test_tlregressors[0.0-1.0-reg1] - TypeError: E... FAILED tests/test_transfer.py::test_tlregressors[1.0-1.0-reg0] - TypeError: E... FAILED tests/test_transfer.py::test_tlregressors[1.0-1.0-reg1] - TypeError: E... FAILED tests/test_utils_covariance.py::test_covariances_X[mcd] - ValueError: ... ================ 31 failed, 3366 passed, 65 warnings in 46.35s ================= error: Bad exit status from /var/tmp/rpm-tmp.nbolNg (%check) Bad exit status from /var/tmp/rpm-tmp.nbolNg (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 541f05f05e1c46b594e38008ecc460dc -D /var/lib/mock/f42-build-56750992-6545873/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/python-pyriemann.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 541f05f05e1c46b594e38008ecc460dc -D /var/lib/mock/f42-build-56750992-6545873/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.e70u5n_x:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/python-pyriemann.spec'