Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-SALib.spec'], chrootPath='/var/lib/mock/f45-build-56796-987/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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.x20iesrt:/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', 'bc91662fb53d4f9f801d9382b16397c2', '-D', '/var/lib/mock/f45-build-56796-987/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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 noarch --nodeps /builddir/build/SPECS/python-SALib.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1758240000 Wrote: /builddir/build/SRPMS/python-SALib-1.5.1-6.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-SALib.spec'], chrootPath='/var/lib/mock/f45-build-56796-987/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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.x20iesrt:/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', '207f9b15b5b24b9c9c2ca1b59090bdba', '-D', '/var/lib/mock/f45-build-56796-987/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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 noarch --nodeps /builddir/build/SPECS/python-SALib.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1758240000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.7geCzm Creating(rpmbuild.env): /builddir/build/BUILD/python-SALib-1.5.1-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-SALib-1.5.1-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="noarch" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/python-SALib-1.5.1-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="python-SALib" RPM_PACKAGE_VERSION="1.5.1" RPM_PACKAGE_RELEASE="6.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7jfbd9 + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-build + cd /builddir/build/BUILD/python-SALib-1.5.1-build + rm -rf SALib-1.5.1 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/SALib-1.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd SALib-1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + GIT_COMMITTER_DATE=@1758240000 + GIT_AUTHOR_DATE=@1758240000 + /usr/bin/git commit -q --no-gpg-sign --allow-empty -a --author 'rpm-build ' -m 'python-SALib-1.5.1 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + sed -r -i 's/^([[:blank:]])(.*\bpytest-cov\b)/\1# \2/' pyproject.toml + git add --all + git commit -m '[RPM]: Changes for 1.5.1' [rpm-build 825a391] [RPM]: Changes for 1.5.1 1 file changed, 1 insertion(+), 1 deletion(-) + git tag v1.5.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.vOdfgT + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-build + cd SALib-1.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-SALib-1.5.1-build/.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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-SALib-1.5.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=45 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-dep-overrides -x distributed -x test Handling hatchling from build-system.requires Requirement not satisfied: hatchling Handling hatch-vcs from build-system.requires Requirement not satisfied: hatch-vcs Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-SALib-1.5.1-6.fc45.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 noarch --nodeps /builddir/build/SPECS/python-SALib.spec'], chrootPath='/var/lib/mock/f45-build-56796-987/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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.x20iesrt:/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', 'ef3e3af81a284267894b7fc9140907de', '-D', '/var/lib/mock/f45-build-56796-987/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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 noarch --nodeps /builddir/build/SPECS/python-SALib.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1758240000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zxOoSl + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-build + cd SALib-1.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-SALib-1.5.1-build/.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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-SALib-1.5.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=45 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-dep-overrides -x distributed -x test Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.31.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.5.0) Handling matplotlib>=3.5 from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: matplotlib>=3.5 Handling multiprocess from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: multiprocess Handling numpy>=1.20.3 from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: numpy>=1.20.3 Handling pandas>=2.0 from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: pandas>=2.0 Handling scipy>=1.9.3 from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: scipy>=1.9.3 Handling hatch; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: hatch; extra == 'dev' Handling myst-parser; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: myst-parser; extra == 'dev' Handling numpydoc; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: numpydoc; extra == 'dev' Handling pathos>=0.3.2; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pathos>=0.3.2; extra == 'dev' Handling pre-commit; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pre-commit; extra == 'dev' Handling pydata-sphinx-theme>=0.15.2; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pydata-sphinx-theme>=0.15.2; extra == 'dev' Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pytest; extra == 'dev' Handling sphinx; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: sphinx; extra == 'dev' Handling pathos>=0.3.2; extra == 'distributed' from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: pathos>=0.3.2; extra == "distributed" Handling myst-parser; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: myst-parser; extra == 'doc' Handling numpydoc; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: numpydoc; extra == 'doc' Handling pydata-sphinx-theme>=0.15.2; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pydata-sphinx-theme>=0.15.2; extra == 'doc' Handling sphinx; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: sphinx; extra == 'doc' Handling pathos>=0.3.2; extra == 'test' from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: pathos>=0.3.2; extra == "test" Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (salib) Requirement not satisfied: pytest; extra == "test" + cat /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires + rm -rfv salib-1.5.1.dist-info/ removed 'salib-1.5.1.dist-info/METADATA' removed directory 'salib-1.5.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-SALib-1.5.1-6.fc45.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 noarch --nodeps /builddir/build/SPECS/python-SALib.spec'], chrootPath='/var/lib/mock/f45-build-56796-987/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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.x20iesrt:/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', 'bae523ba767b4f5f90aa253cc6e2e7fd', '-D', '/var/lib/mock/f45-build-56796-987/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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 noarch --nodeps /builddir/build/SPECS/python-SALib.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1758240000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LokfDB + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-build + cd SALib-1.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-SALib-1.5.1-build/.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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-SALib-1.5.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=45 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-dep-overrides -x distributed -x test Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.31.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.5.0) Handling matplotlib>=3.5 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: matplotlib>=3.5 (installed: matplotlib 3.11.1) Handling multiprocess from hook generated metadata: Requires-Dist (salib) Requirement satisfied: multiprocess (installed: multiprocess 0.70.19) Handling numpy>=1.20.3 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: numpy>=1.20.3 (installed: numpy 2.5.2) Handling pandas>=2.0 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pandas>=2.0 (installed: pandas 3.0.6) Handling scipy>=1.9.3 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: scipy>=1.9.3 (installed: scipy 1.18.0) Handling hatch; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: hatch; extra == 'dev' Handling myst-parser; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: myst-parser; extra == 'dev' Handling numpydoc; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: numpydoc; extra == 'dev' Handling pathos>=0.3.2; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pathos>=0.3.2; extra == 'dev' Handling pre-commit; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pre-commit; extra == 'dev' Handling pydata-sphinx-theme>=0.15.2; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pydata-sphinx-theme>=0.15.2; extra == 'dev' Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pytest; extra == 'dev' Handling sphinx; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: sphinx; extra == 'dev' Handling pathos>=0.3.2; extra == 'distributed' from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pathos>=0.3.2; extra == "distributed" (installed: pathos 0.3.5) Handling myst-parser; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: myst-parser; extra == 'doc' Handling numpydoc; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: numpydoc; extra == 'doc' Handling pydata-sphinx-theme>=0.15.2; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pydata-sphinx-theme>=0.15.2; extra == 'doc' Handling sphinx; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: sphinx; extra == 'doc' Handling pathos>=0.3.2; extra == 'test' from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pathos>=0.3.2; extra == "test" (installed: pathos 0.3.5) Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pytest; extra == "test" (installed: pytest 9.1.1) + cat /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires + rm -rfv salib-1.5.1.dist-info/ removed 'salib-1.5.1.dist-info/METADATA' removed directory 'salib-1.5.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-SALib-1.5.1-6.fc45.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 noarch --nodeps /builddir/build/SPECS/python-SALib.spec'], chrootPath='/var/lib/mock/f45-build-56796-987/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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.x20iesrt:/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', '579b045102da45499eee0dc3bcc4d245', '-D', '/var/lib/mock/f45-build-56796-987/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x20iesrt:/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 noarch --nodeps /builddir/build/SPECS/python-SALib.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1758240000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cBBpCn + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-build + cd SALib-1.5.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-SALib-1.5.1-build/.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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-SALib-1.5.1-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=45 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-dep-overrides -x distributed -x test Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.31.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.5.0) Handling matplotlib>=3.5 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: matplotlib>=3.5 (installed: matplotlib 3.11.1) Handling multiprocess from hook generated metadata: Requires-Dist (salib) Requirement satisfied: multiprocess (installed: multiprocess 0.70.19) Handling numpy>=1.20.3 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: numpy>=1.20.3 (installed: numpy 2.5.2) Handling pandas>=2.0 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pandas>=2.0 (installed: pandas 3.0.6) Handling scipy>=1.9.3 from hook generated metadata: Requires-Dist (salib) Requirement satisfied: scipy>=1.9.3 (installed: scipy 1.18.0) Handling hatch; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: hatch; extra == 'dev' Handling myst-parser; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: myst-parser; extra == 'dev' Handling numpydoc; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: numpydoc; extra == 'dev' Handling pathos>=0.3.2; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pathos>=0.3.2; extra == 'dev' Handling pre-commit; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pre-commit; extra == 'dev' Handling pydata-sphinx-theme>=0.15.2; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pydata-sphinx-theme>=0.15.2; extra == 'dev' Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pytest; extra == 'dev' Handling sphinx; extra == 'dev' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: sphinx; extra == 'dev' Handling pathos>=0.3.2; extra == 'distributed' from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pathos>=0.3.2; extra == "distributed" (installed: pathos 0.3.5) Handling myst-parser; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: myst-parser; extra == 'doc' Handling numpydoc; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: numpydoc; extra == 'doc' Handling pydata-sphinx-theme>=0.15.2; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: pydata-sphinx-theme>=0.15.2; extra == 'doc' Handling sphinx; extra == 'doc' from hook generated metadata: Requires-Dist (salib) Ignoring alien requirement: sphinx; extra == 'doc' Handling pathos>=0.3.2; extra == 'test' from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pathos>=0.3.2; extra == "test" (installed: pathos 0.3.5) Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (salib) Requirement satisfied: pytest; extra == "test" (installed: pytest 9.1.1) + cat /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-buildrequires + rm -rfv salib-1.5.1.dist-info/ removed 'salib-1.5.1.dist-info/METADATA' removed directory 'salib-1.5.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mWcZG8 + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SALib-1.5.1 + mkdir -p /builddir/build/BUILD/python-SALib-1.5.1-build/.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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-SALib-1.5.1-build/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir Processing ./. Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: SALib Building wheel for SALib (pyproject.toml): started Running command Building wheel for SALib (pyproject.toml) Building wheel for SALib (pyproject.toml): finished with status 'done' Created wheel for SALib: filename=salib-1.5.1-py3-none-any.whl size=755248 sha256=7d46be40044b421ad3c1dcf2a5c99e0fe9979b098afef68e79264b0c7901f9ec Stored in directory: /builddir/.cache/pip/wheels/7e/d7/de/298b557b81583defc9c1b181de47ce9b3885aa89caedfd7466 Successfully built SALib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Eu8mxf + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-build + '[' /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-SALib-1.5.1-build + mkdir /builddir/build/BUILD/python-SALib-1.5.1-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SALib-1.5.1 ++ ls /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir/salib-1.5.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=salib==1.5.1 + '[' -z salib==1.5.1 ']' + PIP_CONFIG_FILE=/dev/null + TMPDIR=/builddir/build/BUILD/python-SALib-1.5.1-build/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-SALib-1.5.1-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-SALib-1.5.1-build/pyproject-wheeldir salib==1.5.1 Using pip 26.1.2 from /usr/lib/python3.15/site-packages/pip (python 3.15) Looking in links: /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir Processing /builddir/build/BUILD/python-SALib-1.5.1-build/pyproject-wheeldir/salib-1.5.1-py3-none-any.whl Installing collected packages: salib Creating /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin/salib to 755 Successfully installed salib-1.5.1 + '[' -d /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin/salib /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin/salib: updating + rm -rfv /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + site_dirs+=("/usr/lib/python3.15/site-packages") + '[' /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib64/python3.15/site-packages '!=' /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + '[' -d /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib64/python3.15/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost %dir /usr/lib/python3.15/site-packages/salib-1.5.1.dist-info' +++ basename /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/salib-1.5.1.dist-info ++ PYTHONPATH=/usr/lib/rpm/redhat ++ /usr/bin/python3 -sBc 'import sys; from pyproject_save_files import canonical_name_from_distinfo; print(canonical_name_from_distinfo(sys.argv[1]))' salib-1.5.1.dist-info + _normalized=salib + echo '%ghost %dir /usr/lib/python3.15/site-packages/salib-1.5.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/salib-1.5.1.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-SALib-1.5.1-build/BUILDROOT --record /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/salib-1.5.1.dist-info/RECORD --output /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-record + rm -fv /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/salib-1.5.1.dist-info/RECORD removed '/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/salib-1.5.1.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/salib-1.5.1.dist-info/REQUESTED removed '/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/salib-1.5.1.dist-info/REQUESTED' + '[' -f /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-dep-overrides ']' ++ wc -l /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-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-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT --sitelib /usr/lib/python3.15/site-packages --sitearch /usr/lib64/python3.15/site-packages --python-version 3.15 --pyproject-record /builddir/build/BUILD/python-SALib-1.5.1-build/python-SALib-1.5.1-6.fc45.noarch-pyproject-record --prefix /usr -l SALib + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/common_args.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/discrepancy.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/dgsm.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/fast.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/ff.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/delta.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/pawn.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/rbd_fast.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/plotting/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/rsa.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/plotting/__pycache__/bar.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/plotting/__pycache__/heatmap.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/plotting/__pycache__/hdmr.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/plotting/__pycache__/heatmap.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/hdmr.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/plotting/__pycache__/morris.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/morris/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/plotting/__pycache__/morris.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/morris/__pycache__/brute.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/sobol.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/morris/__pycache__/morris.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/morris/__pycache__/local.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/morris/__pycache__/strategy.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/common_args.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/fast_sampler.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/morris.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/ff.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/__pycache__/enhanced_hdmr.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/finite_diff.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/sobol_sequence.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/saltelli.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/morris/__pycache__/strategy.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/latin.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/sobol.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/scripts/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/scripts/__pycache__/salib.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/test_functions/__pycache__/Ishigami.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/test_functions/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/test_functions/__pycache__/Sobol_G.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/test_functions/__pycache__/linear_model_1.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/saltelli.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/test_functions/__pycache__/linear_model_2.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/test_functions/__pycache__/lake_problem.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/test_functions/__pycache__/oakley2004.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__pycache__/results.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__pycache__/util_funcs.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__pycache__/problem.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__pycache__/problem.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/sample/__pycache__/directions.cpython-315.pyc: rewriting with normalized contents Scanned 25 directories and 155 files, processed 53 inodes, 53 modified (10 replaced + 43 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr Scanned 24 directories and 155 files, considered 155 files, read 0 files, linked 2 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kurzbe + umask 022 + cd /builddir/build/BUILD/python-SALib-1.5.1-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd SALib-1.5.1 + 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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib64/python3.15/site-packages:/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-SALib-1.5.1-build/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 rootdir: /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1 configfile: pyproject.toml testpaths: tests collected 190 items tests/sample/morris/test_morris.py ...................x. [ 11%] tests/sample/morris/test_morris_strategies.py ........................ [ 23%] tests/sample/test_latin.py ...... [ 26%] tests/test_analyze_fast.py .. [ 27%] tests/test_analyze_morris.py .............. [ 35%] tests/test_cli.py .. [ 36%] tests/test_cli_analyze.py .......F [ 40%] tests/test_cli_sample.py ....... [ 44%] tests/test_discrepancy.py . [ 44%] tests/test_ff.py ........ [ 48%] tests/test_groups.py F. [ 50%] tests/test_hdmr.py ........ [ 54%] tests/test_problem_spec.py .FFFF.. [ 57%] tests/test_regression.py ......FFFF.FFFF...F [ 67%] tests/test_sample_seed.py ..... [ 70%] tests/test_sobol.py ...FFFF..FFF [ 76%] tests/test_sp_sobol.py ...FFFF..FFF [ 83%] tests/test_test_functions.py .............. [ 90%] tests/test_to_df.py .F.... [ 93%] tests/test_util.py ............ [100%] =================================== FAILURES =================================== __________________________________ test_sobol __________________________________ def test_sobol(): # Generate inputs cmd = f"salib sample saltelli -p {ishigami_fp} -o {input_file} -n 1024\ --precision 8 --max-order 2 --skip-values 2048" cmd = cmd.split() result = subprocess.check_output(cmd, universal_newlines=True) np.savetxt(output_file, Ishigami.evaluate(np.loadtxt(input_file))) analyze_cmd = f"salib analyze sobol -p {ishigami_fp}\ -Y {output_file} -c 0 --max-order 2\ -r 1000 --seed=100".split() > result = subprocess.check_output(analyze_cmd, universal_newlines=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_cli_analyze.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.15/subprocess.py:587: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['salib', 'analyze', 'sobol', '-p', './src/SALib/test_functions/params/Ishigami.txt', '-Y', ...],) kwargs = {'stdout': -1, 'universal_newlines': True} def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout (seconds) is given and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['salib', 'analyze', 'sobol', '-p', './src/SALib/test_functions/params/Ishigami.txt', '-Y', 'tests/data/model_output.txt', '-c', '0', '--max-order', '2', '-r', '1000', '--seed=100']' returned non-zero exit status 1. /usr/lib64/python3.15/subprocess.py:692: CalledProcessError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/bin/salib", line 6, in sys.exit(main()) ~~~~^^ File "/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/scripts/salib.py", line 63, in main common_args.run_cli(module.cli_parse, module.cli_action, opts) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/common_args.py", line 51, in run_cli run_analysis(args) ~~~~~~~~~~~~^^^^^^ File "/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py", line 482, in cli_action analyze( ~~~~~~~^ problem, ^^^^^^^^ ...<6 lines>... seed=args.seed, ^^^^^^^^^^^^^^^ ) ^ File "/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py", line 121, in analyze _, D = extract_group_names(problem) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py", line 274, in extract_group_names names = list(pd.unique(groups)) ~~~~~~~~~^^^^^^^^ File "/usr/lib64/python3.15/site-packages/pandas/core/algorithms.py", line 433, in unique return unique_with_mask(values) File "/usr/lib64/python3.15/site-packages/pandas/core/algorithms.py", line 461, in unique_with_mask values = _ensure_arraylike(values, func_name="unique") File "/usr/lib64/python3.15/site-packages/pandas/core/algorithms.py", line 239, in _ensure_arraylike raise TypeError( ...<3 lines>... ) TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. __________________________ test_sobol_group_analysis ___________________________ def test_sobol_group_analysis(): """Ensure valid groupings are returned from the Sobol analysis method.""" group_spec = ProblemSpec( { "names": ["P1", "P2", "P3", "P4", "P5", "P6"], "bounds": [ [0.0, 1.0], [0.0, 1.0, 0.75], [0.0, 0.2], [0.0, 0.2], [-1.0, 1.0], [0.0, 1.0, 0.25], ], "dists": ["unif", "triang", "norm", "lognorm", "unif", "triang"], "groups": ["A", "B"] * 3, } ) # fmt: off (group_spec .sample_saltelli(128) .evaluate(example_func) > .analyze_sobol() ^^^^^^^^^^^^^^^ ) # noqa: E124 tests/test_groups.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:572: in modfunc return getattr(self, method)(func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:373: in analyze self._analysis = func(self, Y=self._results) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['A', 'B', 'A', 'B', 'A', 'B'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ___________________________________ test_sp ____________________________________ def test_sp(): """Ensure basic usage works without raising any errors.""" sp = ProblemSpec( { "names": ["x1", "x2", "x3"], "groups": None, "bounds": [[-np.pi, np.pi]] * 3, "outputs": ["Y"], } ) ( sp.sample_saltelli(128, calc_second_order=True) .evaluate(Ishigami.evaluate) > .analyze_sobol(calc_second_order=True, conf_level=0.95) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) tests/test_problem_spec.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:572: in modfunc return getattr(self, method)(func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:373: in analyze self._analysis = func(self, Y=self._results) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _______________________________ test_sp_setters ________________________________ def test_sp_setters(): """Test sample and result setters.""" sp = ProblemSpec( { "names": ["x1", "x2", "x3"], "groups": None, "bounds": [[-np.pi, np.pi]] * 3, "outputs": ["Y"], } ) nvars = sp["num_vars"] N = 128 X1 = sp.sample_saltelli(N, calc_second_order=True).samples # Saltelli produces `N*(2p+2)` samples when producing samples for 2nd order analysis expected_samples = 128 * (2 * nvars + 2) assert X1.shape[0] == expected_samples, "Number of samples is not as expected" # Get another 100 samples X2 = sp.sample_saltelli(128, calc_second_order=True).samples assert np.all( sp.samples == X2 ), "Stored sample and extracted samples are not identical!" # Test property setter # this approach actually overrides the underlying sp._samples attribute sp.samples = X1 assert np.all(sp.samples == X1), "Reverting samples to original set did not work!" # Setting samples should clear results attribute sp.set_samples(X2) Y2 = sp.evaluate(Ishigami.evaluate).results sp.set_samples(X1) assert ( sp.results is None ), "Results were not cleared after new sample values were set!" # Entire process should not raise errors ( sp.sample_saltelli(128, calc_second_order=True) .set_samples(X2) .set_results(Y2) > .analyze_sobol(calc_second_order=True, conf_level=0.95) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) tests/test_problem_spec.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:572: in modfunc return getattr(self, method)(func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:373: in analyze self._analysis = func(self, Y=self._results) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _________________________ test_parallel_single_output __________________________ @pytest.mark.filterwarnings("ignore::UserWarning") def test_parallel_single_output(): # Create the SALib Problem specification sp = ProblemSpec( { "names": ["x1", "x2", "x3"], "groups": None, "bounds": [[-np.pi, np.pi]] * 3, "outputs": ["Y"], } ) # Single core example ( sp.sample_saltelli(2**8) .evaluate(Ishigami.evaluate) > .analyze_sobol(calc_second_order=True, conf_level=0.95, seed=101) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) tests/test_problem_spec.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:572: in modfunc return getattr(self, method)(func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:373: in analyze self._analysis = func(self, Y=self._results) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError __________________________ test_parallel_multi_output __________________________ @pytest.mark.filterwarnings("ignore::UserWarning") def test_parallel_multi_output(): from SALib.test_functions import lake_problem # Create the SALib Problem specification sp = ProblemSpec( { "names": ["a", "q", "b", "mean", "stdev", "delta", "alpha"], "bounds": [ [0.0, 0.1], [2.0, 4.5], [0.1, 0.45], [0.01, 0.05], [0.001, 0.005], [0.93, 0.99], [0.2, 0.5], ], "outputs": ["max_P", "Utility", "Inertia", "Reliability"], } ) # Single core example ( sp.sample_saltelli(2**8) .evaluate(lake_problem.evaluate) > .analyze_sobol(calc_second_order=True, conf_level=0.95, seed=101) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) tests/test_problem_spec.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:572: in modfunc return getattr(self, method)(func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:371: in analyze self._analysis[out] = func(self, Y=self._results[:, i]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['a', 'q', 'b', 'mean', 'stdev', 'delta', ...], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ____________________________ test_regression_sobol _____________________________ @mark.filterwarnings("ignore::UserWarning") def test_regression_sobol(): param_file = "src/SALib/test_functions/params/Ishigami.txt" problem = read_param_file(param_file) param_values = saltelli.sample(problem, 10000, calc_second_order=True) Y = Ishigami.evaluate(param_values) > Si = sobol.analyze( problem, Y, calc_second_order=True, conf_level=0.95, print_to_console=False ) tests/test_regression.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ________________________ test_regression_sobol_parallel ________________________ @mark.filterwarnings("ignore::UserWarning") def test_regression_sobol_parallel(): param_file = "src/SALib/test_functions/params/Ishigami.txt" problem = read_param_file(param_file) param_values = saltelli.sample(problem, 10000, calc_second_order=True) Y = Ishigami.evaluate(param_values) > Si = sobol.analyze( problem, Y, calc_second_order=True, parallel=True, conf_level=0.95, print_to_console=False, ) tests/test_regression.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _________________________ test_regression_sobol_groups _________________________ @mark.filterwarnings("ignore::UserWarning") def test_regression_sobol_groups(): problem = { "num_vars": 3, "names": ["x1", "x2", "x3"], "bounds": [[-np.pi, np.pi]] * 3, "groups": ["G1", "G2", "G1"], } param_values = saltelli.sample(problem, 10000, calc_second_order=True) Y = Ishigami.evaluate(param_values) > Si = sobol.analyze( problem, Y, calc_second_order=True, parallel=True, conf_level=0.95, print_to_console=False, ) tests/test_regression.py:247: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['G1', 'G2', 'G1'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ______________________ test_regression_sobol_groups_dists ______________________ @mark.filterwarnings("ignore::UserWarning") def test_regression_sobol_groups_dists(): problem = { "num_vars": 3, "names": ["x1", "x2", "x3"], "bounds": [[-np.pi, np.pi], [1.0, 0.2], [0.0, 3, 0.5]], "groups": ["G1", "G2", "G1"], "dists": ["unif", "lognorm", "triang"], } param_values = saltelli.sample(problem, 10000, calc_second_order=True) Y = Ishigami.evaluate(param_values) > Si = sobol.analyze( problem, Y, calc_second_order=True, parallel=True, conf_level=0.95, print_to_console=False, ) tests/test_regression.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['G1', 'G2', 'G1'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ________________________ test_regression_hdmr_ishigami _________________________ TypeError: only 0-dimensional arrays can be converted to Python scalars The above exception was the direct cause of the following exception: def test_regression_hdmr_ishigami(): param_file = "src/SALib/test_functions/params/Ishigami.txt" problem = read_param_file(param_file) X = latin.sample(problem, 10000) Y = Ishigami.evaluate(X) options = { "maxorder": 2, "maxiter": 100, "m": 4, "K": 1, "R": 10000, "alpha": 0.95, "lambdax": 0.01, "print_to_console": False, } > Si = hdmr.analyze(problem, X, Y, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_regression.py:314: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:188: in analyze SA, Em, RT, Y_em, idx = _compute(X, Y, settings, init_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:365: in _compute SA["S"][:, k], SA["Sa"][:, k], SA["Sb"][:, k] = ancova( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Y = array([17.22146369, 0.2565339 , 2.21477568, ..., 0.93322691, 5.46673847, 4.42927549], shape=(10000,)) Y_em = array([[ 2.84952567e+00, 3.61375618e+00, 1.81360990e-01, -1.45419585e-02, 7.28625631e+00, 8.29154370e-03],... 5.47823825e-01, 2.40815335e-02, 2.80550492e-02, -8.21886490e-01, 1.36214702e-02]], shape=(10000, 6)) V_Y = array([13.8030605]), R = 10000, n = 6 def ancova(Y, Y_em, V_Y, R, n): """Analysis of Covariance.""" # Compute the sum of all Y_em terms Y0 = np.sum(Y_em, axis=1) # Initialize each variable S, S_a, S_b = np.zeros((3, n)) # Analysis of covariance for j in range(n): # Covariance matrix of jth term of Y_em and actual Y C = np.cov(np.stack((Y_em[:, j], Y), axis=0)) # Total sensitivity of jth term ( = Eq. 19 of Li et al ) > S[j] = C[0, 1] / V_Y ^^^^ E ValueError: setting an array element with a sequence. ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:688: ValueError __________________________ test_regression_hdmr_case1 __________________________ TypeError: only 0-dimensional arrays can be converted to Python scalars The above exception was the direct cause of the following exception: def test_regression_hdmr_case1(): problem = { "num_vars": 5, "names": ["x1", "x2", "x3", "x4", "x5"], "bounds": [[0, 1] * 5], } X = latin.sample(problem, 10000) Y = linear_model_1.evaluate(X) options = { "maxorder": 2, "maxiter": 100, "m": 2, "K": 1, "R": 10000, "alpha": 0.95, "lambdax": 0.01, "print_to_console": False, } > Si = hdmr.analyze(problem, X, Y, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_regression.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:188: in analyze SA, Em, RT, Y_em, idx = _compute(X, Y, settings, init_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:365: in _compute SA["S"][:, k], SA["Sa"][:, k], SA["Sb"][:, k] = ancova( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Y = array([1.87110422, 4.14889324, 3.51872644, ..., 3.4536921 , 2.1243767 , 3.56583635], shape=(10000,)) Y_em = array([[-3.61458570e-01, -5.24748298e-02, 4.42636748e-01, ..., -5.26904146e-06, -6.86599746e-06, 1.47544945e...441812e-01, 4.62264258e-01, ..., -4.07879689e-06, -7.73673697e-06, 8.75291971e-07]], shape=(10000, 15)) V_Y = array([0.42915865]), R = 10000, n = 15 def ancova(Y, Y_em, V_Y, R, n): """Analysis of Covariance.""" # Compute the sum of all Y_em terms Y0 = np.sum(Y_em, axis=1) # Initialize each variable S, S_a, S_b = np.zeros((3, n)) # Analysis of covariance for j in range(n): # Covariance matrix of jth term of Y_em and actual Y C = np.cov(np.stack((Y_em[:, j], Y), axis=0)) # Total sensitivity of jth term ( = Eq. 19 of Li et al ) > S[j] = C[0, 1] / V_Y ^^^^ E ValueError: setting an array element with a sequence. ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:688: ValueError __________________________ test_regression_hdmr_case2 __________________________ TypeError: only 0-dimensional arrays can be converted to Python scalars The above exception was the direct cause of the following exception: def test_regression_hdmr_case2(): problem = { "num_vars": 5, "names": ["x1", "x2", "x3", "x4", "x5"], "bounds": [[0, 1] * 5], } # Generate correlated samples mean = np.zeros((problem["num_vars"])) cov = [ [1, 0.6, 0.2, 0, 0], [0.6, 1, 0.2, 0, 0], [0.2, 0.2, 1, 0, 0], [0, 0, 0, 1, 0.2], [0, 0, 0, 0.2, 1], ] X = np.random.multivariate_normal(mean, cov, 10000) Y = linear_model_1.evaluate(X) options = { "maxorder": 2, "maxiter": 100, "m": 2, "K": 1, "R": 10000, "alpha": 0.95, "lambdax": 0.01, "print_to_console": False, } > Si = hdmr.analyze(problem, X, Y, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_regression.py:373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:188: in analyze SA, Em, RT, Y_em, idx = _compute(X, Y, settings, init_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:365: in _compute SA["S"][:, k], SA["Sa"][:, k], SA["Sb"][:, k] = ancova( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Y = array([ 3.12536914, 0.22889979, 1.93537446, ..., -0.43306986, 1.272683 , 3.11407607], shape=(10000,)) Y_em = array([[ 1.12288859e+00, 1.34737148e+00, -2.05191366e+00, ..., -4.84812348e-05, -8.77991727e-05, -4.01776483e...451652e+00, -4.83429108e-01, ..., -7.32349826e-06, 2.10695866e-05, -2.50156598e-05]], shape=(10000, 15)) V_Y = array([7.46759879]), R = 10000, n = 15 def ancova(Y, Y_em, V_Y, R, n): """Analysis of Covariance.""" # Compute the sum of all Y_em terms Y0 = np.sum(Y_em, axis=1) # Initialize each variable S, S_a, S_b = np.zeros((3, n)) # Analysis of covariance for j in range(n): # Covariance matrix of jth term of Y_em and actual Y C = np.cov(np.stack((Y_em[:, j], Y), axis=0)) # Total sensitivity of jth term ( = Eq. 19 of Li et al ) > S[j] = C[0, 1] / V_Y ^^^^ E ValueError: setting an array element with a sequence. ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:688: ValueError __________________________ test_regression_hdmr_case3 __________________________ TypeError: only 0-dimensional arrays can be converted to Python scalars The above exception was the direct cause of the following exception: def test_regression_hdmr_case3(): problem = { "num_vars": 5, "names": ["x1", "x2", "x3", "x4", "x5"], "bounds": [[0, 1] * 5], } # Generate correlated samples mean = np.zeros((problem["num_vars"])) cov = [ [1, 0.6, 0.2, 0, 0], [0.6, 1, 0.2, 0, 0], [0.2, 0.2, 1, 0, 0], [0, 0, 0, 1, 0.2], [0, 0, 0, 0.2, 1], ] X = np.random.multivariate_normal(mean, cov, 10000) Y = linear_model_2.evaluate(X) options = { "maxorder": 2, "maxiter": 100, "m": 2, "K": 1, "R": 10000, "alpha": 0.95, "lambdax": 0.01, "print_to_console": False, } > Si = hdmr.analyze(problem, X, Y, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_regression.py:410: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:188: in analyze SA, Em, RT, Y_em, idx = _compute(X, Y, settings, init_vars) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:365: in _compute SA["S"][:, k], SA["Sa"][:, k], SA["Sb"][:, k] = ancova( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Y = array([ 6.24220684, 8.00344587, 13.82701204, ..., -0.04155161, -6.46533147, 4.13230115], shape=(10000,)) Y_em = array([[ 4.62302992e+00, -2.08199860e+00, 3.96254977e+00, ..., -4.96263814e-05, -8.75295414e-07, 2.68554181e...090919e+00, 1.75393289e+00, ..., -9.40415346e-06, -3.61215496e-05, 5.28504618e-05]], shape=(10000, 15)) V_Y = array([91.20627664]), R = 10000, n = 15 def ancova(Y, Y_em, V_Y, R, n): """Analysis of Covariance.""" # Compute the sum of all Y_em terms Y0 = np.sum(Y_em, axis=1) # Initialize each variable S, S_a, S_b = np.zeros((3, n)) # Analysis of covariance for j in range(n): # Covariance matrix of jth term of Y_em and actual Y C = np.cov(np.stack((Y_em[:, j], Y), axis=0)) # Total sensitivity of jth term ( = Eq. 19 of Li et al ) > S[j] = C[0, 1] / V_Y ^^^^ E ValueError: setting an array element with a sequence. ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/hdmr.py:688: ValueError __________________________ test_regression_delta_svm ___________________________ def test_regression_delta_svm(): xy_input_fn = "tests/data/delta_svm_regression_data.csv" inputs = np.loadtxt(xy_input_fn, delimiter=",", skiprows=1) X = inputs[:, 0] Y = inputs[:, 1] Ygrid = [ 0.0, 0.3030303, 0.60606061, 0.90909091, 1.21212121, 1.51515152, 1.81818182, 2.12121212, 2.42424242, 2.72727273, 3.03030303, 3.33333333, 3.63636364, 3.93939394, 4.24242424, 4.54545455, 4.84848485, 5.15151515, 5.45454545, 5.75757576, 6.06060606, 6.36363636, 6.66666667, 6.96969697, 7.27272727, 7.57575758, 7.87878788, 8.18181818, 8.48484848, 8.78787879, 9.09090909, 9.39393939, 9.6969697, 10.0, 10.3030303, 10.60606061, 10.90909091, 11.21212121, 11.51515152, 11.81818182, 12.12121212, 12.42424242, 12.72727273, 13.03030303, 13.33333333, 13.63636364, 13.93939394, 14.24242424, 14.54545455, 14.84848485, 15.15151515, 15.45454545, 15.75757576, 16.06060606, 16.36363636, 16.66666667, 16.96969697, 17.27272727, 17.57575758, 17.87878788, 18.18181818, 18.48484848, 18.78787879, 19.09090909, 19.39393939, 19.6969697, 20.0, 20.3030303, 20.60606061, 20.90909091, 21.21212121, 21.51515152, 21.81818182, 22.12121212, 22.42424242, 22.72727273, 23.03030303, 23.33333333, 23.63636364, 23.93939394, 24.24242424, 24.54545455, 24.84848485, 25.15151515, 25.45454545, 25.75757576, 26.06060606, 26.36363636, 26.66666667, 26.96969697, 27.27272727, 27.57575758, 27.87878788, 28.18181818, 28.48484848, 28.78787879, 29.09090909, 29.39393939, 29.6969697, 30.0, ] m = [ 0.0, 717.82142857, 1435.64285714, 2153.46428571, 2871.28571429, 3589.10714286, 4306.92857143, 5024.75, 5742.57142857, 6460.39285714, 7178.21428571, 7896.03571429, 8613.85714286, 9331.67857143, 10049.5, 10767.32142857, 11485.14285714, 12202.96428571, 12920.78571429, 13638.60714286, 14356.42857143, 15074.25, 15792.07142857, 16509.89285714, 17227.71428571, 17945.53571429, 18663.35714286, 19381.17857143, 20099.0, ] num_resamples = 200 conf_level = 0.95 test_res = delta.bias_reduced_delta( Y, Ygrid, X, m, num_resamples, conf_level, Y.size ) > np.testing.assert_allclose( test_res, (0.6335098491949687, 0.026640611898969522), atol=0.005 ) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0.005 E E Mismatched elements: 1 / 2 (50%) E Mismatch at index: E [0]: 0.6135966970144564 (ACTUAL), 0.6335098491949687 (DESIRED) E Max absolute difference among violations: 0.01991315 E Max relative difference among violations: 0.03143306 E ACTUAL: array([0.613597, 0.02565 ]) E DESIRED: array([0.63351 , 0.026641]) tests/test_regression.py:617: AssertionError __________________________ test_incorrect_sample_size __________________________ def test_incorrect_sample_size(): problem, param_values = setup_samples() Y = Ishigami.evaluate(param_values) with raises(RuntimeError): > sobol.analyze(problem, Y[:-10], calc_second_order=True) tests/test_sobol.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _____________________________ test_bad_conf_level ______________________________ def test_bad_conf_level(): problem, param_values = setup_samples() Y = Ishigami.evaluate(param_values) with raises(RuntimeError): > sobol.analyze( problem, Y, calc_second_order=True, conf_level=1.01, print_to_console=False ) tests/test_sobol.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _____________________ test_incorrect_second_order_setting ______________________ @mark.filterwarnings("ignore::UserWarning") def test_incorrect_second_order_setting(): # note this will still be a problem if N(2D+2) also divides by (D+2) problem, param_values = setup_samples(N=511, calc_second_order=False) Y = Ishigami.evaluate(param_values) with raises(RuntimeError): > sobol.analyze(problem, Y, calc_second_order=True) tests/test_sobol.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ______________________________ test_include_print ______________________________ def test_include_print(): problem, param_values = setup_samples() Y = Ishigami.evaluate(param_values) > sobol.analyze( problem, Y, calc_second_order=True, conf_level=0.95, print_to_console=True ) tests/test_sobol.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ___________________________ test_Sobol_G_using_sobol ___________________________ def test_Sobol_G_using_sobol(): """ Tests the accuracy of the Sobol/Saltelli procedure using the Sobol_G test function, comparing the results from the Sobol/Saltelli analysis against the analytically computed sensitivity index from the Sobol_G function. """ problem = { "num_vars": 6, "names": ["x1", "x2", "x3", "x4", "x5", "x6"], "bounds": [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], } N = 4096 a = np.array([78, 12, 0.5, 2, 97, 33]) param_values = saltelli.sample(problem, N, calc_second_order=False) model_results = Sobol_G.evaluate(param_values, a) > Si = sobol.analyze(problem, model_results, calc_second_order=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_sobol.py:162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3', 'x4', 'x5', 'x6'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _____________________________ test_constant_output _____________________________ def test_constant_output(): """ No variance in model outputs, which should produce 0 sensitivity. """ def mock_model(X): r, _ = X.shape return np.array([0.4] * r) problem = { "num_vars": 3, "names": ["x1", "x2", "x3"], "bounds": [[0, 1], [0, 1], [0, 1]], } N = 256 param_values = saltelli.sample(problem, N, calc_second_order=False) model_results = mock_model(param_values) > Si = sobol.analyze(problem, model_results, calc_second_order=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_sobol.py:185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _________________________ test_grouped_constant_output _________________________ def test_grouped_constant_output(): """Test case where there is no variance in model outputs for grouped factors.""" def mock_model(X): r, _ = X.shape return np.array([0.4] * r) problem = { "num_vars": 3, "names": ["x1", "x2", "x3"], "groups": ["A", "B", "A"], "bounds": [[0, 1], [0, 1], [0, 1]], } N = 256 param_values = saltelli.sample(problem, N, calc_second_order=False) model_results = mock_model(param_values) > Si = sobol.analyze(problem, model_results, calc_second_order=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_sobol.py:213: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['A', 'B', 'A'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError __________________________ test_incorrect_sample_size __________________________ def test_incorrect_sample_size(): problem, param_values = setup_samples() Y = Ishigami.evaluate(param_values) with raises(RuntimeError): > sobol.analyze(problem, Y[:-10], calc_second_order=True) tests/test_sp_sobol.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _____________________________ test_bad_conf_level ______________________________ def test_bad_conf_level(): problem, param_values = setup_samples() Y = Ishigami.evaluate(param_values) with raises(RuntimeError): > sobol.analyze( problem, Y, calc_second_order=True, conf_level=1.01, print_to_console=False ) tests/test_sp_sobol.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _____________________ test_incorrect_second_order_setting ______________________ @mark.filterwarnings("ignore::UserWarning") def test_incorrect_second_order_setting(): # note this will still be a problem if N(2D+2) also divides by (D+2) problem, param_values = setup_samples(N=511, calc_second_order=False) Y = Ishigami.evaluate(param_values) with raises(RuntimeError): > sobol.analyze(problem, Y, calc_second_order=True) tests/test_sp_sobol.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ______________________________ test_include_print ______________________________ def test_include_print(): problem, param_values = setup_samples() Y = Ishigami.evaluate(param_values) > sobol.analyze( problem, Y, calc_second_order=True, conf_level=0.95, print_to_console=True ) tests/test_sp_sobol.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError ___________________________ test_Sobol_G_using_sobol ___________________________ def test_Sobol_G_using_sobol(): """ Tests the accuracy of the Sobol/Saltelli procedure using the Sobol_G test function, comparing the results from the Sobol/Saltelli analysis against the analytically computed sensitivity index from the Sobol_G function. """ problem = { "num_vars": 6, "names": ["x1", "x2", "x3", "x4", "x5", "x6"], "bounds": [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], } N = 4096 a = np.array([78, 12, 0.5, 2, 97, 33]) param_values = sobol_sample(problem, N, calc_second_order=False) model_results = Sobol_G.evaluate(param_values, a) > Si = sobol.analyze(problem, model_results, calc_second_order=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_sp_sobol.py:165: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3', 'x4', 'x5', 'x6'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _____________________________ test_constant_output _____________________________ def test_constant_output(): """ No variance in model outputs, which should produce 0 sensitivity. """ def mock_model(X): r, _ = X.shape return np.array([0.4] * r) problem = { "num_vars": 3, "names": ["x1", "x2", "x3"], "bounds": [[0, 1], [0, 1], [0, 1]], } N = 256 param_values = sobol_sample(problem, N, calc_second_order=False) model_results = mock_model(param_values) > Si = sobol.analyze(problem, model_results, calc_second_order=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_sp_sobol.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _________________________ test_grouped_constant_output _________________________ def test_grouped_constant_output(): """Test case where there is no variance in model outputs for grouped factors.""" def mock_model(X): r, _ = X.shape return np.array([0.4] * r) problem = { "num_vars": 3, "names": ["x1", "x2", "x3"], "groups": ["A", "B", "A"], "bounds": [[0, 1], [0, 1], [0, 1]], } N = 256 param_values = sobol_sample(problem, N, calc_second_order=False) model_results = mock_model(param_values) > Si = sobol.analyze(problem, model_results, calc_second_order=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_sp_sobol.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['A', 'B', 'A'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError _______________________________ test_sobol_to_df _______________________________ def test_sobol_to_df(): params = ["x1", "x2", "x3"] problem = {"num_vars": 3, "names": params, "bounds": [[-np.pi, np.pi]] * 3} X = sobol_sample.sample(problem, 512) Y = Ishigami.evaluate(X) > Si = sobol.analyze(problem, Y, print_to_console=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_to_df.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/analyze/sobol.py:121: in analyze _, D = extract_group_names(problem) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/__init__.py:274: in extract_group_names names = list(pd.unique(groups)) ^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:433: in unique return unique_with_mask(values) ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:461: in unique_with_mask values = _ensure_arraylike(values, func_name="unique") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = ['x1', 'x2', 'x3'], func_name = 'unique' def _ensure_arraylike(values, func_name: str) -> ArrayLike: """ ensure that we are arraylike if not already """ if not isinstance( values, (ABCIndex, ABCSeries, ABCExtensionArray, np.ndarray, ABCNumpyExtensionArray), ): # GH#52986 if func_name != "isin-targets": # Make an exception for the comps argument in isin. > raise TypeError( f"{func_name} requires a Series, Index, " f"ExtensionArray, np.ndarray or NumpyExtensionArray " f"got {type(values).__name__}." ) E TypeError: unique requires a Series, Index, ExtensionArray, np.ndarray or NumpyExtensionArray got list. /usr/lib64/python3.15/site-packages/pandas/core/algorithms.py:239: TypeError =============================== warnings summary =============================== tests/test_groups.py::test_sobol_group_analysis tests/test_problem_spec.py::test_sp tests/test_problem_spec.py::test_sp_setters tests/test_problem_spec.py::test_sp_setters tests/test_problem_spec.py::test_sp_setters tests/test_problem_spec.py::test_parallel_single_output tests/test_problem_spec.py::test_parallel_multi_output /builddir/build/BUILD/python-SALib-1.5.1-build/BUILDROOT/usr/lib/python3.15/site-packages/SALib/util/problem.py:133: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` self._samples = func(self, *args, **kwargs) tests/test_hdmr.py::test_insufficient_sample_size /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:22: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X[:200], Y[:200]) tests/test_hdmr.py::test_bad_conf_level /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:29: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X, Y, alpha=1.02) tests/test_hdmr.py::test_incorrect_maxorder /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:36: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X, Y, maxorder=4) tests/test_hdmr.py::test_incorrect_maxiter /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:43: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X, Y, maxiter=1005) tests/test_hdmr.py::test_over_bootstrap_sample_size /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:50: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X, Y, R=10001) tests/test_hdmr.py::test_incorrect_maxorder_setting /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:58: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X, Y, maxorder=5) tests/test_hdmr.py::test_incorrect_lambdax /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:65: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X, Y, lambdax=11) tests/test_hdmr.py::test_dim_mismatch /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_hdmr.py:73: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. hdmr.analyze(problem, X, Y[:-2]) tests/test_regression.py::test_regression_sobol /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:191: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, 10000, calc_second_order=True) tests/test_regression.py::test_regression_sobol_parallel /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:213: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, 10000, calc_second_order=True) tests/test_regression.py::test_regression_sobol_groups /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:244: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, 10000, calc_second_order=True) tests/test_regression.py::test_regression_sobol_groups_dists /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:270: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, 10000, calc_second_order=True) tests/test_regression.py::test_regression_hdmr_ishigami /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:314: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. Si = hdmr.analyze(problem, X, Y, **options) tests/test_regression.py::test_regression_hdmr_case1 /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:341: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. Si = hdmr.analyze(problem, X, Y, **options) tests/test_regression.py::test_regression_hdmr_case2 /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:373: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. Si = hdmr.analyze(problem, X, Y, **options) tests/test_regression.py::test_regression_hdmr_case3 /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_regression.py:410: DeprecationWarning: This method will be retired in future, please use enhanced_hdmr instead. Si = hdmr.analyze(problem, X, Y, **options) tests/test_sample_seed.py::test_saltelli_sample_seed /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_sample_seed.py:33: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` sample1 = saltelli.sample(problem, N, calc_second_order=False, skip_values=1024) tests/test_sample_seed.py::test_saltelli_sample_seed /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_sample_seed.py:34: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` sample2 = saltelli.sample(problem, N, calc_second_order=False, skip_values=1025) tests/test_sobol.py::test_sample_size_second_order tests/test_sobol.py::test_sample_size_first_order tests/test_sobol.py::test_incorrect_sample_size tests/test_sobol.py::test_bad_conf_level tests/test_sobol.py::test_incorrect_second_order_setting tests/test_sobol.py::test_include_print tests/test_sobol.py::test_parallel_first_order tests/test_sobol.py::test_parallel_second_order /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_sobol.py:15: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, N=N, calc_second_order=calc_second_order) tests/test_sobol.py::test_Sobol_G_using_sobol /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_sobol.py:160: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, N, calc_second_order=False) tests/test_sobol.py::test_constant_output /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_sobol.py:183: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, N, calc_second_order=False) tests/test_sobol.py::test_grouped_constant_output /builddir/build/BUILD/python-SALib-1.5.1-build/SALib-1.5.1/tests/test_sobol.py:211: DeprecationWarning: `salib.sample.saltelli` will be removed in SALib 1.5.1 Please use `salib.sample.sobol` param_values = saltelli.sample(problem, N, calc_second_order=False) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================= slowest 10 durations ============================= 69.20s call tests/test_analyze_fast.py::test_odd_sample_size 60.61s call tests/test_analyze_fast.py::test_even_sample_size 48.47s call tests/test_regression.py::TestMorris::test_regression_morris_groups_brute_optim 37.55s call tests/test_regression.py::test_regression_delta_svm 23.66s call tests/test_regression.py::TestMorris::test_regression_morris_groups_local_optim 12.20s call tests/test_regression.py::test_regression_hdmr_case3 10.30s call tests/test_regression.py::test_regression_hdmr_case1 9.74s call tests/test_regression.py::test_regression_hdmr_case2 7.33s call tests/test_cli_analyze.py::test_delta 4.80s call tests/test_cli_analyze.py::test_morris =========================== short test summary info ============================ FAILED tests/test_cli_analyze.py::test_sobol - subprocess.CalledProcessError:... FAILED tests/test_groups.py::test_sobol_group_analysis - TypeError: unique re... FAILED tests/test_problem_spec.py::test_sp - TypeError: unique requires a Ser... FAILED tests/test_problem_spec.py::test_sp_setters - TypeError: unique requir... FAILED tests/test_problem_spec.py::test_parallel_single_output - TypeError: u... FAILED tests/test_problem_spec.py::test_parallel_multi_output - TypeError: un... FAILED tests/test_regression.py::test_regression_sobol - TypeError: unique re... FAILED tests/test_regression.py::test_regression_sobol_parallel - TypeError: ... FAILED tests/test_regression.py::test_regression_sobol_groups - TypeError: un... FAILED tests/test_regression.py::test_regression_sobol_groups_dists - TypeErr... FAILED tests/test_regression.py::test_regression_hdmr_ishigami - ValueError: ... FAILED tests/test_regression.py::test_regression_hdmr_case1 - ValueError: set... FAILED tests/test_regression.py::test_regression_hdmr_case2 - ValueError: set... FAILED tests/test_regression.py::test_regression_hdmr_case3 - ValueError: set... FAILED tests/test_regression.py::test_regression_delta_svm - AssertionError: FAILED tests/test_sobol.py::test_incorrect_sample_size - TypeError: unique re... FAILED tests/test_sobol.py::test_bad_conf_level - TypeError: unique requires ... FAILED tests/test_sobol.py::test_incorrect_second_order_setting - TypeError: ... FAILED tests/test_sobol.py::test_include_print - TypeError: unique requires a... FAILED tests/test_sobol.py::test_Sobol_G_using_sobol - TypeError: unique requ... FAILED tests/test_sobol.py::test_constant_output - TypeError: unique requires... FAILED tests/test_sobol.py::test_grouped_constant_output - TypeError: unique ... FAILED tests/test_sp_sobol.py::test_incorrect_sample_size - TypeError: unique... FAILED tests/test_sp_sobol.py::test_bad_conf_level - TypeError: unique requir... FAILED tests/test_sp_sobol.py::test_incorrect_second_order_setting - TypeErro... FAILED tests/test_sp_sobol.py::test_include_print - TypeError: unique require... FAILED tests/test_sp_sobol.py::test_Sobol_G_using_sobol - TypeError: unique r... FAILED tests/test_sp_sobol.py::test_constant_output - TypeError: unique requi... FAILED tests/test_sp_sobol.py::test_grouped_constant_output - TypeError: uniq... FAILED tests/test_to_df.py::test_sobol_to_df - TypeError: unique requires a S... ====== 30 failed, 159 passed, 1 xfailed, 36 warnings in 381.23s (0:06:21) ====== error: Bad exit status from /var/tmp/rpm-tmp.kurzbe (%check) Bad exit status from /var/tmp/rpm-tmp.kurzbe (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 579b045102da45499eee0dc3bcc4d245 -D /var/lib/mock/f45-build-56796-987/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.x20iesrt:/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 noarch --nodeps /builddir/build/SPECS/python-SALib.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.14/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 579b045102da45499eee0dc3bcc4d245 -D /var/lib/mock/f45-build-56796-987/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.x20iesrt:/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 noarch --nodeps /builddir/build/SPECS/python-SALib.spec'