Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c1d5' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/8268394-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.1 PID: 10470 Logging PID: 10471 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 8268394, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'f850065eaa28e41a76a966510e8a37caec467e05', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/limb/numpy/python-nibabel', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-nibabel', 'package_version': '5.3.2-2', 'project_dirname': 'numpy', 'project_name': 'numpy', 'project_owner': 'limb', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/limb/numpy/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}, {'baseurl': 'https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/', 'id': 'https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64', 'name': 'Additional repo https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64'}], 'sandbox': 'limb/numpy--limb', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'limb', 'tags': [], 'task_id': '8268394-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/limb/numpy/python-nibabel /var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/limb/numpy/python-nibabel', '/var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel'... Running: git checkout f850065eaa28e41a76a966510e8a37caec467e05 -- cmd: ['git', 'checkout', 'f850065eaa28e41a76a966510e8a37caec467e05', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel rc: 0 stdout: stderr: Note: switching to 'f850065eaa28e41a76a966510e8a37caec467e05'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at f850065 automatic import of python-nibabel Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading nibabel-5.3.2.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o nibabel-5.3.2.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/limb/numpy/python-nibabel/nibabel-5.3.2.tar.gz/md5/f156cb00b1be526d32c588aec87df318/nibabel-5.3.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4424k 100 4424k 0 0 20.8M 0 --:--:-- --:--:-- --:--:-- 20.7M INFO: Reading stdout from command: md5sum nibabel-5.3.2.tar.gz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel/python-nibabel.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1731686679.611780 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.9 starting (python version = 3.12.1, NVR = mock-5.9-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel/python-nibabel.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1731686679.611780 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel/python-nibabel.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1731686679.611780/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1731686679.611780/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/d72443e41f0eded3a60e8ee7c456b498ae9bf9419770c6c2b152fab5f9011d8c/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/d72443e41f0eded3a60e8ee7c456b498ae9bf9419770c6c2b152fab5f9011d8c/merged) with podman image umount INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1731686679.611780/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-2.fc41.x86_64 dnf5-5.2.7.0-1.fc42.x86_64 dnf5-plugins-5.2.7.0-1.fc42.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 944.7 KiB/s | 24.6 KiB | 00m00s Copr repository 100% | 28.8 KiB/s | 1.5 KiB | 00m00s Additional repo https_kojipkgs_fedorap 100% | 97.1 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 1.1 MiB/s | 112.4 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 8.2 MiB bzip2 x86_64 1.0.8-19.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 95.7 KiB coreutils x86_64 9.5-11.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 5.4 MiB cpio x86_64 2.15-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.1 MiB diffutils x86_64 3.10-8.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.6 MiB fedora-release-common noarch 42-0.8 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 19.7 KiB findutils x86_64 1:4.10.0-4.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.8 MiB gawk x86_64 5.3.0-4.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.7 MiB glibc-minimal-langpack x86_64 2.40.9000-18.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 0.0 B grep x86_64 3.11-9.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.0 MiB gzip x86_64 1.13-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 389.0 KiB info x86_64 7.1.1-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 361.8 KiB patch x86_64 2.7.6-25.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 266.7 KiB redhat-rpm-config noarch 296-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 186.6 KiB rpm-build x86_64 4.20.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 194.3 KiB sed x86_64 4.9-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 861.5 KiB shadow-utils x86_64 2:4.16.0-7.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 4.0 MiB tar x86_64 2:1.35-4.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.9 MiB unzip x86_64 6.0-64.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 386.8 KiB util-linux x86_64 2.40.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 3.7 MiB which x86_64 2.21-42.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 80.2 KiB xz x86_64 1:5.6.3-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.2 MiB Installing dependencies: add-determinism x86_64 0.4.3-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.4 MiB alternatives x86_64 1.30-1.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 66.3 KiB ansible-srpm-macros noarch 1-16.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 35.7 KiB audit-libs x86_64 4.0.2-1.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 331.3 KiB authselect x86_64 1.5.0-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 157.5 KiB authselect-libs x86_64 1.5.0-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 822.2 KiB basesystem noarch 11-21.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 0.0 B binutils x86_64 2.43.50-7.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 28.5 MiB build-reproducibility-srpm-macros noarch 0.4.3-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 735.0 B bzip2-libs x86_64 1.0.8-19.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 80.7 KiB ca-certificates noarch 2024.2.69_v8.0.401-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.6 MiB coreutils-common x86_64 9.5-11.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 11.2 MiB cracklib x86_64 2.9.11-6.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 238.9 KiB crypto-policies noarch 20241106-1.git35892de.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 136.9 KiB curl x86_64 8.10.1-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 453.3 KiB cyrus-sasl-lib x86_64 2.1.28-27.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.3 MiB debugedit x86_64 5.1-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 192.7 KiB dwz x86_64 0.15-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 299.2 KiB ed x86_64 1.20.2-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 146.9 KiB efi-srpm-macros noarch 5-12.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 40.1 KiB elfutils x86_64 0.192-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.6 MiB elfutils-debuginfod-client x86_64 0.192-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 80.4 KiB elfutils-default-yama-scope noarch 0.192-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.8 KiB elfutils-libelf x86_64 0.192-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.2 MiB elfutils-libs x86_64 0.192-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 672.8 KiB fedora-gpg-keys noarch 42-0.3 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 126.4 KiB fedora-release noarch 42-0.8 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 0.0 B fedora-release-identity-basic noarch 42-0.8 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 719.0 B fedora-repos noarch 42-0.3 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 4.9 KiB fedora-repos-rawhide noarch 42-0.3 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.2 KiB file x86_64 5.45-7.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 103.5 KiB file-libs x86_64 5.45-7.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 9.9 MiB filesystem x86_64 3.18-29.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 106.0 B fonts-srpm-macros noarch 1:2.0.5-17.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 55.8 KiB forge-srpm-macros noarch 0.4.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 38.9 KiB fpc-srpm-macros noarch 1.3-13.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 144.0 B gdb-minimal x86_64 15.2-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 13.0 MiB gdbm x86_64 1:1.23-7.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 460.9 KiB gdbm-libs x86_64 1:1.23-7.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 121.9 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 779.0 B glibc x86_64 2.40.9000-18.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 6.7 MiB glibc-common x86_64 2.40.9000-18.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.1 MiB glibc-gconv-extra x86_64 2.40.9000-18.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 8.0 MiB gmp x86_64 1:6.3.0-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 811.4 KiB gnat-srpm-macros noarch 6-6.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.0 KiB go-srpm-macros noarch 3.6.0-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 60.8 KiB groff-base x86_64 1.23.0-7.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 3.8 MiB jansson x86_64 2.14-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 93.1 KiB json-c x86_64 0.18-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 83.3 KiB kernel-srpm-macros noarch 1.0-24.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.9 KiB keyutils-libs x86_64 1.6.3-4.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 54.4 KiB krb5-libs x86_64 1.21.3-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.3 MiB libacl x86_64 2.3.2-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 40.0 KiB libarchive x86_64 3.7.7-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 932.3 KiB libattr x86_64 2.5.2-4.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 28.5 KiB libblkid x86_64 2.40.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 262.5 KiB libbrotli x86_64 1.1.0-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 837.6 KiB libcap x86_64 2.71-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 210.8 KiB libcap-ng x86_64 0.8.5-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 69.2 KiB libcom_err x86_64 1.47.1-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 67.2 KiB libcurl x86_64 8.10.1-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 838.4 KiB libeconf x86_64 0.7.4-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 65.7 KiB libevent x86_64 2.1.12-14.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 895.7 KiB libfdisk x86_64 2.40.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 362.9 KiB libffi x86_64 3.4.6-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 86.4 KiB libgcc x86_64 14.2.1-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 270.6 KiB libgomp x86_64 14.2.1-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 519.8 KiB libidn2 x86_64 2.3.7-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 329.1 KiB libmount x86_64 2.40.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 355.8 KiB libnghttp2 x86_64 1.64.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 174.5 KiB libnsl2 x86_64 2.0.1-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 57.9 KiB libpkgconf x86_64 2.3.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 78.2 KiB libpsl x86_64 0.21.5-4.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 80.5 KiB libpwquality x86_64 1.4.5-11.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 417.8 KiB libselinux x86_64 3.7-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 181.1 KiB libsemanage x86_64 3.7-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 298.0 KiB libsepol x86_64 3.7-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 818.0 KiB libsmartcols x86_64 2.40.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 180.4 KiB libssh x86_64 0.11.1-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 569.6 KiB libssh-config noarch 0.11.1-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 277.0 B libstdc++ x86_64 14.2.1-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.8 MiB libtasn1 x86_64 4.19.0-9.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 175.7 KiB libtirpc x86_64 1.3.6-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 205.5 KiB libtool-ltdl x86_64 2.4.7-12.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 66.2 KiB libunistring x86_64 1.1-8.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.7 MiB libuuid x86_64 2.40.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 41.4 KiB libverto x86_64 0.3.2-9.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 29.5 KiB libxcrypt x86_64 4.4.36-10.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 267.7 KiB libxml2 x86_64 2.12.8-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.7 MiB libzstd x86_64 1.5.6-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 795.9 KiB lua-libs x86_64 5.4.7-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 285.0 KiB lua-srpm-macros noarch 1-14.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.3 KiB lz4-libs x86_64 1.10.0-1.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 145.5 KiB mpfr x86_64 4.2.1-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 832.1 KiB ncurses x86_64 6.5-2.20240629.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 627.3 KiB ncurses-base noarch 6.5-2.20240629.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 326.3 KiB ncurses-libs x86_64 6.5-2.20240629.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 975.2 KiB ocaml-srpm-macros noarch 10-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 112.0 B openldap x86_64 2.6.8-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 644.2 KiB openssl-libs x86_64 1:3.2.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 7.8 MiB p11-kit x86_64 0.25.5-4.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.2 MiB p11-kit-trust x86_64 0.25.5-4.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 403.8 KiB package-notes-srpm-macros noarch 0.5-12.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.6 KiB pam x86_64 1.7.0-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.7 MiB pam-libs x86_64 1.7.0-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 127.7 KiB pcre2 x86_64 10.44-1.fc41.1 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 653.5 KiB pcre2-syntax noarch 10.44-1.fc41.1 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 251.6 KiB perl-AutoLoader noarch 5.74-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 20.5 KiB perl-B x86_64 1.89-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 498.0 KiB perl-Carp noarch 1.54-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 46.6 KiB perl-Class-Struct noarch 0.68-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 25.4 KiB perl-Data-Dumper x86_64 2.189-512.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 111.7 KiB perl-Digest noarch 1.20-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 35.3 KiB perl-Digest-MD5 x86_64 2.59-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 59.8 KiB perl-DynaLoader x86_64 1.56-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 32.1 KiB perl-Encode x86_64 4:3.21-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 4.7 MiB perl-Errno x86_64 1.38-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 8.4 KiB perl-Exporter noarch 5.78-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 54.3 KiB perl-Fcntl x86_64 1.18-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 49.0 KiB perl-File-Basename noarch 2.86-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 14.0 KiB perl-File-Path noarch 2.18-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 63.5 KiB perl-File-Temp noarch 1:0.231.100-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 162.3 KiB perl-File-stat noarch 1.14-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 12.5 KiB perl-FileHandle noarch 2.05-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 9.3 KiB perl-Getopt-Long noarch 1:2.58-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 144.5 KiB perl-Getopt-Std noarch 1.14-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 11.2 KiB perl-HTTP-Tiny noarch 0.090-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 154.4 KiB perl-IO x86_64 1.55-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 151.1 KiB perl-IO-Socket-IP noarch 0.42-512.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 98.7 KiB perl-IO-Socket-SSL noarch 2.089-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 703.3 KiB perl-IPC-Open3 noarch 1.22-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 22.5 KiB perl-MIME-Base32 noarch 1.303-21.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 30.7 KiB perl-MIME-Base64 x86_64 3.16-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 46.1 KiB perl-Net-SSLeay x86_64 1.94-7.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.3 MiB perl-POSIX x86_64 2.20-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 235.1 KiB perl-PathTools x86_64 3.91-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 180.0 KiB perl-Pod-Escapes noarch 1:1.07-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-512.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 163.7 KiB perl-Pod-Simple noarch 1:3.45-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 560.9 KiB perl-Pod-Usage noarch 4:2.03-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 84.8 KiB perl-Scalar-List-Utils x86_64 5:1.68-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 148.9 KiB perl-SelectSaver noarch 1.02-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.2 KiB perl-Socket x86_64 4:2.038-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 124.0 KiB perl-Storable x86_64 1:3.32-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 232.4 KiB perl-Symbol noarch 1.09-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 6.8 KiB perl-Term-ANSIColor noarch 5.01-512.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 97.5 KiB perl-Term-Cap noarch 1.18-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 29.3 KiB perl-Text-ParseWords noarch 3.31-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 13.6 KiB perl-Text-Tabs+Wrap noarch 2024.001-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 22.6 KiB perl-Time-Local noarch 2:1.350-511.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 69.0 KiB perl-URI noarch 5.31-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 257.0 KiB perl-base noarch 2.27-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 12.5 KiB perl-constant noarch 1.33-512.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 26.2 KiB perl-if noarch 0.61.000-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 5.8 KiB perl-interpreter x86_64 4:5.40.0-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 122.3 KiB perl-libnet noarch 3.15-512.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 289.4 KiB perl-libs x86_64 4:5.40.0-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 9.9 MiB perl-locale noarch 1.12-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 6.5 KiB perl-mro x86_64 1.29-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 45.6 KiB perl-overload noarch 1.37-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 71.5 KiB perl-overloading noarch 0.02-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 4.8 KiB perl-parent noarch 1:0.242-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 10.0 KiB perl-podlators noarch 1:6.0.2-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 317.5 KiB perl-srpm-macros noarch 1-56.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 861.0 B perl-vars noarch 1.05-512.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 3.9 KiB pkgconf x86_64 2.3.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 88.6 KiB pkgconf-m4 noarch 2.3.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 989.0 B popt x86_64 1.19-7.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 136.9 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 67.5 KiB pyproject-srpm-macros noarch 1.16.2-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 500.0 B qt6-srpm-macros noarch 6.8.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 456.0 B readline x86_64 8.2-11.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 493.1 KiB rpm x86_64 4.20.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 3.1 MiB rpm-build-libs x86_64 4.20.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 206.7 KiB rpm-libs x86_64 4.20.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 726.1 KiB rpm-sequoia x86_64 1.7.0-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.4 MiB rust-srpm-macros noarch 26.3-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 4.8 KiB setup noarch 2.15.0-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 720.7 KiB sqlite-libs x86_64 3.47.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.5 MiB systemd-libs x86_64 257~rc1-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 2.3 MiB util-linux-core x86_64 2.40.2-8.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.5 MiB xxhash-libs x86_64 0.8.2-4.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 88.4 KiB xz-libs x86_64 1:5.6.3-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 218.4 KiB zig-srpm-macros noarch 1-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.1 KiB zip x86_64 3.0-41.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 703.2 KiB zlib-ng-compat x86_64 2.2.2-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 134.0 KiB zstd x86_64 1.5.6-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 213 packages Total size of inbound packages is 61 MiB. Need to download 0 B. After this operation, 207 MiB extra will be used (install 207 MiB, remove 0 B). [1/1] tar-2:1.35-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] bzip2-0:1.0.8-19.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] redhat-rpm-config-0:296-1.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] rpm-build-0:4.20.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] unzip-0:6.0-64.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] cpio-0:2.15-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] which-0:2.21-42.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] bash-0:5.2.37-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] coreutils-0:9.5-11.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] grep-0:3.11-9.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] patch-0:2.7.6-25.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] sed-0:4.9-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] shadow-utils-2:4.16.0-7.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] util-linux-0:2.40.2-8.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] diffutils-0:3.10-8.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] fedora-release-common-0:42-0.8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] findutils-1:4.10.0-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] gawk-0:5.3.0-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] glibc-minimal-langpack-0:2.40.9 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] gzip-0:1.13-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/21] info-0:7.1.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [21/21] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/22] xz-1:5.6.3-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [22/22] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/23] glibc-0:2.40.9000-18.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [23/23] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/24] xz-libs-1:5.6.3-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [24/24] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/25] audit-libs-0:4.0.2-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/26] authselect-libs-0:1.5.0-8.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/27] libblkid-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [27/27] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/28] libcap-ng-0:0.8.5-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [28/28] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/29] libfdisk-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [29/29] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/30] libmount-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [30/30] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/31] libselinux-0:3.7-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [31/31] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/32] libsmartcols-0:2.40.2-8.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [32/32] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/33] libuuid-0:2.40.2-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [33/33] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/34] ncurses-libs-0:6.5-2.20240629.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [34/34] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/35] pam-0:1.7.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/36] pam-libs-0:1.7.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [36/36] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/37] readline-0:8.2-11.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [37/37] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/38] systemd-libs-0:257~rc1-2.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [38/38] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/39] util-linux-core-0:2.40.2-8.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [39/39] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/40] zlib-ng-compat-0:2.2.2-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [40/40] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/41] bzip2-libs-0:1.0.8-19.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [41/41] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/42] libacl-0:2.3.2-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [42/42] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/43] libcap-0:2.71-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [43/43] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/44] libgcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [44/44] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/45] libattr-0:2.5.2-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [45/45] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/46] libeconf-0:0.7.4-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [46/46] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/47] libsemanage-0:3.7-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [47/47] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/48] libxcrypt-0:4.4.36-10.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [48/48] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/49] setup-0:2.15.0-5.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [49/49] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/50] binutils-0:2.43.50-7.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [50/50] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/51] debugedit-0:5.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [51/51] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/52] elfutils-0:0.192-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [52/52] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/53] elfutils-libelf-0:0.192-6.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [53/53] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/54] file-0:5.45-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [54/54] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/55] libarchive-0:3.7.7-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [55/55] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/56] pkgconf-pkg-config-0:2.3.0-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [56/56] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/57] popt-0:1.19-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [57/57] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/58] rpm-0:4.20.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [58/58] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/59] rpm-build-libs-0:4.20.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [59/59] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/60] rpm-libs-0:4.20.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [60/60] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/61] zstd-0:1.5.6-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [61/61] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/62] curl-0:8.10.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [62/62] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/63] glibc-gconv-extra-0:2.40.9000-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [63/63] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/64] ansible-srpm-macros-0:1-16.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [64/64] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/65] build-reproducibility-srpm-macr 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [65/65] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/66] dwz-0:0.15-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [66/66] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/67] efi-srpm-macros-0:5-12.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [67/67] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/68] fonts-srpm-macros-1:2.0.5-17.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [68/68] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/69] forge-srpm-macros-0:0.4.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [69/69] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/70] fpc-srpm-macros-0:1.3-13.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [70/70] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/71] ghc-srpm-macros-0:1.9.2-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [71/71] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/72] gnat-srpm-macros-0:6-6.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [72/72] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/73] go-srpm-macros-0:3.6.0-3.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [73/73] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/74] kernel-srpm-macros-0:1.0-24.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [74/74] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/75] lua-srpm-macros-0:1-14.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [75/75] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/76] ocaml-srpm-macros-0:10-3.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [76/76] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/77] openblas-srpm-macros-0:2-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [77/77] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/78] package-notes-srpm-macros-0:0.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [78/78] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/79] perl-srpm-macros-0:1-56.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [79/79] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/80] pyproject-srpm-macros-0:1.16.2- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [80/80] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/81] python-srpm-macros-0:3.13-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [81/81] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/82] qt5-srpm-macros-0:5.15.15-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [82/82] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/83] qt6-srpm-macros-0:6.8.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [83/83] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/84] rust-srpm-macros-0:26.3-3.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [84/84] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/85] zig-srpm-macros-0:1-3.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [85/85] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/86] zip-0:3.0-41.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [86/86] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/87] pkgconf-0:2.3.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [87/87] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/88] pkgconf-m4-0:2.3.0-1.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [88/88] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/89] libpkgconf-0:2.3.0-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [89/89] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/90] ed-0:1.20.2-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [90/90] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/91] authselect-0:1.5.0-8.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [91/91] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/92] gdbm-1:1.23-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [92/92] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/93] gdbm-libs-1:1.23-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [93/93] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/94] libnsl2-0:2.0.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [94/94] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/95] libpwquality-0:1.4.5-11.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [95/95] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/96] libtirpc-0:1.3.6-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [96/96] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/97] openssl-libs-1:3.2.2-8.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [97/97] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/98] ca-certificates-0:2024.2.69_v8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [98/98] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/99] crypto-policies-0:20241106-1.gi 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [99/99] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/100] ncurses-base-0:6.5-2.20240629 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [100/100] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/101] krb5-libs-0:1.21.3-3.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [101/101] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/102] libcom_err-0:1.47.1-6.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [102/102] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/103] libsepol-0:3.7-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [103/103] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/104] pcre2-0:10.44-1.fc41.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [104/104] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/105] cracklib-0:2.9.11-6.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [105/105] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/106] libxml2-0:2.12.8-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [106/106] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/107] libzstd-0:1.5.6-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [107/107] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/108] lz4-libs-0:1.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [108/108] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/109] keyutils-libs-0:1.6.3-4.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [109/109] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/110] libverto-0:0.3.2-9.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [110/110] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/111] glibc-common-0:2.40.9000-18.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [111/111] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/112] basesystem-0:11-21.fc41.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [112/112] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/113] filesystem-0:3.18-29.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [113/113] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/114] gmp-1:6.3.0-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [114/114] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/115] mpfr-0:4.2.1-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [115/115] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/116] file-libs-0:5.45-7.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [116/116] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/117] fedora-repos-0:42-0.3.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [117/117] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/118] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [118/118] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/119] elfutils-libs-0:0.192-6.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [119/119] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/120] libstdc++-0:14.2.1-6.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [120/120] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/121] coreutils-common-0:9.5-11.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [121/121] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/122] libffi-0:3.4.6-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [122/122] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/123] p11-kit-0:0.25.5-4.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [123/123] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/124] p11-kit-trust-0:0.25.5-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [124/124] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/125] add-determinism-0:0.4.3-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [125/125] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/126] alternatives-0:1.30-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [126/126] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/127] jansson-0:2.14-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [127/127] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/128] perl-interpreter-4:5.40.0-512 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [128/128] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/129] lua-libs-0:5.4.7-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [129/129] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/130] rpm-sequoia-0:1.7.0-2.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [130/130] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/131] sqlite-libs-0:3.47.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [131/131] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/132] libgomp-0:14.2.1-6.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [132/132] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/133] perl-libs-4:5.40.0-512.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [133/133] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/134] pcre2-syntax-0:10.44-1.fc41.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [134/134] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/135] libtasn1-0:4.19.0-9.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [135/135] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/136] fedora-gpg-keys-0:42-0.3.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [136/136] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/137] fedora-repos-rawhide-0:42-0.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [137/137] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/138] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [138/138] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/139] json-c-0:0.18-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [139/139] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/140] perl-Carp-0:1.54-511.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [140/140] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/141] perl-DynaLoader-0:1.56-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [141/141] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/142] perl-Encode-4:3.21-511.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [142/142] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/143] perl-Exporter-0:5.78-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [143/143] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/144] perl-PathTools-0:3.91-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [144/144] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/145] perl-Errno-0:1.38-512.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [145/145] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/146] perl-Scalar-List-Utils-5:1.68 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [146/146] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/147] perl-constant-0:1.33-512.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [147/147] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/148] perl-File-Basename-0:2.86-512 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [148/148] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/149] perl-Getopt-Long-1:2.58-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [149/149] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/150] perl-Getopt-Std-0:1.14-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [150/150] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/151] perl-MIME-Base64-0:3.16-511.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [151/151] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/152] perl-Storable-1:3.32-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [152/152] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/153] perl-overload-0:1.37-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [153/153] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/154] perl-parent-1:0.242-1.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [154/154] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/155] perl-vars-0:1.05-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [155/155] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/156] perl-mro-0:1.29-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [156/156] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/157] perl-overloading-0:0.02-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [157/157] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/158] perl-Fcntl-0:1.18-512.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [158/158] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/159] perl-IO-0:1.55-512.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [159/159] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/160] perl-File-stat-0:1.14-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [160/160] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/161] perl-SelectSaver-0:1.02-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [161/161] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/162] perl-Socket-4:2.038-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [162/162] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/163] perl-Symbol-0:1.09-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [163/163] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/164] perl-Pod-Usage-4:2.03-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [164/164] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/165] perl-Text-ParseWords-0:3.31-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [165/165] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/166] perl-base-0:2.27-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [166/166] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/167] perl-Class-Struct-0:0.68-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [167/167] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/168] perl-Pod-Perldoc-0:3.28.01-51 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [168/168] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/169] perl-podlators-1:6.0.2-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [169/169] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/170] groff-base-0:1.23.0-7.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [170/170] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/171] perl-File-Temp-1:0.231.100-51 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [171/171] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/172] perl-HTTP-Tiny-0:0.090-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [172/172] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/173] perl-IPC-Open3-0:1.22-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [173/173] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/174] perl-Pod-Simple-1:3.45-511.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [174/174] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/175] perl-POSIX-0:2.20-512.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [175/175] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/176] perl-IO-Socket-SSL-0:2.089-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [176/176] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/177] perl-Net-SSLeay-0:1.94-7.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [177/177] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/178] perl-Time-Local-2:1.350-511.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [178/178] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/179] perl-File-Path-0:2.18-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [179/179] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/180] perl-Term-ANSIColor-0:5.01-51 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [180/180] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/181] perl-Term-Cap-0:1.18-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [181/181] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/182] ncurses-0:6.5-2.20240629.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [182/182] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/183] perl-Pod-Escapes-1:1.07-511.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [183/183] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/184] perl-Text-Tabs+Wrap-0:2024.00 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [184/184] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/185] perl-if-0:0.61.000-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [185/185] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/186] perl-locale-0:1.12-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [186/186] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/187] perl-AutoLoader-0:5.74-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [187/187] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/188] perl-IO-Socket-IP-0:0.42-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [188/188] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/189] perl-URI-0:5.31-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [189/189] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/190] perl-Data-Dumper-0:2.189-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [190/190] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/191] perl-MIME-Base32-0:1.303-21.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [191/191] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/192] perl-libnet-0:3.15-512.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [192/192] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/193] perl-B-0:1.89-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [193/193] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/194] perl-Digest-MD5-0:2.59-5.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [194/194] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/195] perl-FileHandle-0:2.05-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [195/195] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/196] perl-Digest-0:1.20-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [196/196] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/197] fedora-release-0:42-0.8.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [197/197] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/198] gdb-minimal-0:15.2-3.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [198/198] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/199] xxhash-libs-0:0.8.2-4.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [199/199] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/200] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [200/200] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/201] libcurl-0:8.10.1-2.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [201/201] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/202] libbrotli-0:1.1.0-5.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [202/202] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/203] libidn2-0:2.3.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [203/203] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/204] libnghttp2-0:1.64.0-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [204/204] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/205] libpsl-0:0.21.5-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [205/205] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/206] libssh-0:0.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [206/206] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/207] openldap-0:2.6.8-5.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [207/207] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/208] cyrus-sasl-lib-0:2.1.28-27.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [208/208] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/209] libevent-0:2.1.12-14.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [209/209] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/210] libtool-ltdl-0:2.4.7-12.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [210/210] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/211] libssh-config-0:0.11.1-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [211/211] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/212] libunistring-0:1.1-8.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [212/212] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/213] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [213/213] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/215] Verify package files 100% | 934.0 B/s | 213.0 B | 00m00s [ 2/215] Prepare transaction 100% | 2.0 KiB/s | 213.0 B | 00m00s [ 3/215] Installing libgcc-0:14.2.1-6. 100% | 132.9 MiB/s | 272.3 KiB | 00m00s [ 4/215] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 5/215] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/215] Installing fedora-release-ide 100% | 953.1 KiB/s | 976.0 B | 00m00s [ 7/215] Installing fedora-gpg-keys-0: 100% | 21.0 MiB/s | 172.2 KiB | 00m00s [ 8/215] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 9/215] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/215] Installing fedora-release-com 100% | 11.7 MiB/s | 24.0 KiB | 00m00s [ 11/215] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/215] Installing setup-0:2.15.0-5.f 100% | 50.6 MiB/s | 726.1 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/215] Installing filesystem-0:3.18- 100% | 1.6 MiB/s | 212.6 KiB | 00m00s [ 14/215] Installing basesystem-0:11-21 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/215] Installing pcre2-syntax-0:10. 100% | 124.1 MiB/s | 254.1 KiB | 00m00s [ 16/215] Installing coreutils-common-0 100% | 243.3 MiB/s | 11.2 MiB | 00m00s [ 17/215] Installing ncurses-base-0:6.5 100% | 38.2 MiB/s | 351.7 KiB | 00m00s [ 18/215] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/215] Installing ncurses-libs-0:6.5 100% | 137.0 MiB/s | 981.8 KiB | 00m00s [ 20/215] Installing glibc-0:2.40.9000- 100% | 223.8 MiB/s | 6.7 MiB | 00m00s [ 21/215] Installing bash-0:5.2.37-1.fc 100% | 291.8 MiB/s | 8.2 MiB | 00m00s [ 22/215] Installing glibc-common-0:2.4 100% | 132.4 MiB/s | 1.1 MiB | 00m00s [ 23/215] Installing glibc-gconv-extra- 100% | 148.0 MiB/s | 8.1 MiB | 00m00s [ 24/215] Installing zlib-ng-compat-0:2 100% | 131.7 MiB/s | 134.9 KiB | 00m00s [ 25/215] Installing xz-libs-1:5.6.3-2. 100% | 214.3 MiB/s | 219.5 KiB | 00m00s [ 26/215] Installing bzip2-libs-0:1.0.8 100% | 79.9 MiB/s | 81.8 KiB | 00m00s [ 27/215] Installing libuuid-0:2.40.2-8 100% | 41.5 MiB/s | 42.5 KiB | 00m00s [ 28/215] Installing readline-0:8.2-11. 100% | 241.8 MiB/s | 495.3 KiB | 00m00s [ 29/215] Installing libxcrypt-0:4.4.36 100% | 132.0 MiB/s | 270.4 KiB | 00m00s [ 30/215] Installing popt-0:1.19-7.fc41 100% | 28.0 MiB/s | 143.5 KiB | 00m00s [ 31/215] Installing libstdc++-0:14.2.1 100% | 276.0 MiB/s | 2.8 MiB | 00m00s [ 32/215] Installing libblkid-0:2.40.2- 100% | 257.5 MiB/s | 263.6 KiB | 00m00s [ 33/215] Installing libattr-0:2.5.2-4. 100% | 0.0 B/s | 29.5 KiB | 00m00s [ 34/215] Installing libacl-0:2.3.2-2.f 100% | 39.8 MiB/s | 40.7 KiB | 00m00s [ 35/215] Installing libzstd-0:1.5.6-2. 100% | 259.5 MiB/s | 797.2 KiB | 00m00s [ 36/215] Installing elfutils-libelf-0: 100% | 291.6 MiB/s | 1.2 MiB | 00m00s [ 37/215] Installing gmp-1:6.3.0-2.fc41 100% | 264.9 MiB/s | 813.7 KiB | 00m00s [ 38/215] Installing libeconf-0:0.7.4-3 100% | 65.8 MiB/s | 67.4 KiB | 00m00s [ 39/215] Installing gdbm-libs-1:1.23-7 100% | 120.7 MiB/s | 123.6 KiB | 00m00s [ 40/215] Installing alternatives-0:1.3 100% | 66.3 MiB/s | 67.9 KiB | 00m00s [ 41/215] Installing mpfr-0:4.2.1-5.fc4 100% | 203.5 MiB/s | 833.7 KiB | 00m00s [ 42/215] Installing gawk-0:5.3.0-4.fc4 100% | 173.2 MiB/s | 1.7 MiB | 00m00s [ 43/215] Installing dwz-0:0.15-8.fc42. 100% | 146.8 MiB/s | 300.6 KiB | 00m00s [ 44/215] Installing unzip-0:6.0-64.fc4 100% | 127.0 MiB/s | 390.3 KiB | 00m00s [ 45/215] Installing file-libs-0:5.45-7 100% | 522.8 MiB/s | 9.9 MiB | 00m00s [ 46/215] Installing file-0:5.45-7.fc41 100% | 7.9 MiB/s | 105.0 KiB | 00m00s [ 47/215] Installing crypto-policies-0: 100% | 14.5 MiB/s | 163.3 KiB | 00m00s [ 48/215] Installing libcap-ng-0:0.8.5- 100% | 69.4 MiB/s | 71.0 KiB | 00m00s [ 49/215] Installing audit-libs-0:4.0.2 100% | 162.8 MiB/s | 333.4 KiB | 00m00s [ 50/215] Installing pam-libs-0:1.7.0-2 100% | 126.8 MiB/s | 129.9 KiB | 00m00s [ 51/215] Installing libcap-0:2.71-1.fc 100% | 70.3 MiB/s | 215.8 KiB | 00m00s [ 52/215] Installing systemd-libs-0:257 100% | 251.0 MiB/s | 2.3 MiB | 00m00s [ 53/215] Installing libsmartcols-0:2.4 100% | 177.1 MiB/s | 181.4 KiB | 00m00s [ 54/215] Installing libcom_err-0:1.47. 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 55/215] Installing libsepol-0:3.7-3.f 100% | 266.6 MiB/s | 819.0 KiB | 00m00s [ 56/215] Installing pcre2-0:10.44-1.fc 100% | 213.2 MiB/s | 654.9 KiB | 00m00s [ 57/215] Installing libselinux-0:3.7-6 100% | 178.0 MiB/s | 182.3 KiB | 00m00s [ 58/215] Installing sed-0:4.9-3.fc41.x 100% | 121.3 MiB/s | 869.7 KiB | 00m00s [ 59/215] Installing findutils-1:4.10.0 100% | 185.8 MiB/s | 1.9 MiB | 00m00s [ 60/215] Installing grep-0:3.11-9.fc41 100% | 125.4 MiB/s | 1.0 MiB | 00m00s [ 61/215] Installing xz-1:5.6.3-2.fc42. 100% | 123.7 MiB/s | 1.2 MiB | 00m00s [ 62/215] Installing libmount-0:2.40.2- 100% | 174.3 MiB/s | 356.9 KiB | 00m00s [ 63/215] Installing lz4-libs-0:1.10.0- 100% | 143.1 MiB/s | 146.6 KiB | 00m00s [ 64/215] Installing libffi-0:3.4.6-3.f 100% | 85.7 MiB/s | 87.8 KiB | 00m00s [ 65/215] Installing lua-libs-0:5.4.7-1 100% | 279.5 MiB/s | 286.2 KiB | 00m00s [ 66/215] Installing libtasn1-0:4.19.0- 100% | 173.3 MiB/s | 177.5 KiB | 00m00s [ 67/215] Installing p11-kit-0:0.25.5-4 100% | 158.3 MiB/s | 2.2 MiB | 00m00s [ 68/215] Installing libunistring-0:1.1 100% | 288.5 MiB/s | 1.7 MiB | 00m00s [ 69/215] Installing libidn2-0:2.3.7-2. 100% | 81.8 MiB/s | 335.1 KiB | 00m00s [ 70/215] Installing libpsl-0:0.21.5-4. 100% | 79.7 MiB/s | 81.7 KiB | 00m00s [ 71/215] Installing p11-kit-trust-0:0. 100% | 30.5 MiB/s | 405.5 KiB | 00m00s [ 72/215] Installing openssl-libs-1:3.2 100% | 289.9 MiB/s | 7.8 MiB | 00m00s [ 73/215] Installing coreutils-0:9.5-11 100% | 154.3 MiB/s | 5.4 MiB | 00m00s [ 74/215] Installing ca-certificates-0: 100% | 1.1 MiB/s | 2.4 MiB | 00m02s [ 75/215] Installing gzip-0:1.13-2.fc41 100% | 64.2 MiB/s | 394.6 KiB | 00m00s [ 76/215] Installing authselect-libs-0: 100% | 58.4 MiB/s | 837.2 KiB | 00m00s [ 77/215] Installing cracklib-0:2.9.11- 100% | 24.4 MiB/s | 250.3 KiB | 00m00s [ 78/215] Installing libpwquality-0:1.4 100% | 35.0 MiB/s | 430.1 KiB | 00m00s [ 79/215] Installing rpm-sequoia-0:1.7. 100% | 197.3 MiB/s | 2.4 MiB | 00m00s [ 80/215] Installing libevent-0:2.1.12- 100% | 175.7 MiB/s | 899.5 KiB | 00m00s [ 81/215] Installing zstd-0:1.5.6-2.fc4 100% | 211.4 MiB/s | 1.7 MiB | 00m00s [ 82/215] Installing util-linux-core-0: 100% | 95.5 MiB/s | 1.5 MiB | 00m00s [ 83/215] Installing tar-2:1.35-4.fc41. 100% | 174.0 MiB/s | 3.0 MiB | 00m00s [ 84/215] Installing libsemanage-0:3.7- 100% | 73.2 MiB/s | 299.8 KiB | 00m00s [ 85/215] Installing shadow-utils-2:4.1 100% | 102.3 MiB/s | 4.1 MiB | 00m00s [ 86/215] Installing zip-0:3.0-41.fc41. 100% | 43.2 MiB/s | 707.1 KiB | 00m00s [ 87/215] Installing groff-base-0:1.23. 100% | 110.7 MiB/s | 3.9 MiB | 00m00s [ 88/215] Installing gdbm-1:1.23-7.fc41 100% | 91.0 MiB/s | 465.8 KiB | 00m00s [ 89/215] Installing cyrus-sasl-lib-0:2 100% | 256.2 MiB/s | 2.3 MiB | 00m00s [ 90/215] Installing libfdisk-0:2.40.2- 100% | 177.7 MiB/s | 364.0 KiB | 00m00s [ 91/215] Installing bzip2-0:1.0.8-19.f 100% | 48.9 MiB/s | 100.2 KiB | 00m00s [ 92/215] Installing libxml2-0:2.12.8-2 100% | 244.6 MiB/s | 1.7 MiB | 00m00s [ 93/215] Installing libarchive-0:3.7.7 100% | 228.1 MiB/s | 934.2 KiB | 00m00s [ 94/215] Installing add-determinism-0: 100% | 270.1 MiB/s | 2.4 MiB | 00m00s [ 95/215] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 96/215] Installing sqlite-libs-0:3.47 100% | 242.2 MiB/s | 1.5 MiB | 00m00s [ 97/215] Installing rpm-libs-0:4.20.0- 100% | 236.9 MiB/s | 727.7 KiB | 00m00s [ 98/215] Installing ed-0:1.20.2-2.fc41 100% | 72.8 MiB/s | 149.2 KiB | 00m00s [ 99/215] Installing patch-0:2.7.6-25.f 100% | 131.0 MiB/s | 268.2 KiB | 00m00s [100/215] Installing elfutils-default-y 100% | 185.7 KiB/s | 2.0 KiB | 00m00s [101/215] Installing elfutils-libs-0:0. 100% | 164.7 MiB/s | 674.7 KiB | 00m00s [102/215] Installing cpio-0:2.15-2.fc41 100% | 157.1 MiB/s | 1.1 MiB | 00m00s [103/215] Installing diffutils-0:3.10-8 100% | 176.7 MiB/s | 1.6 MiB | 00m00s [104/215] Installing libpkgconf-0:2.3.0 100% | 77.5 MiB/s | 79.3 KiB | 00m00s [105/215] Installing pkgconf-0:2.3.0-1. 100% | 44.5 MiB/s | 91.1 KiB | 00m00s [106/215] Installing keyutils-libs-0:1. 100% | 54.5 MiB/s | 55.8 KiB | 00m00s [107/215] Installing libverto-0:0.3.2-9 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [108/215] Installing krb5-libs-0:1.21.3 100% | 209.5 MiB/s | 2.3 MiB | 00m00s [109/215] Installing libtirpc-0:1.3.6-1 100% | 101.2 MiB/s | 207.3 KiB | 00m00s [110/215] Installing libnsl2-0:2.0.1-2. 100% | 57.7 MiB/s | 59.1 KiB | 00m00s [111/215] Installing pam-0:1.7.0-2.fc42 100% | 74.3 MiB/s | 1.7 MiB | 00m00s [112/215] Installing libssh-0:0.11.1-1. 100% | 186.1 MiB/s | 571.7 KiB | 00m00s [113/215] Installing jansson-0:2.14-1.f 100% | 92.3 MiB/s | 94.5 KiB | 00m00s [114/215] Installing libgomp-0:14.2.1-6 100% | 254.5 MiB/s | 521.2 KiB | 00m00s [115/215] Installing rpm-build-libs-0:4 100% | 202.6 MiB/s | 207.5 KiB | 00m00s [116/215] Installing json-c-0:0.18-1.fc 100% | 82.6 MiB/s | 84.6 KiB | 00m00s [117/215] Installing ncurses-0:6.5-2.20 100% | 154.8 MiB/s | 633.9 KiB | 00m00s [118/215] Installing perl-Digest-0:1.20 100% | 36.2 MiB/s | 37.1 KiB | 00m00s [119/215] Installing perl-B-0:1.89-512. 100% | 163.2 MiB/s | 501.3 KiB | 00m00s [120/215] Installing perl-FileHandle-0: 100% | 0.0 B/s | 9.8 KiB | 00m00s [121/215] Installing perl-Digest-MD5-0: 100% | 60.2 MiB/s | 61.7 KiB | 00m00s [122/215] Installing perl-MIME-Base32-0 100% | 31.4 MiB/s | 32.2 KiB | 00m00s [123/215] Installing perl-Data-Dumper-0 100% | 55.5 MiB/s | 113.6 KiB | 00m00s [124/215] Installing perl-libnet-0:3.15 100% | 95.9 MiB/s | 294.7 KiB | 00m00s [125/215] Installing perl-AutoLoader-0: 100% | 0.0 B/s | 20.9 KiB | 00m00s [126/215] Installing perl-IO-Socket-IP- 100% | 98.1 MiB/s | 100.5 KiB | 00m00s [127/215] Installing perl-URI-0:5.31-1. 100% | 52.7 MiB/s | 269.6 KiB | 00m00s [128/215] Installing perl-Time-Local-2: 100% | 68.9 MiB/s | 70.6 KiB | 00m00s [129/215] Installing perl-File-Path-0:2 100% | 63.0 MiB/s | 64.5 KiB | 00m00s [130/215] Installing perl-Pod-Escapes-1 100% | 25.3 MiB/s | 25.9 KiB | 00m00s [131/215] Installing perl-Text-Tabs+Wra 100% | 23.3 MiB/s | 23.9 KiB | 00m00s [132/215] Installing perl-if-0:0.61.000 100% | 0.0 B/s | 6.2 KiB | 00m00s [133/215] Installing perl-locale-0:1.12 100% | 6.7 MiB/s | 6.9 KiB | 00m00s [134/215] Installing perl-Net-SSLeay-0: 100% | 170.3 MiB/s | 1.4 MiB | 00m00s [135/215] Installing perl-IO-Socket-SSL 100% | 172.7 MiB/s | 707.4 KiB | 00m00s [136/215] Installing perl-Class-Struct- 100% | 0.0 B/s | 25.9 KiB | 00m00s [137/215] Installing perl-Term-ANSIColo 100% | 96.9 MiB/s | 99.2 KiB | 00m00s [138/215] Installing perl-Term-Cap-0:1. 100% | 29.9 MiB/s | 30.6 KiB | 00m00s [139/215] Installing perl-File-Temp-1:0 100% | 160.2 MiB/s | 164.1 KiB | 00m00s [140/215] Installing perl-IPC-Open3-0:1 100% | 22.7 MiB/s | 23.3 KiB | 00m00s [141/215] Installing perl-POSIX-0:2.20- 100% | 115.4 MiB/s | 236.4 KiB | 00m00s [142/215] Installing perl-HTTP-Tiny-0:0 100% | 76.4 MiB/s | 156.4 KiB | 00m00s [143/215] Installing perl-Pod-Simple-1: 100% | 139.3 MiB/s | 570.5 KiB | 00m00s [144/215] Installing perl-Socket-4:2.03 100% | 123.1 MiB/s | 126.1 KiB | 00m00s [145/215] Installing perl-SelectSaver-0 100% | 0.0 B/s | 2.6 KiB | 00m00s [146/215] Installing perl-Symbol-0:1.09 100% | 0.0 B/s | 7.2 KiB | 00m00s [147/215] Installing perl-File-stat-0:1 100% | 0.0 B/s | 13.1 KiB | 00m00s [148/215] Installing perl-podlators-1:6 100% | 157.0 MiB/s | 321.4 KiB | 00m00s [149/215] Installing perl-Pod-Perldoc-0 100% | 82.6 MiB/s | 169.3 KiB | 00m00s [150/215] Installing perl-mro-0:1.29-51 100% | 45.6 MiB/s | 46.7 KiB | 00m00s [151/215] Installing perl-overloading-0 100% | 0.0 B/s | 5.5 KiB | 00m00s [152/215] Installing perl-Fcntl-0:1.18- 100% | 48.9 MiB/s | 50.1 KiB | 00m00s [153/215] Installing perl-Text-ParseWor 100% | 14.2 MiB/s | 14.6 KiB | 00m00s [154/215] Installing perl-base-0:2.27-5 100% | 0.0 B/s | 12.9 KiB | 00m00s [155/215] Installing perl-IO-0:1.55-512 100% | 75.8 MiB/s | 155.2 KiB | 00m00s [156/215] Installing perl-Pod-Usage-4:2 100% | 84.3 MiB/s | 86.3 KiB | 00m00s [157/215] Installing perl-Errno-0:1.38- 100% | 8.6 MiB/s | 8.8 KiB | 00m00s [158/215] Installing perl-Scalar-List-U 100% | 74.5 MiB/s | 152.6 KiB | 00m00s [159/215] Installing perl-constant-0:1. 100% | 26.7 MiB/s | 27.4 KiB | 00m00s [160/215] Installing perl-File-Basename 100% | 0.0 B/s | 14.6 KiB | 00m00s [161/215] Installing perl-Getopt-Std-0: 100% | 0.0 B/s | 11.7 KiB | 00m00s [162/215] Installing perl-MIME-Base64-0 100% | 47.2 MiB/s | 48.4 KiB | 00m00s [163/215] Installing perl-parent-1:0.24 100% | 10.5 MiB/s | 10.7 KiB | 00m00s [164/215] Installing perl-vars-0:1.05-5 100% | 0.0 B/s | 4.3 KiB | 00m00s [165/215] Installing perl-overload-0:1. 100% | 70.3 MiB/s | 71.9 KiB | 00m00s [166/215] Installing perl-Storable-1:3. 100% | 114.3 MiB/s | 234.0 KiB | 00m00s [167/215] Installing perl-Getopt-Long-1 100% | 71.9 MiB/s | 147.2 KiB | 00m00s [168/215] Installing perl-Carp-0:1.54-5 100% | 46.6 MiB/s | 47.7 KiB | 00m00s [169/215] Installing perl-Exporter-0:5. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [170/215] Installing perl-PathTools-0:3 100% | 90.1 MiB/s | 184.6 KiB | 00m00s [171/215] Installing perl-DynaLoader-0: 100% | 31.7 MiB/s | 32.5 KiB | 00m00s [172/215] Installing perl-Encode-4:3.21 100% | 248.3 MiB/s | 4.7 MiB | 00m00s [173/215] Installing perl-libs-4:5.40.0 100% | 160.9 MiB/s | 10.0 MiB | 00m00s [174/215] Installing perl-interpreter-4 100% | 121.1 MiB/s | 124.0 KiB | 00m00s [175/215] Installing xxhash-libs-0:0.8. 100% | 87.7 MiB/s | 89.8 KiB | 00m00s [176/215] Installing libbrotli-0:1.1.0- 100% | 205.0 MiB/s | 839.9 KiB | 00m00s [177/215] Installing libnghttp2-0:1.64. 100% | 171.5 MiB/s | 175.6 KiB | 00m00s [178/215] Installing libtool-ltdl-0:2.4 100% | 65.7 MiB/s | 67.3 KiB | 00m00s [179/215] Installing openldap-0:2.6.8-5 100% | 158.2 MiB/s | 648.0 KiB | 00m00s [180/215] Installing libcurl-0:8.10.1-2 100% | 205.0 MiB/s | 839.5 KiB | 00m00s [181/215] Installing elfutils-debuginfo 100% | 40.3 MiB/s | 82.6 KiB | 00m00s [182/215] Installing binutils-0:2.43.50 100% | 288.0 MiB/s | 28.5 MiB | 00m00s [183/215] Installing elfutils-0:0.192-6 100% | 146.9 MiB/s | 2.6 MiB | 00m00s [184/215] Installing gdb-minimal-0:15.2 100% | 324.8 MiB/s | 13.0 MiB | 00m00s [185/215] Installing debugedit-0:5.1-1. 100% | 95.4 MiB/s | 195.4 KiB | 00m00s [186/215] Installing curl-0:8.10.1-2.fc 100% | 26.2 MiB/s | 455.8 KiB | 00m00s [187/215] Installing rpm-0:4.20.0-1.fc4 100% | 92.8 MiB/s | 2.5 MiB | 00m00s [188/215] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [189/215] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [190/215] Installing zig-srpm-macros-0: 100% | 1.6 MiB/s | 1.7 KiB | 00m00s [191/215] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [192/215] Installing pkgconf-pkg-config 100% | 0.0 B/s | 1.8 KiB | 00m00s [193/215] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [194/215] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [195/215] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [196/215] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [197/215] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [198/215] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [199/215] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [200/215] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [201/215] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [202/215] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [203/215] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [204/215] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [205/215] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [206/215] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [207/215] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [208/215] Installing python-srpm-macros 100% | 50.9 MiB/s | 52.2 KiB | 00m00s [209/215] Installing redhat-rpm-config- 100% | 62.9 MiB/s | 193.2 KiB | 00m00s [210/215] Installing rpm-build-0:4.20.0 100% | 66.1 MiB/s | 202.9 KiB | 00m00s [211/215] Installing pyproject-srpm-mac 100% | 2.4 MiB/s | 2.5 KiB | 00m00s [212/215] Installing util-linux-0:2.40. 100% | 90.6 MiB/s | 3.7 MiB | 00m00s [213/215] Installing authselect-0:1.5.0 100% | 39.5 MiB/s | 161.9 KiB | 00m00s [214/215] Installing which-0:2.21-42.fc 100% | 80.5 MiB/s | 82.4 KiB | 00m00s [215/215] Installing info-0:7.1.1-2.fc4 100% | 129.9 KiB/s | 362.2 KiB | 00m03s Warning: skipped PGP checks for 213 packages from repository: https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.4.3-1.fc42.x86_64 alternatives-1.30-1.fc41.x86_64 ansible-srpm-macros-1-16.fc41.noarch audit-libs-4.0.2-1.fc41.x86_64 authselect-1.5.0-8.fc42.x86_64 authselect-libs-1.5.0-8.fc42.x86_64 basesystem-11-21.fc41.noarch bash-5.2.37-1.fc42.x86_64 binutils-2.43.50-7.fc42.x86_64 build-reproducibility-srpm-macros-0.4.3-1.fc42.noarch bzip2-1.0.8-19.fc41.x86_64 bzip2-libs-1.0.8-19.fc41.x86_64 ca-certificates-2024.2.69_v8.0.401-2.fc42.noarch coreutils-9.5-11.fc42.x86_64 coreutils-common-9.5-11.fc42.x86_64 cpio-2.15-2.fc41.x86_64 cracklib-2.9.11-6.fc41.x86_64 crypto-policies-20241106-1.git35892de.fc42.noarch curl-8.10.1-2.fc42.x86_64 cyrus-sasl-lib-2.1.28-27.fc41.x86_64 debugedit-5.1-1.fc42.x86_64 diffutils-3.10-8.fc41.x86_64 dwz-0.15-8.fc42.x86_64 ed-1.20.2-2.fc41.x86_64 efi-srpm-macros-5-12.fc41.noarch elfutils-0.192-6.fc42.x86_64 elfutils-debuginfod-client-0.192-6.fc42.x86_64 elfutils-default-yama-scope-0.192-6.fc42.noarch elfutils-libelf-0.192-6.fc42.x86_64 elfutils-libs-0.192-6.fc42.x86_64 fedora-gpg-keys-42-0.3.noarch fedora-release-42-0.8.noarch fedora-release-common-42-0.8.noarch fedora-release-identity-basic-42-0.8.noarch fedora-repos-42-0.3.noarch fedora-repos-rawhide-42-0.3.noarch file-5.45-7.fc41.x86_64 file-libs-5.45-7.fc41.x86_64 filesystem-3.18-29.fc42.x86_64 findutils-4.10.0-4.fc41.x86_64 fonts-srpm-macros-2.0.5-17.fc41.noarch forge-srpm-macros-0.4.0-1.fc42.noarch fpc-srpm-macros-1.3-13.fc41.noarch gawk-5.3.0-4.fc41.x86_64 gdb-minimal-15.2-3.fc42.x86_64 gdbm-1.23-7.fc41.x86_64 gdbm-libs-1.23-7.fc41.x86_64 ghc-srpm-macros-1.9.2-1.fc42.noarch glibc-2.40.9000-18.fc42.x86_64 glibc-common-2.40.9000-18.fc42.x86_64 glibc-gconv-extra-2.40.9000-18.fc42.x86_64 glibc-minimal-langpack-2.40.9000-18.fc42.x86_64 gmp-6.3.0-2.fc41.x86_64 gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-3.fc41.noarch grep-3.11-9.fc41.x86_64 groff-base-1.23.0-7.fc41.x86_64 gzip-1.13-2.fc41.x86_64 info-7.1.1-2.fc42.x86_64 jansson-2.14-1.fc42.x86_64 json-c-0.18-1.fc42.x86_64 kernel-srpm-macros-1.0-24.fc41.noarch keyutils-libs-1.6.3-4.fc41.x86_64 krb5-libs-1.21.3-3.fc42.x86_64 libacl-2.3.2-2.fc41.x86_64 libarchive-3.7.7-1.fc42.x86_64 libattr-2.5.2-4.fc41.x86_64 libblkid-2.40.2-8.fc42.x86_64 libbrotli-1.1.0-5.fc41.x86_64 libcap-2.71-1.fc42.x86_64 libcap-ng-0.8.5-3.fc41.x86_64 libcom_err-1.47.1-6.fc42.x86_64 libcurl-8.10.1-2.fc42.x86_64 libeconf-0.7.4-3.fc42.x86_64 libevent-2.1.12-14.fc41.x86_64 libfdisk-2.40.2-8.fc42.x86_64 libffi-3.4.6-3.fc42.x86_64 libgcc-14.2.1-6.fc42.x86_64 libgomp-14.2.1-6.fc42.x86_64 libidn2-2.3.7-2.fc41.x86_64 libmount-2.40.2-8.fc42.x86_64 libnghttp2-1.64.0-1.fc42.x86_64 libnsl2-2.0.1-2.fc41.x86_64 libpkgconf-2.3.0-1.fc42.x86_64 libpsl-0.21.5-4.fc41.x86_64 libpwquality-1.4.5-11.fc41.x86_64 libselinux-3.7-6.fc42.x86_64 libsemanage-3.7-3.fc42.x86_64 libsepol-3.7-3.fc42.x86_64 libsmartcols-2.40.2-8.fc42.x86_64 libssh-0.11.1-1.fc42.x86_64 libssh-config-0.11.1-1.fc42.noarch libstdc++-14.2.1-6.fc42.x86_64 libtasn1-4.19.0-9.fc41.x86_64 libtirpc-1.3.6-1.fc42.x86_64 libtool-ltdl-2.4.7-12.fc41.x86_64 libunistring-1.1-8.fc41.x86_64 libuuid-2.40.2-8.fc42.x86_64 libverto-0.3.2-9.fc41.x86_64 libxcrypt-4.4.36-10.fc42.x86_64 libxml2-2.12.8-2.fc41.x86_64 libzstd-1.5.6-2.fc41.x86_64 lua-libs-5.4.7-1.fc42.x86_64 lua-srpm-macros-1-14.fc41.noarch lz4-libs-1.10.0-1.fc41.x86_64 mpfr-4.2.1-5.fc41.x86_64 ncurses-6.5-2.20240629.fc41.x86_64 ncurses-base-6.5-2.20240629.fc41.noarch ncurses-libs-6.5-2.20240629.fc41.x86_64 ocaml-srpm-macros-10-3.fc41.noarch openblas-srpm-macros-2-18.fc41.noarch openldap-2.6.8-5.fc41.x86_64 openssl-libs-3.2.2-8.fc42.x86_64 p11-kit-0.25.5-4.fc42.x86_64 p11-kit-trust-0.25.5-4.fc42.x86_64 package-notes-srpm-macros-0.5-12.fc41.noarch pam-1.7.0-2.fc42.x86_64 pam-libs-1.7.0-2.fc42.x86_64 patch-2.7.6-25.fc41.x86_64 pcre2-10.44-1.fc41.1.x86_64 pcre2-syntax-10.44-1.fc41.1.noarch perl-AutoLoader-5.74-512.fc42.noarch perl-B-1.89-512.fc42.x86_64 perl-Carp-1.54-511.fc41.noarch perl-Class-Struct-0.68-512.fc42.noarch perl-Data-Dumper-2.189-512.fc41.x86_64 perl-Digest-1.20-511.fc41.noarch perl-Digest-MD5-2.59-5.fc41.x86_64 perl-DynaLoader-1.56-512.fc42.x86_64 perl-Encode-3.21-511.fc41.x86_64 perl-Errno-1.38-512.fc42.x86_64 perl-Exporter-5.78-511.fc41.noarch perl-Fcntl-1.18-512.fc42.x86_64 perl-File-Basename-2.86-512.fc42.noarch perl-File-Path-2.18-511.fc41.noarch perl-File-Temp-0.231.100-511.fc41.noarch perl-File-stat-1.14-512.fc42.noarch perl-FileHandle-2.05-512.fc42.noarch perl-Getopt-Long-2.58-2.fc41.noarch perl-Getopt-Std-1.14-512.fc42.noarch perl-HTTP-Tiny-0.090-1.fc42.noarch perl-IO-1.55-512.fc42.x86_64 perl-IO-Socket-IP-0.42-512.fc41.noarch perl-IO-Socket-SSL-2.089-1.fc42.noarch perl-IPC-Open3-1.22-512.fc42.noarch perl-MIME-Base32-1.303-21.fc41.noarch perl-MIME-Base64-3.16-511.fc41.x86_64 perl-Net-SSLeay-1.94-7.fc41.x86_64 perl-POSIX-2.20-512.fc42.x86_64 perl-PathTools-3.91-511.fc41.x86_64 perl-Pod-Escapes-1.07-511.fc41.noarch perl-Pod-Perldoc-3.28.01-512.fc41.noarch perl-Pod-Simple-3.45-511.fc41.noarch perl-Pod-Usage-2.03-511.fc41.noarch perl-Scalar-List-Utils-1.68-1.fc42.x86_64 perl-SelectSaver-1.02-512.fc42.noarch perl-Socket-2.038-511.fc41.x86_64 perl-Storable-3.32-511.fc41.x86_64 perl-Symbol-1.09-512.fc42.noarch perl-Term-ANSIColor-5.01-512.fc41.noarch perl-Term-Cap-1.18-511.fc41.noarch perl-Text-ParseWords-3.31-511.fc41.noarch perl-Text-Tabs+Wrap-2024.001-511.fc41.noarch perl-Time-Local-1.350-511.fc41.noarch perl-URI-5.31-1.fc42.noarch perl-base-2.27-512.fc42.noarch perl-constant-1.33-512.fc41.noarch perl-if-0.61.000-512.fc42.noarch perl-interpreter-5.40.0-512.fc42.x86_64 perl-libnet-3.15-512.fc41.noarch perl-libs-5.40.0-512.fc42.x86_64 perl-locale-1.12-512.fc42.noarch perl-mro-1.29-512.fc42.x86_64 perl-overload-1.37-512.fc42.noarch perl-overloading-0.02-512.fc42.noarch perl-parent-0.242-1.fc42.noarch perl-podlators-6.0.2-2.fc41.noarch perl-srpm-macros-1-56.fc41.noarch perl-vars-1.05-512.fc42.noarch pkgconf-2.3.0-1.fc42.x86_64 pkgconf-m4-2.3.0-1.fc42.noarch pkgconf-pkg-config-2.3.0-1.fc42.x86_64 popt-1.19-7.fc41.x86_64 publicsuffix-list-dafsa-20240107-4.fc41.noarch pyproject-srpm-macros-1.16.2-1.fc42.noarch python-srpm-macros-3.13-3.fc41.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.8.0-1.fc42.noarch readline-8.2-11.fc42.x86_64 redhat-rpm-config-296-1.fc42.noarch rpm-4.20.0-1.fc42.x86_64 rpm-build-4.20.0-1.fc42.x86_64 rpm-build-libs-4.20.0-1.fc42.x86_64 rpm-libs-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-2.fc41.x86_64 rust-srpm-macros-26.3-3.fc42.noarch sed-4.9-3.fc41.x86_64 setup-2.15.0-5.fc41.noarch shadow-utils-4.16.0-7.fc42.x86_64 sqlite-libs-3.47.0-1.fc42.x86_64 systemd-libs-257~rc1-2.fc42.x86_64 tar-1.35-4.fc41.x86_64 unzip-6.0-64.fc41.x86_64 util-linux-2.40.2-8.fc42.x86_64 util-linux-core-2.40.2-8.fc42.x86_64 which-2.21-42.fc41.x86_64 xxhash-libs-0.8.2-4.fc42.x86_64 xz-5.6.3-2.fc42.x86_64 xz-libs-5.6.3-2.fc42.x86_64 zig-srpm-macros-1-3.fc41.noarch zip-3.0-41.fc41.x86_64 zlib-ng-compat-2.2.2-1.fc42.x86_64 zstd-1.5.6-2.fc41.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729814400 Wrote: /builddir/build/SRPMS/python-nibabel-5.3.2-2.fc42.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1731686679.611780/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-gh2x_3et/python-nibabel/python-nibabel.spec) Config(child) 0 minutes 21 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-nibabel-5.3.2-2.fc42.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1731686679.611780/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1731686679.611780/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1731686679.611780/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-2.fc41.x86_64 dnf5-5.2.7.0-1.fc42.x86_64 dnf5-plugins-5.2.7.0-1.fc42.x86_64 Finish: chroot init Start: build phase for python-nibabel-5.3.2-2.fc42.src.rpm Start: build setup for python-nibabel-5.3.2-2.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729814400 Wrote: /builddir/build/SRPMS/python-nibabel-5.3.2-2.fc42.src.rpm Updating and loading repositories: Copr repository 100% | 25.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 982.5 KiB/s | 24.6 KiB | 00m00s Additional repo https_kojipkgs_fedorap 100% | 74.4 KiB/s | 3.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: help2man noarch 1.49.3-6.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 415.6 KiB python3-devel x86_64 3.13.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.8 MiB python3-pytest noarch 8.3.3-3.fc42 copr_base 20.8 MiB python3-pytest-httpserver noarch 1.0.8-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 156.4 KiB python3-setuptools noarch 74.1.3-4.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 8.4 MiB Installing dependencies: expat x86_64 2.6.4-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 285.5 KiB libb2 x86_64 0.98.1-12.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 42.2 KiB mpdecimal x86_64 2.5.1-16.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 204.9 KiB pyproject-rpm-macros noarch 1.16.2-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 113.8 KiB python-pip-wheel noarch 24.3.1-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.2 MiB python-rpm-macros noarch 3.13-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 22.1 KiB python3 x86_64 3.13.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 31.8 KiB python3-iniconfig noarch 1.1.1-23.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 20.6 KiB python3-libs x86_64 3.13.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 40.4 MiB python3-markupsafe x86_64 3.0.2-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 56.1 KiB python3-packaging noarch 24.2-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 555.7 KiB python3-pluggy noarch 1.5.0-1.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 193.2 KiB python3-rpm-generators noarch 14-11.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 81.7 KiB python3-rpm-macros noarch 3.13-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 6.4 KiB python3-werkzeug noarch 3.1.3-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.8 MiB tzdata noarch 2024a-9.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.7 MiB Transaction Summary: Installing: 21 packages Total size of inbound packages is 16 MiB. Need to download 3 MiB. After this operation, 78 MiB extra will be used (install 78 MiB, remove 0 B). [1/2] python3-devel-0:3.13.0-1.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/4] python3-setuptools-0:74.1.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/6] python3-0:3.13.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/8] python3-libs-0:3.13.0-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/10] python3-packaging-0:24.2-2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/13] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/14] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/15] mpdecimal-0:2.5.1-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/16] python-pip-wheel-0:24.3.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/17] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/18] pyproject-rpm-macros-0:1.16.2-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/19] python-rpm-macros-0:3.13-3.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/20] python3-rpm-generators-0:14-11. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/21] python3-rpm-macros-0:3.13-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/21] help2man-0:1.49.3-6.fc41.noarch 100% | 3.2 MiB/s | 216.7 KiB | 00m00s [16/21] python3-werkzeug-0:3.1.3-1.fc42 100% | 20.4 MiB/s | 459.7 KiB | 00m00s [17/21] python3-pytest-httpserver-0:1.0 100% | 544.0 KiB/s | 48.4 KiB | 00m00s [18/21] python3-iniconfig-0:1.1.1-23.fc 100% | 1.6 MiB/s | 18.1 KiB | 00m00s [19/21] python3-pluggy-0:1.5.0-1.fc41.n 100% | 2.9 MiB/s | 53.1 KiB | 00m00s [20/21] python3-markupsafe-0:3.0.2-1.fc 100% | 3.3 MiB/s | 30.0 KiB | 00m00s [21/21] python3-pytest-0:8.3.3-3.fc42.n 100% | 8.2 MiB/s | 2.0 MiB | 00m00s -------------------------------------------------------------------------------- [21/21] Total 100% | 10.7 MiB/s | 2.8 MiB | 00m00s Running transaction [ 1/23] Verify package files 100% | 350.0 B/s | 21.0 B | 00m00s [ 2/23] Prepare transaction 100% | 355.0 B/s | 21.0 B | 00m00s [ 3/23] Installing python-rpm-macros-0: 100% | 22.3 MiB/s | 22.8 KiB | 00m00s [ 4/23] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 5/23] Installing pyproject-rpm-macros 100% | 37.7 MiB/s | 115.7 KiB | 00m00s [ 6/23] Installing tzdata-0:2024a-9.fc4 100% | 27.3 MiB/s | 1.9 MiB | 00m00s [ 7/23] Installing python-pip-wheel-0:2 100% | 414.7 MiB/s | 1.2 MiB | 00m00s [ 8/23] Installing mpdecimal-0:2.5.1-16 100% | 100.6 MiB/s | 206.0 KiB | 00m00s [ 9/23] Installing libb2-0:0.98.1-12.fc 100% | 42.3 MiB/s | 43.3 KiB | 00m00s [10/23] Installing expat-0:2.6.4-1.fc42 100% | 56.2 MiB/s | 287.6 KiB | 00m00s [11/23] Installing python3-libs-0:3.13. 100% | 203.6 MiB/s | 40.7 MiB | 00m00s [12/23] Installing python3-0:3.13.0-1.f 100% | 32.8 MiB/s | 33.5 KiB | 00m00s [13/23] Installing python3-packaging-0: 100% | 92.4 MiB/s | 568.0 KiB | 00m00s [14/23] Installing python3-rpm-generato 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [15/23] Installing python3-iniconfig-0: 100% | 11.5 MiB/s | 23.6 KiB | 00m00s [16/23] Installing python3-pluggy-0:1.5 100% | 97.4 MiB/s | 199.4 KiB | 00m00s [17/23] Installing python3-markupsafe-0 100% | 19.6 MiB/s | 60.2 KiB | 00m00s [18/23] Installing python3-werkzeug-0:3 100% | 142.6 MiB/s | 1.9 MiB | 00m00s [19/23] Installing python3-pytest-https 100% | 52.4 MiB/s | 161.1 KiB | 00m00s [20/23] Installing python3-pytest-0:8.3 100% | 272.1 MiB/s | 21.0 MiB | 00m00s [21/23] Installing python3-devel-0:3.13 100% | 106.7 MiB/s | 1.8 MiB | 00m00s [22/23] Installing python3-setuptools-0 100% | 129.7 MiB/s | 8.6 MiB | 00m00s [23/23] Installing help2man-0:1.49.3-6. 100% | 3.1 MiB/s | 425.4 KiB | 00m00s Warning: skipped PGP checks for 21 packages from repositories: copr_base, https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 Complete! Finish: build setup for python-nibabel-5.3.2-2.fc42.src.rpm Start: rpmbuild python-nibabel-5.3.2-2.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729814400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.OA7hi2 + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + test -d /builddir/build/BUILD/python-nibabel-5.3.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-nibabel-5.3.2-build + /usr/bin/rm -rf /builddir/build/BUILD/python-nibabel-5.3.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-nibabel-5.3.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-nibabel-5.3.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bv9xag + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + rm -rf nibabel-5.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nibabel-5.3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nibabel-5.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1383.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find nibabel/cmdline/ -name '*.py' -execdir sed -i '/^#!python/ d' '{}' ';' + find . -name '*.py' -execdir sed -i 's|^#!python|#!/usr/bin/python3|' '{}' ';' + rm -fv nibabel/tests/data/.gitignore nibabel/.gitignore removed 'nibabel/tests/data/.gitignore' removed 'nibabel/.gitignore' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Kjfjpk + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + cd nibabel-5.3.2 + 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-nibabel-5.3.2-build/nibabel-5.3.2/.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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir --output /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires -x dicom,minc2,spm 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-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-nibabel-5.3.2-2.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 909.8 KiB/s | 24.6 KiB | 00m00s Copr repository 100% | 49.2 KiB/s | 1.5 KiB | 00m00s Additional repo https_kojipkgs_fedorap 100% | 97.1 KiB/s | 3.5 KiB | 00m00s Repositories loaded. Package "help2man-1.49.3-6.fc41.noarch" is already installed. Package "pyproject-rpm-macros-1.16.2-1.fc42.noarch" is already installed. Package "python3-devel-3.13.0-1.fc42.x86_64" is already installed. Package "python3-pytest-8.3.3-3.fc42.noarch" is already installed. Package "python3-pytest-httpserver-1.0.8-5.fc41.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package Arch Version Repository Size Installing: python3-hatch-vcs noarch 0.4.0-6.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 33.9 KiB python3-hatchling noarch 1.25.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 709.9 KiB python3-pip noarch 24.3.1-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 11.3 MiB Installing dependencies: python3-pathspec noarch 0.12.1-6.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 195.2 KiB python3-setuptools_scm noarch 8.1.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 320.0 KiB python3-trove-classifiers noarch 2024.10.21.16-2.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 92.1 KiB Transaction Summary: Installing: 6 packages Total size of inbound packages is 3 MiB. Need to download 3 MiB. After this operation, 13 MiB extra will be used (install 13 MiB, remove 0 B). [1/6] python3-hatch-vcs-0:0.4.0-6.fc41. 100% | 533.7 KiB/s | 23.0 KiB | 00m00s [2/6] python3-pathspec-0:0.12.1-6.fc41. 100% | 3.2 MiB/s | 56.4 KiB | 00m00s [3/6] python3-trove-classifiers-0:2024. 100% | 2.9 MiB/s | 27.1 KiB | 00m00s [4/6] python3-hatchling-0:1.25.0-1.fc42 100% | 2.7 MiB/s | 207.0 KiB | 00m00s [5/6] python3-setuptools_scm-0:8.1.0-1. 100% | 5.5 MiB/s | 101.4 KiB | 00m00s [6/6] python3-pip-0:24.3.1-1.fc42.noarc 100% | 19.5 MiB/s | 2.5 MiB | 00m00s -------------------------------------------------------------------------------- [6/6] Total 100% | 22.5 MiB/s | 2.9 MiB | 00m00s Running transaction [1/8] Verify package files 100% | 600.0 B/s | 6.0 B | 00m00s [2/8] Prepare transaction 100% | 222.0 B/s | 6.0 B | 00m00s [3/8] Installing python3-setuptools_scm 100% | 55.3 MiB/s | 339.7 KiB | 00m00s [4/8] Installing python3-trove-classifi 100% | 46.5 MiB/s | 95.3 KiB | 00m00s [5/8] Installing python3-pathspec-0:0.1 100% | 65.8 MiB/s | 202.0 KiB | 00m00s [6/8] Installing python3-hatchling-0:1. 100% | 49.4 MiB/s | 759.1 KiB | 00m00s [7/8] Installing python3-hatch-vcs-0:0. 100% | 9.8 MiB/s | 39.9 KiB | 00m00s [8/8] Installing python3-pip-0:24.3.1-1 100% | 102.8 MiB/s | 11.6 MiB | 00m00s Warning: skipped PGP checks for 6 packages from repository: https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729814400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.v7Ywje + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + cd nibabel-5.3.2 + 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-nibabel-5.3.2-build/nibabel-5.3.2/.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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir --output /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires -x dicom,minc2,spm Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.25.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.4.0) Handling importlib-resources>=5.12; python_version < '3.12' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: importlib-resources>=5.12; python_version < '3.12' Handling numpy>=1.22 from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: numpy>=1.22 Handling packaging>=20 from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: packaging>=20 (installed: packaging 24.2) Handling typing-extensions>=4.6; python_version < '3.13' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: typing-extensions>=4.6; python_version < '3.13' Handling h5py; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: h5py; extra == 'all' Handling pillow; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pillow; extra == 'all' Handling pydicom>=2.3; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pydicom>=2.3; extra == 'all' Handling pyzstd>=0.14.3; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd>=0.14.3; extra == 'all' Handling scipy; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: scipy; extra == 'all' Handling tox; extra == 'dev' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'dev' Handling pydicom>=2.3; extra == 'dicom' from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: pydicom>=2.3; extra == 'dicom' Handling pillow; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pillow; extra == 'dicomfs' Handling pydicom>=2.3; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pydicom>=2.3; extra == 'dicomfs' Handling matplotlib>=3.5; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: matplotlib>=3.5; extra == 'doc' Handling numpydoc; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: numpydoc; extra == 'doc' Handling sphinx; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: sphinx; extra == 'doc' Handling texext; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: texext; extra == 'doc' Handling tomli; (python_version < '3.11') and extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tomli; (python_version < '3.11') and extra == 'doc' Handling tox; extra == 'doctest' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'doctest' Handling h5py; extra == 'minc2' from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: h5py; extra == 'minc2' Handling scipy; extra == 'spm' from hook generated metadata: Requires-Dist (nibabel) Requirement not satisfied: scipy; extra == 'spm' Handling tox; extra == 'style' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'style' Handling coverage>=7.2; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: coverage>=7.2; extra == 'test' Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest; extra == 'test' Handling pytest-cov; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-cov; extra == 'test' Handling pytest-doctestplus; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-doctestplus; extra == 'test' Handling pytest-httpserver; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-httpserver; extra == 'test' Handling pytest-xdist; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-xdist; extra == 'test' Handling tox; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'typing' Handling pyzstd>=0.14.3; extra == 'zstd' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd>=0.14.3; extra == 'zstd' + cat /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires + rm -rfv nibabel-5.3.2.dist-info/ removed 'nibabel-5.3.2.dist-info/METADATA' removed directory 'nibabel-5.3.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-nibabel-5.3.2-2.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 944.7 KiB/s | 24.6 KiB | 00m00s Copr repository 100% | 26.3 KiB/s | 1.5 KiB | 00m00s Additional repo https_kojipkgs_fedorap 100% | 87.4 KiB/s | 3.5 KiB | 00m00s Repositories loaded. Package "help2man-1.49.3-6.fc41.noarch" is already installed. Package "pyproject-rpm-macros-1.16.2-1.fc42.noarch" is already installed. Package "python3-devel-3.13.0-1.fc42.x86_64" is already installed. Package "python3-pytest-8.3.3-3.fc42.noarch" is already installed. Package "python3-pytest-httpserver-1.0.8-5.fc41.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-hatch-vcs-0.4.0-6.fc41.noarch" is already installed. Package "python3-hatchling-1.25.0-1.fc42.noarch" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pip-24.3.1-1.fc42.noarch" is already installed. Package Arch Version Repository Size Installing: python3-h5py x86_64 3.12.1-3.fc42 copr_base 4.5 MiB python3-numpy x86_64 1:2.1.3-1.fc42 copr_base 40.7 MiB python3-pydicom noarch 3.0.1-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 13.5 MiB python3-scipy x86_64 1.14.1-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 67.1 MiB Installing dependencies: flexiblas x86_64 3.4.4-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 48.5 KiB flexiblas-netlib x86_64 3.4.4-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 10.7 MiB flexiblas-openblas-openmp x86_64 3.4.4-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 43.3 KiB hdf5 x86_64 1.14.5-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 7.1 MiB libaec x86_64 1.1.3-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 98.1 KiB libgfortran x86_64 14.2.1-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 3.0 MiB liblzf x86_64 3.6-29.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 53.8 KiB libquadmath x86_64 14.2.1-6.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 325.9 KiB openblas x86_64 0.3.26-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 96.0 KiB openblas-openmp x86_64 0.3.26-5.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 39.4 MiB python3-cached_property noarch 2.0.1-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 34.8 KiB python3-charset-normalizer noarch 3.4.0-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 319.9 KiB python3-idna noarch 3.10-1.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 628.0 KiB python3-numpy-f2py x86_64 1:2.1.3-1.fc42 copr_base 2.0 MiB python3-platformdirs noarch 4.2.2-2.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 168.6 KiB python3-pooch noarch 1.8.2-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 625.5 KiB python3-requests noarch 2.32.3-3.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 485.9 KiB python3-six noarch 1.16.0-23.fc41 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 118.3 KiB python3-urllib3 noarch 2.2.3-3.fc42 https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 1.0 MiB Transaction Summary: Installing: 23 packages Total size of inbound packages is 42 MiB. Need to download 25 MiB. After this operation, 192 MiB extra will be used (install 192 MiB, remove 0 B). [1/2] python3-numpy-1:2.1.3-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/6] flexiblas-netlib-0:3.4.4-3.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/7] libgfortran-0:14.2.1-6.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/11] flexiblas-0:3.4.4-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/12] flexiblas-openblas-openmp-0:3.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/13] libquadmath-0:14.2.1-6.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/22] openblas-openmp-0:0.3.26-5.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/23] openblas-0:0.3.26-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/23] python3-h5py-0:3.12.1-3.fc42.x8 100% | 13.7 MiB/s | 1.1 MiB | 00m00s [10/23] python3-numpy-f2py-1:2.1.3-1.fc 100% | 9.2 MiB/s | 444.7 KiB | 00m00s [11/23] python3-pydicom-0:3.0.1-6.fc42. 100% | 20.9 MiB/s | 2.9 MiB | 00m00s [12/23] python3-platformdirs-0:4.2.2-2. 100% | 2.7 MiB/s | 41.0 KiB | 00m00s [13/23] python3-requests-0:2.32.3-3.fc4 100% | 4.7 MiB/s | 149.0 KiB | 00m00s [14/23] python3-pooch-0:1.8.2-3.fc41.no 100% | 1.8 MiB/s | 126.4 KiB | 00m00s [15/23] liblzf-0:3.6-29.fc41.x86_64 100% | 3.0 MiB/s | 28.0 KiB | 00m00s [16/23] python3-cached_property-0:2.0.1 100% | 1.8 MiB/s | 19.9 KiB | 00m00s [17/23] python3-six-0:1.16.0-23.fc41.no 100% | 4.0 MiB/s | 41.2 KiB | 00m00s [18/23] hdf5-0:1.14.5-1.fc42.x86_64 100% | 41.2 MiB/s | 2.1 MiB | 00m00s [19/23] python3-charset-normalizer-0:3. 100% | 8.2 MiB/s | 101.4 KiB | 00m00s [20/23] python3-idna-0:3.10-1.fc42.noar 100% | 8.4 MiB/s | 111.7 KiB | 00m00s [21/23] libaec-0:1.1.3-1.fc42.x86_64 100% | 3.7 MiB/s | 37.4 KiB | 00m00s [22/23] python3-urllib3-0:2.2.3-3.fc42. 100% | 11.5 MiB/s | 259.0 KiB | 00m00s [23/23] python3-scipy-0:1.14.1-1.fc42.x 100% | 12.3 MiB/s | 17.1 MiB | 00m01s -------------------------------------------------------------------------------- [23/23] Total 100% | 17.4 MiB/s | 24.5 MiB | 00m01s Running transaction [ 1/25] Verify package files 100% | 151.0 B/s | 23.0 B | 00m00s [ 2/25] Prepare transaction 100% | 239.0 B/s | 23.0 B | 00m00s [ 3/25] Installing libgfortran-0:14.2.1 100% | 190.3 MiB/s | 3.0 MiB | 00m00s [ 4/25] Installing python3-idna-0:3.10- 100% | 103.2 MiB/s | 634.3 KiB | 00m00s [ 5/25] Installing python3-urllib3-0:2. 100% | 77.1 MiB/s | 1.0 MiB | 00m00s [ 6/25] Installing openblas-0:0.3.26-5. 100% | 47.8 MiB/s | 97.8 KiB | 00m00s [ 7/25] Installing openblas-openmp-0:0. 100% | 345.4 MiB/s | 39.4 MiB | 00m00s [ 8/25] Installing libaec-0:1.1.3-1.fc4 100% | 49.1 MiB/s | 100.5 KiB | 00m00s [ 9/25] Installing hdf5-0:1.14.5-1.fc42 100% | 245.5 MiB/s | 7.1 MiB | 00m00s [10/25] Installing python3-charset-norm 100% | 80.5 MiB/s | 329.8 KiB | 00m00s [11/25] Installing python3-requests-0:2 100% | 97.3 MiB/s | 498.0 KiB | 00m00s [12/25] Installing python3-six-0:1.16.0 100% | 58.9 MiB/s | 120.7 KiB | 00m00s [13/25] Installing python3-cached_prope 100% | 36.6 MiB/s | 37.5 KiB | 00m00s [14/25] Installing liblzf-0:3.6-29.fc41 100% | 54.8 MiB/s | 56.2 KiB | 00m00s [15/25] Installing libquadmath-0:14.2.1 100% | 159.8 MiB/s | 327.2 KiB | 00m00s [16/25] Installing flexiblas-0:3.4.4-3. 100% | 48.5 MiB/s | 49.7 KiB | 00m00s [17/25] Installing flexiblas-openblas-o 100% | 43.1 MiB/s | 44.1 KiB | 00m00s [18/25] Installing flexiblas-netlib-0:3 100% | 296.3 MiB/s | 10.7 MiB | 00m00s [19/25] Installing python3-numpy-1:2.1. 100% | 234.3 MiB/s | 41.0 MiB | 00m00s [20/25] Installing python3-numpy-f2py-1 100% | 97.7 MiB/s | 2.1 MiB | 00m00s [21/25] Installing python3-platformdirs 100% | 57.0 MiB/s | 175.0 KiB | 00m00s [22/25] Installing python3-pooch-0:1.8. 100% | 62.5 MiB/s | 640.5 KiB | 00m00s [23/25] Installing python3-scipy-0:1.14 100% | 236.7 MiB/s | 67.5 MiB | 00m00s [24/25] Installing python3-h5py-0:3.12. 100% | 215.4 MiB/s | 4.5 MiB | 00m00s [25/25] Installing python3-pydicom-0:3. 100% | 97.9 MiB/s | 13.6 MiB | 00m00s Warning: skipped PGP checks for 23 packages from repositories: copr_base, https_kojipkgs_fedoraproject_org_repos_rawhide_latest_x86_64 Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729814400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Xp81dI + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + cd nibabel-5.3.2 + 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-nibabel-5.3.2-build/nibabel-5.3.2/.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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir --output /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires -x dicom,minc2,spm Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.25.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.4.0) Handling importlib-resources>=5.12; python_version < '3.12' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: importlib-resources>=5.12; python_version < '3.12' Handling numpy>=1.22 from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: numpy>=1.22 (installed: numpy 2.1.3) Handling packaging>=20 from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: packaging>=20 (installed: packaging 24.2) Handling typing-extensions>=4.6; python_version < '3.13' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: typing-extensions>=4.6; python_version < '3.13' Handling h5py; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: h5py; extra == 'all' Handling pillow; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pillow; extra == 'all' Handling pydicom>=2.3; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pydicom>=2.3; extra == 'all' Handling pyzstd>=0.14.3; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd>=0.14.3; extra == 'all' Handling scipy; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: scipy; extra == 'all' Handling tox; extra == 'dev' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'dev' Handling pydicom>=2.3; extra == 'dicom' from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: pydicom>=2.3; extra == 'dicom' (installed: pydicom 3.0.1) Handling pillow; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pillow; extra == 'dicomfs' Handling pydicom>=2.3; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pydicom>=2.3; extra == 'dicomfs' Handling matplotlib>=3.5; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: matplotlib>=3.5; extra == 'doc' Handling numpydoc; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: numpydoc; extra == 'doc' Handling sphinx; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: sphinx; extra == 'doc' Handling texext; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: texext; extra == 'doc' Handling tomli; (python_version < '3.11') and extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tomli; (python_version < '3.11') and extra == 'doc' Handling tox; extra == 'doctest' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'doctest' Handling h5py; extra == 'minc2' from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: h5py; extra == 'minc2' (installed: h5py 3.12.1) Handling scipy; extra == 'spm' from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: scipy; extra == 'spm' (installed: scipy 1.14.1) Handling tox; extra == 'style' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'style' Handling coverage>=7.2; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: coverage>=7.2; extra == 'test' Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest; extra == 'test' Handling pytest-cov; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-cov; extra == 'test' Handling pytest-doctestplus; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-doctestplus; extra == 'test' Handling pytest-httpserver; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-httpserver; extra == 'test' Handling pytest-xdist; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-xdist; extra == 'test' Handling tox; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'typing' Handling pyzstd>=0.14.3; extra == 'zstd' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd>=0.14.3; extra == 'zstd' + cat /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires + rm -rfv nibabel-5.3.2.dist-info/ removed 'nibabel-5.3.2.dist-info/METADATA' removed directory 'nibabel-5.3.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-nibabel-5.3.2-2.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 792.4 KiB/s | 24.6 KiB | 00m00s Additional repo https_kojipkgs_fedorap 100% | 92.0 KiB/s | 3.5 KiB | 00m00s Copr repository 100% | 5.3 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "help2man-1.49.3-6.fc41.noarch" is already installed. Package "pyproject-rpm-macros-1.16.2-1.fc42.noarch" is already installed. Package "python3-devel-3.13.0-1.fc42.x86_64" is already installed. Package "python3-pytest-8.3.3-3.fc42.noarch" is already installed. Package "python3-pytest-httpserver-1.0.8-5.fc41.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-h5py-3.12.1-3.fc42.x86_64" is already installed. Package "python3-hatch-vcs-0.4.0-6.fc41.noarch" is already installed. Package "python3-hatchling-1.25.0-1.fc42.noarch" is already installed. Package "python3-numpy-1:2.1.3-1.fc42.x86_64" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pip-24.3.1-1.fc42.noarch" is already installed. Package "python3-pydicom-3.0.1-6.fc42.noarch" is already installed. Package "python3-scipy-1.14.1-1.fc42.x86_64" is already installed. Nothing to do. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729814400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.81j1Ru + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + cd nibabel-5.3.2 + 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-nibabel-5.3.2-build/nibabel-5.3.2/.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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir --output /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires -x dicom,minc2,spm Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.25.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.4.0) Handling importlib-resources>=5.12; python_version < '3.12' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: importlib-resources>=5.12; python_version < '3.12' Handling numpy>=1.22 from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: numpy>=1.22 (installed: numpy 2.1.3) Handling packaging>=20 from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: packaging>=20 (installed: packaging 24.2) Handling typing-extensions>=4.6; python_version < '3.13' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: typing-extensions>=4.6; python_version < '3.13' Handling h5py; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: h5py; extra == 'all' Handling pillow; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pillow; extra == 'all' Handling pydicom>=2.3; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pydicom>=2.3; extra == 'all' Handling pyzstd>=0.14.3; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd>=0.14.3; extra == 'all' Handling scipy; extra == 'all' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: scipy; extra == 'all' Handling tox; extra == 'dev' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'dev' Handling pydicom>=2.3; extra == 'dicom' from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: pydicom>=2.3; extra == 'dicom' (installed: pydicom 3.0.1) Handling pillow; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pillow; extra == 'dicomfs' Handling pydicom>=2.3; extra == 'dicomfs' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pydicom>=2.3; extra == 'dicomfs' Handling matplotlib>=3.5; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: matplotlib>=3.5; extra == 'doc' Handling numpydoc; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: numpydoc; extra == 'doc' Handling sphinx; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: sphinx; extra == 'doc' Handling texext; extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: texext; extra == 'doc' Handling tomli; (python_version < '3.11') and extra == 'doc' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tomli; (python_version < '3.11') and extra == 'doc' Handling tox; extra == 'doctest' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'doctest' Handling h5py; extra == 'minc2' from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: h5py; extra == 'minc2' (installed: h5py 3.12.1) Handling scipy; extra == 'spm' from hook generated metadata: Requires-Dist (nibabel) Requirement satisfied: scipy; extra == 'spm' (installed: scipy 1.14.1) Handling tox; extra == 'style' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'style' Handling coverage>=7.2; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: coverage>=7.2; extra == 'test' Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest; extra == 'test' Handling pytest-cov; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-cov; extra == 'test' Handling pytest-doctestplus; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-doctestplus; extra == 'test' Handling pytest-httpserver; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-httpserver; extra == 'test' Handling pytest-xdist; extra == 'test' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pytest-xdist; extra == 'test' Handling tox; extra == 'typing' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: tox; extra == 'typing' Handling pyzstd>=0.14.3; extra == 'zstd' from hook generated metadata: Requires-Dist (nibabel) Ignoring alien requirement: pyzstd>=0.14.3; extra == 'zstd' + cat /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-buildrequires + rm -rfv nibabel-5.3.2.dist-info/ removed 'nibabel-5.3.2.dist-info/METADATA' removed directory 'nibabel-5.3.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lf22JD + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nibabel-5.3.2 + mkdir -p /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir Processing /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: nibabel Building wheel for nibabel (pyproject.toml): started Running command Building wheel for nibabel (pyproject.toml) Building wheel for nibabel (pyproject.toml): finished with status 'done' Created wheel for nibabel: filename=nibabel-5.3.2-py3-none-any.whl size=3282969 sha256=c64735c79b7a70b70a6e2b43e0bb5799e838fbd605c9360c07861176f1300d62 Stored in directory: /builddir/.cache/pip/wheels/42/6a/77/34baa695b13deb5b0e7573c262b86892fb2a1d3b0cb238fe70 Successfully built nibabel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UfDGWl + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-build + '[' /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-nibabel-5.3.2-build + mkdir /builddir/build/BUILD/python-nibabel-5.3.2-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nibabel-5.3.2 ++ ls /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir/nibabel-5.3.2-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=nibabel==5.3.2 + '[' -z nibabel==5.3.2 ']' + TMPDIR=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-nibabel-5.3.2-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-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir nibabel==5.3.2 Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/pyproject-wheeldir Processing ./pyproject-wheeldir/nibabel-5.3.2-py3-none-any.whl Installing collected packages: nibabel Creating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-conform to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-convert to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-dicomfs to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-diff to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-ls to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-nifti-dx to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-roi to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-stats to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-tck2trk to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-trk2tck to 755 changing mode of /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/parrec2nii to 755 Successfully installed nibabel-5.3.2 + '[' -d /builddir/build/BUILD/python-nibabel-5.3.2-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-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-conform /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-convert /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-dicomfs /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-diff /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-ls /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-nifti-dx /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-roi /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-stats /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-tck2trk /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-trk2tck /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/parrec2nii /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-conform: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-convert: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-dicomfs: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-diff: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-ls: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-nifti-dx: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-roi: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-stats: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-tck2trk: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/nib-trk2tck: updating /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/parrec2nii: updating + rm -rfv /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/nibabel-5.3.2.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel-5.3.2.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-nibabel-5.3.2-build/BUILDROOT --record /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel-5.3.2.dist-info/RECORD --output /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel-5.3.2.dist-info/RECORD removed '/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel-5.3.2.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel-5.3.2.dist-info/REQUESTED removed '/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel-5.3.2.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-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-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-nibabel-5.3.2-build/python-nibabel-5.3.2-2.fc42.x86_64-pyproject-record --prefix /usr -l nibabel Generating man page for parrec2nii + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for parrec2nii' + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=parrec2nii.1 parrec2nii + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D parrec2nii.1 Generating man page for nib-conform + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-conform' + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-conform.1 nib-conform + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-conform.1 Generating man page for nib-convert + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-convert' + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-convert.1 nib-convert + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-convert.1 Generating man page for nib-diff + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-diff' + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-diff.1 nib-diff + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-diff.1 Generating man page for nib-dicomfs + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-dicomfs' + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-dicomfs.1 nib-dicomfs + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-dicomfs.1 Generating man page for nib-ls + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-ls' + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-ls.1 nib-ls + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-ls.1 + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-nifti-dx' Generating man page for nib-nifti-dx + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-nifti-dx.1 nib-nifti-dx + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-nifti-dx.1 + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-roi' Generating man page for nib-roi + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-roi.1 nib-roi + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-roi.1 + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-stats' Generating man page for nib-stats + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-stats.1 nib-stats + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-stats.1 + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-tck2trk' Generating man page for nib-tck2trk + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-tck2trk.1 nib-tck2trk + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-tck2trk.1 + for binary in "parrec2nii" "nib-conform" "nib-convert" "nib-diff" "nib-dicomfs" "nib-ls" "nib-nifti-dx" "nib-roi" "nib-stats" "nib-tck2trk" "nib-trk2tck" + echo 'Generating man page for nib-trk2tck' Generating man page for nib-trk2tck + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + help2man --no-info --no-discard-stderr --output=nib-trk2tck.1 nib-trk2tck + install -t /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/share/man/man1 -p -m 0644 -D nib-trk2tck.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/python3.13/site-packages/nibabel/cmdline/diff.py is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/python3.13/site-packages/nibabel/cmdline/ls.py is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/python3.13/site-packages/nibabel/gifti/tests/data/gzipbase64.gii is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/python3.13/site-packages/nibabel/nicom/dicomwrappers.py is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/python3.13/site-packages/nibabel/nicom/tests/test_dicomwrappers.py is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/python3.13/site-packages/nibabel/tests/data/umass_anonymized.PAR is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j2 /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/benchmarks/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/benchmarks/__pycache__/bench_array_to_file.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/benchmarks/__pycache__/bench_arrayproxy_slicing.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/benchmarks/__pycache__/bench_finite_range.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/benchmarks/__pycache__/bench_load_save.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/benchmarks/__pycache__/butils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/benchmarks/__pycache__/bench_fileslice.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_axes.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_axes.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_cifti2.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_cifti2io_axes.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_cifti2.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_cifti2io_axes.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_cifti2io_header.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_name.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_name.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_cifti2io_header.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_new_cifti2.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/tests/__pycache__/test_new_cifti2.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/__pycache__/cifti2_axes.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/__pycache__/cifti2.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_conform.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_conform.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cifti2/__pycache__/parse_cifti2.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_convert.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_parrec2nii.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_convert.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_parrec2nii.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_roi.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_roi.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_stats.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_stats.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_utils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/conform.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/tests/__pycache__/test_utils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/convert.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/diff.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/ls.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/dicomfs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/stats.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/nifti_dx.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/diff.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/tck2trk.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/roi.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/trk2tck.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/parrec2nii.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/externals/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/cmdline/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/externals/tests/__pycache__/test_netcdf.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/externals/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/externals/tests/__pycache__/test_netcdf.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/externals/__pycache__/conftest.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/externals/__pycache__/oset.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/tests/__pycache__/test_io.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/tests/__pycache__/test_io.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/externals/__pycache__/netcdf.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/tests/__pycache__/test_mghformat.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/tests/__pycache__/test_mghformat.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/__pycache__/io.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/__pycache__/io.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/tests/__pycache__/test_1.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/tests/__pycache__/test_gifti.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/freesurfer/__pycache__/mghformat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/tests/__pycache__/test_gifti.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/tests/__pycache__/test_parse_gifti_fast.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/tests/__pycache__/test_parse_gifti_fast.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/__pycache__/gifti.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/__pycache__/parse_gifti_fast.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/__pycache__/parse_gifti_fast.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/__pycache__/gifti.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/gifti/__pycache__/util.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/data_pkgs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_ascconv.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_ascconv.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_csareader.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_csareader.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_dicomreaders.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_utils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_utils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_dicomreaders.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_dicomwrappers.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_dwiparams.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_structreader.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_structreader.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/ascconv.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/csareader.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/dwiparams.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/tests/__pycache__/test_dicomwrappers.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/csareader.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/structreader.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/dicomreaders.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/dicomwrappers.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/nicom/__pycache__/dicomwrappers.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_array_sequence.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_array_sequence.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_streamlines.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_streamlines.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_tck.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_tractogram.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_tck.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_tractogram_file.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_tractogram_file.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_trk.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_tractogram.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/tests/__pycache__/test_trk.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/header.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/array_sequence.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/tck.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/tractogram_file.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/tractogram.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/trk.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/streamlines/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/testing/__pycache__/__init__.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/testing/__pycache__/helpers.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/testing/__pycache__/helpers.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/testing/__pycache__/np_features.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/data/__pycache__/check_parrec_reslice.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/testing/__pycache__/__init__.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/data/__pycache__/gen_standard.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/data/__pycache__/make_moved_anat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/conftest.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/nibabel_data.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/scriptrunner.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_affines.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_affines.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_arrayproxy.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_arrayproxy.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_arraywriters.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_analyze.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_api_validators.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_api_validators.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_casting.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_analyze.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_casting.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_arraywriters.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_batteryrunners.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_batteryrunners.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_data.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_brikhead.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_dataobj_images.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_data.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_deprecated.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_brikhead.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_deprecated.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_deprecator.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_ecat_data.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_ecat_data.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_endiancodes.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_deprecator.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_endiancodes.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_environment.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_environment.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_dft.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_dft.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_diff.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_euler.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_diff.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_euler.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_filebasedimages.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_filebasedimages.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_ecat.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_filehandles.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_fileholders.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_fileholders.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_filename_parser.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_files_interface.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_ecat.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_filename_parser.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_files_interface.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_funcs.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_funcs.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_fileslice.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_image_api.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_image_load_save.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_image_api.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_fileutils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_fileutils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_fileslice.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_image_load_save.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_image_types.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_image_types.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_imageclasses.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_imageclasses.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_imageglobals.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_imageglobals.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_imagestats.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_imagestats.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_floating.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_init.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_init.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_mriutils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_nibabel_data.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_floating.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_loadsave.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_nibabel_data.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_loadsave.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_minc1.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_minc2.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_minc1.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_minc2_data.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_minc2_data.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_onetime.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_onetime.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_openers.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_openers.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_optpkg.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_optpkg.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_orientations.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_orientations.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_nifti1.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_nifti2.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_nifti2.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_nifti1.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_processing.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_parrec.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_processing.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_parrec_data.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_parrec.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_parrec_data.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_pkg_info.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_pkg_info.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_proxy_api.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_pointset.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_quaternions.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_pointset.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_quaternions.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_proxy_api.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_removalschedule.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_removalschedule.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_recoder.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_recoder.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_round_trip.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_round_trip.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_rstutils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_rstutils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_scaling.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_scripts.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_scaling.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spaces.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spaces.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_scripts.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spm99analyze.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spatialimages.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_testing.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_testing.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_tmpdirs.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_tmpdirs.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spm99analyze.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_tripwire.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_tripwire.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spm2analyze.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spm2analyze.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_viewers.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_spatialimages.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_viewers.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_volumeutils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_wrapstruct.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_volumeutils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/_compression.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/_version.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/affines.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/batteryrunners.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/tests/__pycache__/test_wrapstruct.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/arrayproxy.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/analyze.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/arraywriters.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/caret.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/brikhead.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/casting.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/arraywriters.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/casting.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/data.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/conftest.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/deprecated.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/dataobj_images.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/deprecator.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/deprecator.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/dft.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/ecat.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/ecat.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/environment.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/eulerangles.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/fileholders.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/filename_parser.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/fileslice.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/fileutils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/filebasedimages.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/funcs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/imagestats.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/info.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/imageglobals.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/loadsave.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/imageclasses.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/minc1.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/minc2.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/mriutils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/minc1.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/onetime.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/openers.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/optpkg.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/orientations.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/orientations.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/nifti2.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/pydicom_compat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/nifti1.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/quaternions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/rstutils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/parrec.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/pkg_info.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/spaces.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/pointset.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/spatialimages.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/parrec.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/processing.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/spm2analyze.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/spm99analyze.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/tripwire.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/spatialimages.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/viewers.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/viewers.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/volumeutils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/wrapstruct.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/volumeutils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/tmpdirs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages/nibabel/__pycache__/xmlutils.cpython-313.pyc: rewriting with normalized contents Scanned 52 directories and 824 files, processed 341 inodes, 341 modified (226 replaced + 115 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Hs0DpB + umask 022 + cd /builddir/build/BUILD/python-nibabel-5.3.2-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nibabel-5.3.2 + 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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-nibabel-5.3.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -v --pyargs nibabel ============================= test session starts ============================== platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2 configfile: pyproject.toml plugins: pytest_httpserver-1.0.8 collecting ... collected 5508 items nibabel/cifti2/tests/test_axes.py::test_brain_models PASSED [ 0%] nibabel/cifti2/tests/test_axes.py::test_parcels PASSED [ 0%] nibabel/cifti2/tests/test_axes.py::test_scalar PASSED [ 0%] nibabel/cifti2/tests/test_axes.py::test_label PASSED [ 0%] nibabel/cifti2/tests/test_axes.py::test_series PASSED [ 0%] nibabel/cifti2/tests/test_axes.py::test_writing PASSED [ 0%] nibabel/cifti2/tests/test_axes.py::test_common_interface PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_value_if_klass PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_metadata PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test__float_01 PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_labeltable PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_label PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_parcel PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_vertices PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_transformationmatrixvoxelindicesijktoxyz PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_surface PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_volume PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_vertexindices PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_cifti2_voxelindicesijk PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_matrixindicesmap PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_matrix PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::test_underscoring PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_data_interface PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_dtype PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_file_stream_equivalence PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_filenames PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_from_file_url XFAIL [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_from_url PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_get_data_deprecated XFAIL [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_header PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_init_dtype_override PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_mmap_parameter PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_ndim PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_no_slicing PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_shape PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_to_file_dtype_override PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_to_from_bytes PASSED [ 0%] nibabel/cifti2/tests/test_cifti2.py::TestCifti2ImageAPI::test_to_from_stream PASSED [ 0%] nibabel/cifti2/tests/test_cifti2io_axes.py::test_read_ones SKIPPED (...) [ 0%] nibabel/cifti2/tests/test_cifti2io_axes.py::test_read_conte69_dscalar SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_axes.py::test_read_conte69_dtseries SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_axes.py::test_read_conte69_dlabel SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_axes.py::test_read_conte69_ptseries SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_space_separated_affine PASSED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_nifti2 PASSED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_internal SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_and_proxies SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_version SKIPPED (...) [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_readwritedata SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_nibabel_readwritedata SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_cifti2types SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_geometry SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_parcels SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_scalar SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_series SKIPPED [ 0%] nibabel/cifti2/tests/test_cifti2io_header.py::test_read_labels SKIPPED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test__eq__ PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_to_from_fileobj PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_mappingness PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_endianness_ro PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_endian_guess PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_structarr PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_bytes PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_as_byteswapped PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_empty_check PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_get_value_label PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_supported_types PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_general_init PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_header_size PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_checks PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_log_checks PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_no_scaling_fixes PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_logger_error PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_data_dtype PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_shapes PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_read_write_data PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_datatype PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_offset PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_data_shape_zooms_affine PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_default_x_flip PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_orientation PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_str PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_from_header PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_base_affine PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_scaling PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_from_analyze_map PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_from_eg_file PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_data_scaling PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_big_scaling PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_slope_inter PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_nifti_qsform_checks PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_nifti_xform_codes PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_magic_offset_checks PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_qform_sform PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_datatypes PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_quaternion PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_qform PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_sform PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_dim_info PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_slice_times PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_intents PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_set_slice_times PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_xyzt_units PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_recoded_fields PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_empty PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_binblock_is_file PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_float128 PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_freesurfer_large_vector_hack PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_freesurfer_ico7_hack PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_eol_check PASSED [ 1%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_pixdim_checks PASSED [ 2%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_nifti_qfac_checks PASSED [ 2%] nibabel/cifti2/tests/test_cifti2io_header.py::TestCifti2SingleHeader::test_pixdim_log_checks PASSED [ 2%] nibabel/cifti2/tests/test_name.py::test_name_conversion PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_dtseries PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_dscalar PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_dlabel PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_dconn PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_ptseries PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_pscalar PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_pdconn PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_dpconn PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_plabel PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_pconn PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_pconnseries PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_pconnscalar PASSED [ 2%] nibabel/cifti2/tests/test_new_cifti2.py::test_wrong_shape PASSED [ 2%] nibabel/cmdline/tests/test_conform.py::test_default SKIPPED (These t...) [ 2%] nibabel/cmdline/tests/test_conform.py::test_nondefault SKIPPED (Thes...) [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_noop PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_dtype[u1] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_dtype[i2] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_dtype[float32] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_dtype[float] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_dtype[int64] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_by_extension[mgh-MGHImage] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_by_extension[img-Nifti1Pair] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_imgtype[mgh-MGHImage] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_imgtype[img-Nifti1Pair] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_imgtype[nii-Nifti2Image] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_nifti_int_fail PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_aliases[int64-mask-uint8] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_aliases[int64-compat-int32] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_aliases[int64-smallest-uint8] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_aliases[float64-mask-uint8] PASSED [ 2%] nibabel/cmdline/tests/test_convert.py::test_convert_aliases[float64-compat-float32] PASSED [ 2%] nibabel/cmdline/tests/test_parrec2nii.py::test_parrec2nii_sets_qform_sform_code1 PASSED [ 2%] nibabel/cmdline/tests/test_parrec2nii.py::test_parrec2nii_save_load_qform_code PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_parse_slice PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_parse_slice_disallow_step PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_lossless_slice_unknown_axes PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_lossless_slice_scaling PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_lossless_slice_noscaling PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_nib_roi[True] PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_nib_roi[False] PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_nib_roi_bad_slices[args0-Cannot take zero-length slice] PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_nib_roi_bad_slices[args1-Downsampling is not supported] PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_nib_roi_bad_slices[args2-Step entry not permitted] PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_entrypoint PASSED [ 2%] nibabel/cmdline/tests/test_roi.py::test_nib_roi_unknown_axes PASSED [ 2%] nibabel/cmdline/tests/test_stats.py::test_volume PASSED [ 2%] nibabel/cmdline/tests/test_utils.py::test_table2string PASSED [ 2%] nibabel/cmdline/tests/test_utils.py::test_ap PASSED [ 2%] nibabel/cmdline/tests/test_utils.py::test_safe_get PASSED [ 2%] nibabel/cmdline/tests/test_utils.py::test_get_headers_diff PASSED [ 2%] nibabel/cmdline/tests/test_utils.py::test_display_diff PASSED [ 3%] nibabel/cmdline/tests/test_utils.py::test_get_data_diff PASSED [ 3%] nibabel/cmdline/tests/test_utils.py::test_main PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_read_write_files PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_read_write_sio PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_read_example_data PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_itemset_no_segfault_on_readonly PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_write_invalid_dtype PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_flush_rewind PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_dtype_specifiers PASSED [ 3%] nibabel/externals/tests/test_netcdf.py::test_ticket_1720 PASSED [ 3%] nibabel/freesurfer/tests/test_io.py::test_geometry SKIPPED (cannot f...) [ 3%] nibabel/freesurfer/tests/test_io.py::test_quad_geometry SKIPPED (can...) [ 3%] nibabel/freesurfer/tests/test_io.py::test_morph_data SKIPPED (cannot...) [ 3%] nibabel/freesurfer/tests/test_io.py::test_write_morph_data PASSED [ 3%] nibabel/freesurfer/tests/test_io.py::test_annot SKIPPED (cannot find...) [ 3%] nibabel/freesurfer/tests/test_io.py::test_read_write_annot PASSED [ 3%] nibabel/freesurfer/tests/test_io.py::test_write_annot_fill_ctab PASSED [ 3%] nibabel/freesurfer/tests/test_io.py::test_read_annot_old_format PASSED [ 3%] nibabel/freesurfer/tests/test_io.py::test_label SKIPPED (cannot find...) [ 3%] nibabel/freesurfer/tests/test_io.py::test_write_annot_maxstruct PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_read_mgh PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_write_mgh PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_write_noaffine_mgh PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_set_zooms PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_bad_dtype_mgh PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_filename_exts PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_header_updating PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_cosine_order PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_eq PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_header_slope_inter PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_mgh_load_fileobj PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_mgh_affine_default PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_mgh_set_data_shape PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::test_mghheader_default_structarr PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_load_mmap PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_isolation PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_float_affine PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_images PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_default_header PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_data_api PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_data_default PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_data_shape PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_str PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_get_fdata PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_get_data XFAIL [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHImage::test_slicer PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_mappingness PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_endianness_ro PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_binblock_is_file PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_structarr PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_empty_check PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_str PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_get_value_label PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_general_init PASSED [ 3%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test__eq__ PASSED [ 4%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_to_from_fileobj PASSED [ 4%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_endian_guess PASSED [ 4%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_bytes PASSED [ 4%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_as_byteswapped PASSED [ 4%] nibabel/freesurfer/tests/test_mghformat.py::TestMGHHeader::test_checks PASSED [ 4%] nibabel/gifti/tests/test_1.py::test_load_gifti PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_agg_data PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_gifti_image PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_gifti_image_bad_inputs PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[none] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[complex256] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[all] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[binary] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[uint8] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[int16] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[int32] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[float32] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[complex64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[float64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[RGB] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[int8] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[uint16] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[uint32] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[int64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[uint64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[float128] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[complex128] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_image_typing[RGBA] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_empty PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_init PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[none] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[complex256] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[all] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[binary] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[uint8] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[int16] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[int32] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[float32] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[complex64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[float64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[RGB] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[int8] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[uint16] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[uint32] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[int64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[uint64] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[float128] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[complex128] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_dataarray_typing[RGBA] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_labeltable PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_metadata PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_metadata_list_interface PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_gifti_label_rgba PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_print_summary[/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/gifti/tests/data/ascii.gii] PASSED [ 4%] nibabel/gifti/tests/test_gifti.py::test_print_summary[/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/gifti/tests/data/gzipbase64.gii] PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_print_summary[/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/gifti/tests/data/label.gii] PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_print_summary[/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/gifti/tests/data/rh.shape.curv.gii] PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_print_summary[/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/gifti/tests/data/base64bin.gii] PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_print_summary[/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/gifti/tests/data/rh.aparc.annot.gii] PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_gifti_coord PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_gifti_round_trip PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_data_array_round_trip PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_darray_dtype_coercion_failures PASSED [ 5%] nibabel/gifti/tests/test_gifti.py::test_gifti_file_close PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_default_types PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_read_ordering PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_metadata PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_dataarray1 PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_dataarray2 PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_dataarray3 PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_dataarray4 PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_dataarray5 PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_base64_written PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_readwritedata PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_modify_darray PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_write_newmetadata PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_getbyintent PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_labeltable PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_parse_dataarrays PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_parse_with_buffersize PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_dataarray7 PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_parse_with_memmmap PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_parse_with_memmap_fallback PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_external_file_failure_cases PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_compressed PASSED [ 5%] nibabel/gifti/tests/test_parse_gifti_fast.py::test_load_flat_ascii_data PASSED [ 5%] nibabel/nicom/tests/test_ascconv.py::test_ascconv_parse PASSED [ 5%] nibabel/nicom/tests/test_ascconv.py::test_ascconv_w_attrs PASSED [ 5%] nibabel/nicom/tests/test_csareader.py::test_csa_header_read PASSED [ 5%] nibabel/nicom/tests/test_csareader.py::test_csas0 PASSED [ 5%] nibabel/nicom/tests/test_csareader.py::test_csa_len0 PASSED [ 5%] nibabel/nicom/tests/test_csareader.py::test_csa_nitem PASSED [ 5%] nibabel/nicom/tests/test_csareader.py::test_csa_params PASSED [ 5%] nibabel/nicom/tests/test_csareader.py::test_ice_dims PASSED [ 5%] nibabel/nicom/tests/test_csareader.py::test_missing_csa_elem PASSED [ 5%] nibabel/nicom/tests/test_dicomreaders.py::test_read_dwi PASSED [ 5%] nibabel/nicom/tests/test_dicomreaders.py::test_read_dwis PASSED [ 5%] nibabel/nicom/tests/test_dicomreaders.py::test_passing_kwds PASSED [ 5%] nibabel/nicom/tests/test_dicomreaders.py::test_slices_to_series PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_wrappers PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_get_from_wrapper PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_wrapper_from_data PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_wrapper_args_kwds PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_dwi_params PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_q_vector_etc PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_vol_matching PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_slice_indicator PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_orthogonal PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_rotation_matrix PASSED [ 5%] nibabel/nicom/tests/test_dicomwrappers.py::test_use_csa_sign PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::test_assert_parallel PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::test_decimal_rescale PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_affine XPASS [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_data_derived_shape SKIPPED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_data_fake PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_data_real XPASS [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_data_trace SKIPPED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_data_unreadable_private_headers SKIPPED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_image_position PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_iop PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_philips_scale_data PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_scale_data PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_slicethickness_fallback PASSED [ 6%] nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_voxel_sizes PASSED [ 6%] nibabel/nicom/tests/test_dwiparams.py::test_b2q PASSED [ 6%] nibabel/nicom/tests/test_dwiparams.py::test_q2bg PASSED [ 6%] nibabel/nicom/tests/test_structreader.py::test_unpacker PASSED [ 6%] nibabel/nicom/tests/test_utils.py::test_find_private_section_real PASSED [ 6%] nibabel/nicom/tests/test_utils.py::test_find_private_section_fake PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_append PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_copy PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_extend PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_getitem PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_iter PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_operators PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_repr PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_arraysequence_setitem PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_creating_arraysequence_from_arraysequence PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_creating_arraysequence_from_generator PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_creating_arraysequence_from_list PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_creating_empty_arraysequence PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_get_data PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::TestArraySequence::test_save_and_load_arraysequence PASSED [ 6%] nibabel/streamlines/tests/test_array_sequence.py::test_concatenate PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::test_is_supported_detect_format PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_load_complex_file PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_load_empty_file PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_load_simple_file PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_load_unknown_format PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_save_complex_file PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_save_empty_file PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_save_from_generator PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_save_simple_file PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_save_sliced_tractogram PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_save_tractogram_file PASSED [ 6%] nibabel/streamlines/tests/test_streamlines.py::TestLoadSave::test_save_unknown_format PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_empty_file PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_file_with_wrong_information PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_matlab_nan_file PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_multiline_header_file PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_no_header_end_eof_file PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_no_header_end_file PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_no_magic_number_file PASSED [ 6%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_simple_file PASSED [ 7%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_simple_file_in_big_endian PASSED [ 7%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_load_write_file PASSED [ 7%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_str PASSED [ 7%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_write_bigheader_file PASSED [ 7%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_write_empty_file PASSED [ 7%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_write_simple_file PASSED [ 7%] nibabel/streamlines/tests/test_tck.py::TestTCK::test_writeable_data PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestPerArrayDict::test_extend PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestPerArrayDict::test_getitem PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestPerArrayDict::test_per_array_dict_creation PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestPerArraySequenceDict::test_extend PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestPerArraySequenceDict::test_getitem PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestPerArraySequenceDict::test_per_array_sequence_dict_creation PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyDict::test_lazydict_creation PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogramItem::test_creating_tractogram_item PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_creating_invalid_tractogram PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_setting_affine_to_rasmm PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_tractogram_add_new_data PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_tractogram_apply_affine PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_tractogram_copy PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_tractogram_creation PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_tractogram_extend PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_tractogram_getitem PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestTractogram::test_tractogram_to_world PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_lazy_tractogram_apply_affine PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_lazy_tractogram_copy PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_lazy_tractogram_creation PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_lazy_tractogram_extend PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_lazy_tractogram_from_data_func PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_lazy_tractogram_getitem PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_lazy_tractogram_len PASSED [ 7%] nibabel/streamlines/tests/test_tractogram.py::TestLazyTractogram::test_tractogram_to_world PASSED [ 7%] nibabel/streamlines/tests/test_tractogram_file.py::test_subclassing_tractogram_file PASSED [ 7%] nibabel/streamlines/tests/test_tractogram_file.py::test_tractogram_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_header_read_restore PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_complex_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_complex_file_in_big_endian PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_empty_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_file_with_wrong_information PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_simple_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_trk_version_1 PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_write_LPS_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_load_write_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_str PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_tractogram_file_properties PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_write_complex_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_write_empty_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_write_optional_header_fields PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_write_scalars_and_properties_name_too_long PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_write_simple_file PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::TestTRK::test_write_too_many_scalars_and_properties PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::test_encode_names PASSED [ 7%] nibabel/streamlines/tests/test_trk.py::test_decode_names PASSED [ 7%] nibabel/streamlines/tests/test_utils.py::test_get_affine_from_reference PASSED [ 7%] nibabel/tests/test_affines.py::test_apply_affine PASSED [ 8%] nibabel/tests/test_affines.py::test_matrix_vector PASSED [ 8%] nibabel/tests/test_affines.py::test_append_diag PASSED [ 8%] nibabel/tests/test_affines.py::test_dot_reduce PASSED [ 8%] nibabel/tests/test_affines.py::test_voxel_sizes PASSED [ 8%] nibabel/tests/test_affines.py::test_obliquity PASSED [ 8%] nibabel/tests/test_affines.py::test_rescale_affine PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test__eq__ PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_to_from_fileobj PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_mappingness PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_endianness_ro PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_endian_guess PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_binblock_is_file PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_structarr PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_bytes PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_as_byteswapped PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_empty_check PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_get_value_label PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_supported_types PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_general_init PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_header_size PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_empty PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_checks PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_pixdim_checks PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_log_checks PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_pixdim_log_checks PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_no_scaling_fixes PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_logger_error PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_data_dtype PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_shapes PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_read_write_data PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_datatype PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_offset PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_data_shape_zooms_affine PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_default_x_flip PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_from_eg_file PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_orientation PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_str PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_from_header PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_base_affine PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_scaling PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_slope_inter PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeHeader::test_from_analyze_map PASSED [ 8%] nibabel/tests/test_analyze.py::test_best_affine PASSED [ 8%] nibabel/tests/test_analyze.py::test_data_code_error PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_load_mmap PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_isolation PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_float_affine PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_images PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_data_api PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_data_default PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_data_shape PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_str PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_get_fdata PASSED [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_get_data XFAIL [ 8%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_slicer PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_supported_types PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_default_header PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_data_hdr_cache PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_affine_44 PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_dtype_init_arg PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_offset_to_zero PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_big_offset_exts PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_header_updating PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_pickle PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_no_finite_values PASSED [ 9%] nibabel/tests/test_analyze.py::TestAnalyzeImage::test_dtype_to_filename_arg PASSED [ 9%] nibabel/tests/test_analyze.py::test_unsupported PASSED [ 9%] nibabel/tests/test_api_validators.py::TestValidateSomething::test_something PASSED [ 9%] nibabel/tests/test_api_validators.py::TestRunAllTests::test_first PASSED [ 9%] nibabel/tests/test_api_validators.py::TestRunAllTests::test_second PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_init PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_tuplespec PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_nifti1_init PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_proxy_slicing[0-1] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_proxy_slicing[0-2] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_proxy_slicing[0-3] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_proxy_slicing[20-1] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_proxy_slicing[20-2] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_proxy_slicing[20-3] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_proxy_slicing_with_scaling PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_order_override[C] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_order_override[F] PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_deprecated_order_classvar PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_is_proxy PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_reshape_dataobj PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_reshaped_is_proxy PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_get_obj_dtype PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_get_unscaled PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_mmap PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_keep_file_open_true_false_invalid PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_pickle_lock PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_copy PASSED [ 9%] nibabel/tests/test_arrayproxy.py::test_copy_with_indexed_gzip_handle SKIPPED [ 9%] nibabel/tests/test_arraywriters.py::test_arraywriters PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_arraywriter_check_scaling PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_no_scaling PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_scaling_needed PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_special_rt PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_high_int2uint PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_slope_inter_castable PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_calculate_scale PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_resets PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_no_offset_scale PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_with_offset_scale PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_io_scaling PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_input_ranges PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_nan2zero PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_byte_orders PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_writers_roundtrip PASSED [ 9%] nibabel/tests/test_arraywriters.py::test_to_float PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_dumber_writers PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_writer_maker PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_float_int_min_max PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_int_int_min_max PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_int_int_slope PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_float_int_spread PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_rt_bias PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_nan2zero_scaling PASSED [ 10%] nibabel/tests/test_arraywriters.py::test_finite_range_nan PASSED [ 10%] nibabel/tests/test_batteryrunners.py::test_init_basic PASSED [ 10%] nibabel/tests/test_batteryrunners.py::test_init_report PASSED [ 10%] nibabel/tests/test_batteryrunners.py::test_report_strings PASSED [ 10%] nibabel/tests/test_batteryrunners.py::test_logging PASSED [ 10%] nibabel/tests/test_batteryrunners.py::test_checks PASSED [ 10%] nibabel/tests/test_brikhead.py::TestAFNIHeader::test_makehead PASSED [ 10%] nibabel/tests/test_brikhead.py::TestAFNIImage::test_brikheadfile PASSED [ 10%] nibabel/tests/test_brikhead.py::TestAFNIImage::test_load PASSED [ 10%] nibabel/tests/test_brikhead.py::TestAFNIImage::test_array_proxy_slicing PASSED [ 10%] nibabel/tests/test_brikhead.py::TestBadFiles::test_brikheadfile PASSED [ 10%] nibabel/tests/test_brikhead.py::TestBadVars::test_unpack_var PASSED [ 10%] nibabel/tests/test_casting.py::test_shared_range PASSED [ 10%] nibabel/tests/test_casting.py::test_shared_range_inputs PASSED [ 10%] nibabel/tests/test_casting.py::test_casting PASSED [ 10%] nibabel/tests/test_casting.py::test_int_abs PASSED [ 10%] nibabel/tests/test_casting.py::test_floor_log2 PASSED [ 10%] nibabel/tests/test_casting.py::test_able_int_type PASSED [ 10%] nibabel/tests/test_casting.py::test_able_casting PASSED [ 10%] nibabel/tests/test_casting.py::test_best_float PASSED [ 10%] nibabel/tests/test_casting.py::test_longdouble_precision_improved PASSED [ 10%] nibabel/tests/test_casting.py::test_ulp PASSED [ 10%] nibabel/tests/test_data.py::test_datasource PASSED [ 10%] nibabel/tests/test_data.py::test_versioned PASSED [ 10%] nibabel/tests/test_data.py::test__cfg_value PASSED [ 10%] nibabel/tests/test_data.py::test_data_path PASSED [ 10%] nibabel/tests/test_data.py::test_find_data_dir PASSED [ 10%] nibabel/tests/test_data.py::test_make_datasource PASSED [ 10%] nibabel/tests/test_data.py::test_bomber XFAIL [ 10%] nibabel/tests/test_data.py::test_bomber_inspect PASSED [ 10%] nibabel/tests/test_data.py::test_datasource_or_bomber PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_data_interface PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_dtype PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_filenames PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_get_data_deprecated XFAIL [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_header PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_mmap_parameter PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_ndim PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_no_slicing PASSED [ 10%] nibabel/tests/test_dataobj_images.py::TestDataobjAPI::test_shape PASSED [ 10%] nibabel/tests/test_deprecated.py::test_module_proxy PASSED [ 10%] nibabel/tests/test_deprecated.py::test_futurewarning_mixin PASSED [ 10%] nibabel/tests/test_deprecated.py::TestNibabelDeprecator::test_dep_func PASSED [ 10%] nibabel/tests/test_deprecated.py::test_dev_version PASSED [ 10%] nibabel/tests/test_deprecated.py::test_alert_future_error PASSED [ 10%] nibabel/tests/test_deprecator.py::test__ensure_cr PASSED [ 10%] nibabel/tests/test_deprecator.py::test__add_dep_doc PASSED [ 11%] nibabel/tests/test_deprecator.py::TestDeprecatorFunc::test_dep_func PASSED [ 11%] nibabel/tests/test_deprecator.py::TestDeprecatorMaker::test_deprecator_maker PASSED [ 11%] nibabel/tests/test_dft.py::Test_DBclass::test_repr PASSED [ 11%] nibabel/tests/test_dft.py::Test_DBclass::test_cursor_conflict PASSED [ 11%] nibabel/tests/test_dft.py::test_init PASSED [ 11%] nibabel/tests/test_dft.py::test_study PASSED [ 11%] nibabel/tests/test_dft.py::test_series PASSED [ 11%] nibabel/tests/test_dft.py::test_storage_instances PASSED [ 11%] nibabel/tests/test_dft.py::test_png SKIPPED (could not import PIL.Image) [ 11%] nibabel/tests/test_dft.py::test_nifti PASSED [ 11%] nibabel/tests/test_diff.py::test_diff_values_int PASSED [ 11%] nibabel/tests/test_diff.py::test_diff_values_float PASSED [ 11%] nibabel/tests/test_diff.py::test_diff_values_mixed PASSED [ 11%] nibabel/tests/test_diff.py::test_diff_values_array PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_general_init PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test__eq__ PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_to_from_fileobj PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_mappingness PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_endianness_ro PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_endian_guess PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_binblock_is_file PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_structarr PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_bytes PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_as_byteswapped PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_empty_check PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_str PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_header_size PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_empty PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_dtype PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_header_codes PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_update PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatHeader::test_from_eg_file PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatMlist::test_mlist PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatMlist::test_mlist_errors PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatSubHeader::test_subheader PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatSubHeader::test_subheader_size PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_array_proxy PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_array_proxy_slicing PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_data PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_data_regression PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_file PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_float_affine PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_isolation PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_mlist_regression PASSED [ 11%] nibabel/tests/test_ecat.py::TestEcatImage::test_save PASSED [ 11%] nibabel/tests/test_ecat_data.py::TestNegatives::test_load SKIPPED (N...) [ 11%] nibabel/tests/test_ecat_data.py::TestMultiframe::test_load SKIPPED (...) [ 11%] nibabel/tests/test_endiancodes.py::test_native_swapped PASSED [ 11%] nibabel/tests/test_endiancodes.py::test_to_numpy PASSED [ 11%] nibabel/tests/test_environment.py::test_nipy_home PASSED [ 11%] nibabel/tests/test_environment.py::test_user_dir PASSED [ 11%] nibabel/tests/test_environment.py::test_sys_dir PASSED [ 11%] nibabel/tests/test_euler.py::test_basic_euler PASSED [ 11%] nibabel/tests/test_euler.py::test_euler_mat_1 PASSED [ 11%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586--6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586--4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586--3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586--1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586-0.0] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586-1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586-3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586-4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--6.283185307179586-6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469--6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469--4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469--3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469--1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469-0.0] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469-1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469-3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469-4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--4.71238898038469-6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793--6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793--4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793--3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793--1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793-0.0] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793-1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793-3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793-4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--3.141592653589793-6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966--6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966--4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966--3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966--1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966-0.0] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966-1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966-3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966-4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586--1.5707963267948966-6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0--6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0--4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0--3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0--1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0-0.0] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0-1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0-3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0-4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-0.0-6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966--6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966--4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966--3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966--1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966-0.0] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966-1.5707963267948966] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966-3.141592653589793] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966-4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-1.5707963267948966-6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793--6.283185307179586] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793--4.71238898038469] PASSED [ 12%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793--3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793--1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793-0.0] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793-1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793-3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793-4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-3.141592653589793-6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469--6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469--4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469--3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469--1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469-0.0] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469-1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469-3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469-4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-4.71238898038469-6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586--6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586--4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586--3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586--1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586-0.0] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586-1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586-3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586-4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-6.283185307179586-6.283185307179586-6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586--6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586--4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586--3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586--1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586-0.0] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586-1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586-3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586-4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--6.283185307179586-6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469--6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469--4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469--3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469--1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469-0.0] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469-1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469-3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469-4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--4.71238898038469-6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793--6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793--4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793--3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793--1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793-0.0] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793-1.5707963267948966] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793-3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793-4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--3.141592653589793-6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966--6.283185307179586] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966--4.71238898038469] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966--3.141592653589793] PASSED [ 13%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966--1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966-0.0] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966-1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966-3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966-4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469--1.5707963267948966-6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0--6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0--4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0--3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0--1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0-0.0] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0-1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0-3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0-4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-0.0-6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966--6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966--4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966--3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966--1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966-0.0] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966-1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966-3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966-4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-1.5707963267948966-6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793--6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793--4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793--3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793--1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793-0.0] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793-1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793-3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793-4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-3.141592653589793-6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469--6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469--4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469--3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469--1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469-0.0] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469-1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469-3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469-4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-4.71238898038469-6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586--6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586--4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586--3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586--1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586-0.0] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586-1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586-3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586-4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-4.71238898038469-6.283185307179586-6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586--6.283185307179586] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586--4.71238898038469] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586--3.141592653589793] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586--1.5707963267948966] PASSED [ 14%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586-0.0] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586-1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586-3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586-4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--6.283185307179586-6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469--6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469--4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469--3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469--1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469-0.0] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469-1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469-3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469-4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--4.71238898038469-6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793--6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793--4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793--3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793--1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793-0.0] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793-1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793-3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793-4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--3.141592653589793-6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966--6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966--4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966--3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966--1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966-0.0] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966-1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966-3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966-4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793--1.5707963267948966-6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0--6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0--4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0--3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0--1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0-0.0] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0-1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0-3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0-4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-0.0-6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966--6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966--4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966--3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966--1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966-0.0] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966-1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966-3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966-4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-1.5707963267948966-6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793--6.283185307179586] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793--4.71238898038469] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793--3.141592653589793] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793--1.5707963267948966] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793-0.0] PASSED [ 15%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793-1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793-3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793-4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-3.141592653589793-6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469--6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469--4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469--3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469--1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469-0.0] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469-1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469-3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469-4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-4.71238898038469-6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586--6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586--4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586--3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586--1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586-0.0] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586-1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586-3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586-4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-3.141592653589793-6.283185307179586-6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586--6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586--4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586--3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586--1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586-0.0] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586-1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586-3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586-4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--6.283185307179586-6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469--6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469--4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469--3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469--1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469-0.0] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469-1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469-3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469-4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--4.71238898038469-6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793--6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793--4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793--3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793--1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793-0.0] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793-1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793-3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793-4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--3.141592653589793-6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966--6.283185307179586] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966--4.71238898038469] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966--3.141592653589793] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966--1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966-0.0] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966-1.5707963267948966] PASSED [ 16%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966-3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966-4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966--1.5707963267948966-6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0--6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0--4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0--3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0--1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0-0.0] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0-1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0-3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0-4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-0.0-6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966--6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966--4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966--3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966--1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966-0.0] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966-1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966-3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966-4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-1.5707963267948966-6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793--6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793--4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793--3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793--1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793-0.0] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793-1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793-3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793-4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-3.141592653589793-6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469--6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469--4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469--3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469--1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469-0.0] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469-1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469-3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469-4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-4.71238898038469-6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586--6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586--4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586--3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586--1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586-0.0] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586-1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586-3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586-4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[-1.5707963267948966-6.283185307179586-6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586--6.283185307179586] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586--4.71238898038469] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586--3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586--1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586-0.0] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586-1.5707963267948966] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586-3.141592653589793] PASSED [ 17%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586-4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--6.283185307179586-6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469--6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469--4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469--3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469--1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469-0.0] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469-1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469-3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469-4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--4.71238898038469-6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793--6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793--4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793--3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793--1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793-0.0] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793-1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793-3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793-4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--3.141592653589793-6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966--6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966--4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966--3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966--1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966-0.0] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966-1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966-3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966-4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0--1.5707963267948966-6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0--6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0--4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0--3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0--1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0-0.0] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0-1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0-3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0-4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-0.0-6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966--6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966--4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966--3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966--1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966-0.0] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966-1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966-3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966-4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-1.5707963267948966-6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793--6.283185307179586] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793--4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793--3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793--1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793-0.0] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793-1.5707963267948966] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793-3.141592653589793] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793-4.71238898038469] PASSED [ 18%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-3.141592653589793-6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469--6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469--4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469--3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469--1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469-0.0] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469-1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469-3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469-4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-4.71238898038469-6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586--6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586--4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586--3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586--1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586-0.0] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586-1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586-3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586-4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[0.0-6.283185307179586-6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586--6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586--4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586--3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586--1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586-0.0] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586-1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586-3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586-4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--6.283185307179586-6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469--6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469--4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469--3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469--1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469-0.0] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469-1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469-3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469-4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--4.71238898038469-6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793--6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793--4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793--3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793--1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793-0.0] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793-1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793-3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793-4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--3.141592653589793-6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966--6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966--4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966--3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966--1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966-0.0] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966-1.5707963267948966] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966-3.141592653589793] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966-4.71238898038469] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966--1.5707963267948966-6.283185307179586] PASSED [ 19%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0--6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0--4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0--3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0--1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0-0.0] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0-1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0-3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0-4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-0.0-6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966--6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966--4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966--3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966--1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966-0.0] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966-1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966-3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966-4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-1.5707963267948966-6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793--6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793--4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793--3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793--1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793-0.0] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793-1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793-3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793-4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-3.141592653589793-6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469--6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469--4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469--3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469--1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469-0.0] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469-1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469-3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469-4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-4.71238898038469-6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586--6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586--4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586--3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586--1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586-0.0] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586-1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586-3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586-4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[1.5707963267948966-6.283185307179586-6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586--6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586--4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586--3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586--1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586-0.0] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586-1.5707963267948966] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586-3.141592653589793] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586-4.71238898038469] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--6.283185307179586-6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469--6.283185307179586] PASSED [ 20%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469--4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469--3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469--1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469-0.0] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469-1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469-3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469-4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--4.71238898038469-6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793--6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793--4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793--3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793--1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793-0.0] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793-1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793-3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793-4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--3.141592653589793-6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966--6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966--4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966--3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966--1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966-0.0] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966-1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966-3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966-4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793--1.5707963267948966-6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0--6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0--4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0--3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0--1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0-0.0] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0-1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0-3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0-4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-0.0-6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966--6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966--4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966--3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966--1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966-0.0] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966-1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966-3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966-4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-1.5707963267948966-6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793--6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793--4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793--3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793--1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793-0.0] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793-1.5707963267948966] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793-3.141592653589793] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793-4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-3.141592653589793-6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469--6.283185307179586] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469--4.71238898038469] PASSED [ 21%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469--3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469--1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469-0.0] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469-1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469-3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469-4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-4.71238898038469-6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586--6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586--4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586--3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586--1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586-0.0] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586-1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586-3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586-4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[3.141592653589793-6.283185307179586-6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586--6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586--4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586--3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586--1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586-0.0] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586-1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586-3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586-4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--6.283185307179586-6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469--6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469--4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469--3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469--1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469-0.0] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469-1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469-3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469-4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--4.71238898038469-6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793--6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793--4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793--3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793--1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793-0.0] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793-1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793-3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793-4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--3.141592653589793-6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966--6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966--4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966--3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966--1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966-0.0] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966-1.5707963267948966] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966-3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966-4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469--1.5707963267948966-6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0--6.283185307179586] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0--4.71238898038469] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0--3.141592653589793] PASSED [ 22%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0--1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0-0.0] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0-1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0-3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0-4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-0.0-6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966--6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966--4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966--3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966--1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966-0.0] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966-1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966-3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966-4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-1.5707963267948966-6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793--6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793--4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793--3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793--1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793-0.0] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793-1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793-3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793-4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-3.141592653589793-6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469--6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469--4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469--3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469--1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469-0.0] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469-1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469-3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469-4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-4.71238898038469-6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586--6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586--4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586--3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586--1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586-0.0] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586-1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586-3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586-4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[4.71238898038469-6.283185307179586-6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586--6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586--4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586--3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586--1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586-0.0] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586-1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586-3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586-4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--6.283185307179586-6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469--6.283185307179586] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469--4.71238898038469] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469--3.141592653589793] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469--1.5707963267948966] PASSED [ 23%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469-0.0] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469-1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469-3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469-4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--4.71238898038469-6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793--6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793--4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793--3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793--1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793-0.0] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793-1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793-3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793-4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--3.141592653589793-6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966--6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966--4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966--3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966--1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966-0.0] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966-1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966-3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966-4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586--1.5707963267948966-6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0--6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0--4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0--3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0--1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0-0.0] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0-1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0-3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0-4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-0.0-6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966--6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966--4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966--3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966--1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966-0.0] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966-1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966-3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966-4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-1.5707963267948966-6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793--6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793--4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793--3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793--1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793-0.0] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793-1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793-3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793-4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-3.141592653589793-6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469--6.283185307179586] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469--4.71238898038469] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469--3.141592653589793] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469--1.5707963267948966] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469-0.0] PASSED [ 24%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469-1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469-3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469-4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-4.71238898038469-6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586--6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586--4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586--3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586--1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586-0.0] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586-1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586-3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586-4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_mat_2[6.283185307179586-6.283185307179586-6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_euler_instability PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586--6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586--4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586--3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586--1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586-0.0] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586-1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586-3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586-4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--6.283185307179586-6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469--6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469--4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469--3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469--1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469-0.0] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469-1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469-3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469-4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--4.71238898038469-6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793--6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793--4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793--3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793--1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793-0.0] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793-1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793-3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793-4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--3.141592653589793-6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966--6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966--4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966--3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966--1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966-0.0] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966-1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966-3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966-4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586--1.5707963267948966-6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0--6.283185307179586] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0--4.71238898038469] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0--3.141592653589793] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0--1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0-0.0] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0-1.5707963267948966] PASSED [ 25%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0-3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0-4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-0.0-6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966--6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966--4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966--3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966--1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966-0.0] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966-1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966-3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966-4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-1.5707963267948966-6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793--6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793--4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793--3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793--1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793-0.0] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793-1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793-3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793-4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-3.141592653589793-6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469--6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469--4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469--3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469--1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469-0.0] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469-1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469-3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469-4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-4.71238898038469-6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586--6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586--4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586--3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586--1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586-0.0] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586-1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586-3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586-4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-6.283185307179586-6.283185307179586-6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586--6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586--4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586--3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586--1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586-0.0] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586-1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586-3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586-4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--6.283185307179586-6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469--6.283185307179586] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469--4.71238898038469] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469--3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469--1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469-0.0] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469-1.5707963267948966] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469-3.141592653589793] PASSED [ 26%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469-4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--4.71238898038469-6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793--6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793--4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793--3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793--1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793-0.0] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793-1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793-3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793-4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--3.141592653589793-6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966--6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966--4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966--3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966--1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966-0.0] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966-1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966-3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966-4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469--1.5707963267948966-6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0--6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0--4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0--3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0--1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0-0.0] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0-1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0-3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0-4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-0.0-6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966--6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966--4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966--3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966--1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966-0.0] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966-1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966-3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966-4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-1.5707963267948966-6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793--6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793--4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793--3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793--1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793-0.0] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793-1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793-3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793-4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-3.141592653589793-6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469--6.283185307179586] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469--4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469--3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469--1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469-0.0] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469-1.5707963267948966] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469-3.141592653589793] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469-4.71238898038469] PASSED [ 27%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-4.71238898038469-6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586--6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586--4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586--3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586--1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586-0.0] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586-1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586-3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586-4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-4.71238898038469-6.283185307179586-6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586--6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586--4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586--3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586--1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586-0.0] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586-1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586-3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586-4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--6.283185307179586-6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469--6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469--4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469--3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469--1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469-0.0] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469-1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469-3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469-4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--4.71238898038469-6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793--6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793--4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793--3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793--1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793-0.0] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793-1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793-3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793-4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--3.141592653589793-6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966--6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966--4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966--3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966--1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966-0.0] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966-1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966-3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966-4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793--1.5707963267948966-6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0--6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0--4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0--3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0--1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0-0.0] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0-1.5707963267948966] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0-3.141592653589793] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0-4.71238898038469] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-0.0-6.283185307179586] PASSED [ 28%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966--6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966--4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966--3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966--1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966-0.0] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966-1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966-3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966-4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-1.5707963267948966-6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793--6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793--4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793--3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793--1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793-0.0] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793-1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793-3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793-4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-3.141592653589793-6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469--6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469--4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469--3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469--1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469-0.0] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469-1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469-3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469-4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-4.71238898038469-6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586--6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586--4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586--3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586--1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586-0.0] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586-1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586-3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586-4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-3.141592653589793-6.283185307179586-6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586--6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586--4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586--3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586--1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586-0.0] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586-1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586-3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586-4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--6.283185307179586-6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469--6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469--4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469--3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469--1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469-0.0] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469-1.5707963267948966] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469-3.141592653589793] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469-4.71238898038469] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--4.71238898038469-6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793--6.283185307179586] PASSED [ 29%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793--4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793--3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793--1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793-0.0] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793-1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793-3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793-4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--3.141592653589793-6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966--6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966--4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966--3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966--1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966-0.0] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966-1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966-3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966-4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966--1.5707963267948966-6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0--6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0--4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0--3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0--1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0-0.0] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0-1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0-3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0-4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-0.0-6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966--6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966--4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966--3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966--1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966-0.0] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966-1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966-3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966-4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-1.5707963267948966-6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793--6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793--4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793--3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793--1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793-0.0] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793-1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793-3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793-4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-3.141592653589793-6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469--6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469--4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469--3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469--1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469-0.0] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469-1.5707963267948966] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469-3.141592653589793] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469-4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-4.71238898038469-6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586--6.283185307179586] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586--4.71238898038469] PASSED [ 30%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586--3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586--1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586-0.0] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586-1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586-3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586-4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[-1.5707963267948966-6.283185307179586-6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586--6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586--4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586--3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586--1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586-0.0] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586-1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586-3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586-4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--6.283185307179586-6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469--6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469--4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469--3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469--1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469-0.0] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469-1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469-3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469-4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--4.71238898038469-6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793--6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793--4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793--3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793--1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793-0.0] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793-1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793-3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793-4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--3.141592653589793-6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966--6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966--4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966--3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966--1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966-0.0] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966-1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966-3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966-4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0--1.5707963267948966-6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0--6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0--4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0--3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0--1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0-0.0] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0-1.5707963267948966] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0-3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0-4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-0.0-6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966--6.283185307179586] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966--4.71238898038469] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966--3.141592653589793] PASSED [ 31%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966--1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966-0.0] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966-1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966-3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966-4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-1.5707963267948966-6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793--6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793--4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793--3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793--1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793-0.0] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793-1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793-3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793-4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-3.141592653589793-6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469--6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469--4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469--3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469--1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469-0.0] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469-1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469-3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469-4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-4.71238898038469-6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586--6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586--4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586--3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586--1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586-0.0] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586-1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586-3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586-4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[0.0-6.283185307179586-6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586--6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586--4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586--3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586--1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586-0.0] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586-1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586-3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586-4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--6.283185307179586-6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469--6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469--4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469--3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469--1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469-0.0] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469-1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469-3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469-4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--4.71238898038469-6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793--6.283185307179586] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793--4.71238898038469] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793--3.141592653589793] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793--1.5707963267948966] PASSED [ 32%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793-0.0] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793-1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793-3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793-4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--3.141592653589793-6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966--6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966--4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966--3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966--1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966-0.0] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966-1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966-3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966-4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966--1.5707963267948966-6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0--6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0--4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0--3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0--1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0-0.0] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0-1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0-3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0-4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-0.0-6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966--6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966--4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966--3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966--1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966-0.0] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966-1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966-3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966-4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-1.5707963267948966-6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793--6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793--4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793--3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793--1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793-0.0] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793-1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793-3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793-4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-3.141592653589793-6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469--6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469--4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469--3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469--1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469-0.0] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469-1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469-3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469-4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-4.71238898038469-6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586--6.283185307179586] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586--4.71238898038469] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586--3.141592653589793] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586--1.5707963267948966] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586-0.0] PASSED [ 33%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586-1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586-3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586-4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[1.5707963267948966-6.283185307179586-6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586--6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586--4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586--3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586--1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586-0.0] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586-1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586-3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586-4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--6.283185307179586-6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469--6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469--4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469--3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469--1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469-0.0] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469-1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469-3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469-4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--4.71238898038469-6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793--6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793--4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793--3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793--1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793-0.0] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793-1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793-3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793-4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--3.141592653589793-6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966--6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966--4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966--3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966--1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966-0.0] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966-1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966-3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966-4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793--1.5707963267948966-6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0--6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0--4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0--3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0--1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0-0.0] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0-1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0-3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0-4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-0.0-6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966--6.283185307179586] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966--4.71238898038469] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966--3.141592653589793] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966--1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966-0.0] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966-1.5707963267948966] PASSED [ 34%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966-3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966-4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-1.5707963267948966-6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793--6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793--4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793--3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793--1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793-0.0] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793-1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793-3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793-4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-3.141592653589793-6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469--6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469--4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469--3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469--1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469-0.0] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469-1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469-3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469-4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-4.71238898038469-6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586--6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586--4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586--3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586--1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586-0.0] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586-1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586-3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586-4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[3.141592653589793-6.283185307179586-6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586--6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586--4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586--3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586--1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586-0.0] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586-1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586-3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586-4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--6.283185307179586-6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469--6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469--4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469--3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469--1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469-0.0] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469-1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469-3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469-4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--4.71238898038469-6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793--6.283185307179586] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793--4.71238898038469] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793--3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793--1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793-0.0] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793-1.5707963267948966] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793-3.141592653589793] PASSED [ 35%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793-4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--3.141592653589793-6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966--6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966--4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966--3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966--1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966-0.0] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966-1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966-3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966-4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469--1.5707963267948966-6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0--6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0--4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0--3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0--1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0-0.0] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0-1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0-3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0-4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-0.0-6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966--6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966--4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966--3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966--1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966-0.0] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966-1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966-3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966-4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-1.5707963267948966-6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793--6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793--4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793--3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793--1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793-0.0] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793-1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793-3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793-4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-3.141592653589793-6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469--6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469--4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469--3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469--1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469-0.0] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469-1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469-3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469-4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-4.71238898038469-6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586--6.283185307179586] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586--4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586--3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586--1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586-0.0] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586-1.5707963267948966] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586-3.141592653589793] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586-4.71238898038469] PASSED [ 36%] nibabel/tests/test_euler.py::test_quats[4.71238898038469-6.283185307179586-6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586--6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586--4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586--3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586--1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586-0.0] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586-1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586-3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586-4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--6.283185307179586-6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469--6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469--4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469--3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469--1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469-0.0] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469-1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469-3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469-4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--4.71238898038469-6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793--6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793--4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793--3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793--1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793-0.0] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793-1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793-3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793-4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--3.141592653589793-6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966--6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966--4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966--3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966--1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966-0.0] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966-1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966-3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966-4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586--1.5707963267948966-6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0--6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0--4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0--3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0--1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0-0.0] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0-1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0-3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0-4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-0.0-6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966--6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966--4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966--3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966--1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966-0.0] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966-1.5707963267948966] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966-3.141592653589793] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966-4.71238898038469] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-1.5707963267948966-6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793--6.283185307179586] PASSED [ 37%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793--4.71238898038469] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793--3.141592653589793] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793--1.5707963267948966] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793-0.0] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793-1.5707963267948966] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793-3.141592653589793] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793-4.71238898038469] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-3.141592653589793-6.283185307179586] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469--6.283185307179586] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469--4.71238898038469] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469--3.141592653589793] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469--1.5707963267948966] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469-0.0] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469-1.5707963267948966] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469-3.141592653589793] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469-4.71238898038469] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-4.71238898038469-6.283185307179586] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586--6.283185307179586] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586--4.71238898038469] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586--3.141592653589793] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586--1.5707963267948966] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586-0.0] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586-1.5707963267948966] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586-3.141592653589793] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586-4.71238898038469] PASSED [ 38%] nibabel/tests/test_euler.py::test_quats[6.283185307179586-6.283185307179586-6.283185307179586] PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestFBImageAPI::test_filenames PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestFBImageAPI::test_get_data_deprecated XPASS [ 38%] nibabel/tests/test_filebasedimages.py::TestFBImageAPI::test_header PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestFBImageAPI::test_no_slicing PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_file_stream_equivalence PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_filenames PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_from_file_url XFAIL [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_from_url PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_get_data_deprecated XPASS [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_header PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_no_slicing PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_to_from_bytes PASSED [ 38%] nibabel/tests/test_filebasedimages.py::TestSerializableImageAPI::test_to_from_stream PASSED [ 38%] nibabel/tests/test_filebasedimages.py::test_filebased_header PASSED [ 38%] nibabel/tests/test_filebasedimages.py::test_multifile_stream_failure PASSED [ 38%] nibabel/tests/test_filehandles.py::test_multiload SKIPPED (It would ...) [ 38%] nibabel/tests/test_fileholders.py::test_init PASSED [ 38%] nibabel/tests/test_fileholders.py::test_same_file_as PASSED [ 38%] nibabel/tests/test_fileholders.py::test_file_like PASSED [ 38%] nibabel/tests/test_filename_parser.py::test_filenames PASSED [ 38%] nibabel/tests/test_filename_parser.py::test_parse_filename PASSED [ 38%] nibabel/tests/test_filename_parser.py::test_splitext_addext PASSED [ 38%] nibabel/tests/test_filename_parser.py::test__stringify_path PASSED [ 38%] nibabel/tests/test_files_interface.py::test_files_spatialimages PASSED [ 38%] nibabel/tests/test_files_interface.py::test_files_interface PASSED [ 38%] nibabel/tests/test_files_interface.py::test_round_trip_spatialimages FAILED [ 38%] nibabel/tests/test_fileslice.py::test_is_fancy PASSED [ 38%] nibabel/tests/test_fileslice.py::test_canonical_slicers PASSED [ 38%] nibabel/tests/test_fileslice.py::test_slice2outax PASSED [ 38%] nibabel/tests/test_fileslice.py::test_slice2len PASSED [ 39%] nibabel/tests/test_fileslice.py::test_fill_slicer PASSED [ 39%] nibabel/tests/test_fileslice.py::test__positive_slice PASSED [ 39%] nibabel/tests/test_fileslice.py::test_threshold_heuristic PASSED [ 39%] nibabel/tests/test_fileslice.py::test_optimize_slicer PASSED [ 39%] nibabel/tests/test_fileslice.py::test_optimize_read_slicers PASSED [ 39%] nibabel/tests/test_fileslice.py::test_slicers2segments PASSED [ 39%] nibabel/tests/test_fileslice.py::test_calc_slicedefs PASSED [ 39%] nibabel/tests/test_fileslice.py::test_predict_shape PASSED [ 39%] nibabel/tests/test_fileslice.py::test_strided_scalar PASSED [ 39%] nibabel/tests/test_fileslice.py::test_read_segments PASSED [ 39%] nibabel/tests/test_fileslice.py::test_read_segments_lock PASSED [ 39%] nibabel/tests/test_fileslice.py::test_fileslice PASSED [ 39%] nibabel/tests/test_fileslice.py::test_fileslice_dtype PASSED [ 39%] nibabel/tests/test_fileslice.py::test_fileslice_errors PASSED [ 39%] nibabel/tests/test_fileslice.py::test_fileslice_heuristic PASSED [ 39%] nibabel/tests/test_fileutils.py::test_read_zt_byte_strings PASSED [ 39%] nibabel/tests/test_floating.py::test_type_info PASSED [ 39%] nibabel/tests/test_floating.py::test_nmant PASSED [ 39%] nibabel/tests/test_floating.py::test_check_nmant_nexp PASSED [ 39%] nibabel/tests/test_floating.py::test_int_longdouble_np_regression PASSED [ 39%] nibabel/tests/test_floating.py::test_int_np_regression PASSED [ 39%] nibabel/tests/test_floating.py::test_floor_exact_16 PASSED [ 39%] nibabel/tests/test_floating.py::test_floor_exact_64 PASSED [ 39%] nibabel/tests/test_floating.py::test_floor_exact PASSED [ 39%] nibabel/tests/test_floating.py::test_usable_binary128 PASSED [ 39%] nibabel/tests/test_funcs.py::test_concat PASSED [ 39%] nibabel/tests/test_funcs.py::test_closest_canonical PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_affine PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_data_interface PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_dtype PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_filenames SKIPPED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_get_data_deprecated XFAIL [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_header PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_header_shape PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_mmap_parameter PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_ndim PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_no_slicing PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_path_maybe_image PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpatialImageAPI::test_shape PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_affine PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_data_interface PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_dtype PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_filenames PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_get_data_deprecated XFAIL [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_header PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_header_shape PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_init_dtype_override PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_mmap_parameter PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_ndim PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_no_slicing PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_path_maybe_image PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_shape PASSED [ 39%] nibabel/tests/test_image_api.py::TestAnalyzeAPI::test_to_file_dtype_override PASSED [ 39%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_affine FAILED [ 39%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_data_interface FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_dtype FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_filenames FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_get_data_deprecated XFAIL [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_header FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_header_shape FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_init_dtype_override FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_mmap_parameter FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_ndim FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_no_slicing FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_path_maybe_image PASSED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_shape FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_to_file_dtype_override FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_affine FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_data_interface FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_dtype FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_filenames FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_get_data_deprecated XFAIL [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_header FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_header_shape FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_init_dtype_override FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_mmap_parameter FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_ndim FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_no_slicing FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_path_maybe_image PASSED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_shape FAILED [ 40%] nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_to_file_dtype_override FAILED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_affine PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_data_interface PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_dtype PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_filenames PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_get_data_deprecated XFAIL [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_header PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_header_shape PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_init_dtype_override PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_mmap_parameter PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_ndim PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_no_slicing PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_path_maybe_image PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_shape PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1PairAPI::test_to_file_dtype_override PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_affine PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_data_interface PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_dtype PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_file_stream_equivalence PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_filenames PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_from_file_url XFAIL [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_from_url PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_get_data_deprecated XFAIL [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_header PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_header_shape PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_init_dtype_override PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_mmap_parameter PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_ndim PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_no_slicing PASSED [ 40%] nibabel/tests/test_image_api.py::TestNifti1API::test_path_maybe_image PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti1API::test_shape PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti1API::test_to_file_dtype_override PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti1API::test_to_from_bytes PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti1API::test_to_from_stream PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_affine PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_data_interface PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_dtype PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_filenames PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_get_data_deprecated XFAIL [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_header PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_header_shape PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_init_dtype_override PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_mmap_parameter PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_ndim PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_no_slicing PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_path_maybe_image PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_shape PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2PairAPI::test_to_file_dtype_override PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_affine PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_data_interface PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_dtype PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_file_stream_equivalence PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_filenames PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_from_file_url XFAIL [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_from_url PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_get_data_deprecated XFAIL [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_header PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_header_shape PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_init_dtype_override PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_mmap_parameter PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_ndim PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_no_slicing PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_path_maybe_image PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_shape PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_to_file_dtype_override PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_to_from_bytes PASSED [ 41%] nibabel/tests/test_image_api.py::TestNifti2API::test_to_from_stream PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_affine PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_data_interface PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_dtype PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_filenames SKIPPED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_get_data_deprecated XFAIL [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_header PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_header_shape PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_mmap_parameter PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_ndim PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_no_slicing PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_path_maybe_image PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc1API::test_shape PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc2API::test_affine PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc2API::test_data_interface PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc2API::test_dtype PASSED [ 41%] nibabel/tests/test_image_api.py::TestMinc2API::test_filenames SKIPPED [ 41%] nibabel/tests/test_image_api.py::TestMinc2API::test_get_data_deprecated XFAIL [ 41%] nibabel/tests/test_image_api.py::TestMinc2API::test_header PASSED [ 42%] nibabel/tests/test_image_api.py::TestMinc2API::test_header_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestMinc2API::test_mmap_parameter PASSED [ 42%] nibabel/tests/test_image_api.py::TestMinc2API::test_ndim PASSED [ 42%] nibabel/tests/test_image_api.py::TestMinc2API::test_no_slicing PASSED [ 42%] nibabel/tests/test_image_api.py::TestMinc2API::test_path_maybe_image PASSED [ 42%] nibabel/tests/test_image_api.py::TestMinc2API::test_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_affine PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_data_interface PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_dtype PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_filenames SKIPPED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_get_data_deprecated XFAIL [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_header PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_header_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_mmap_parameter PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_ndim PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_no_slicing PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_path_maybe_image PASSED [ 42%] nibabel/tests/test_image_api.py::TestPARRECAPI::test_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_affine PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_data_interface PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_dtype PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_file_stream_equivalence PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_filenames PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_from_file_url XFAIL [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_from_url PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_get_data_deprecated XFAIL [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_header PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_header_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_mmap_parameter PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_ndim PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_no_slicing PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_path_maybe_image PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_to_from_bytes PASSED [ 42%] nibabel/tests/test_image_api.py::TestMGHAPI::test_to_from_stream PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_affine PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_data_interface PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_dtype PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_file_stream_equivalence PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_filenames PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_from_file_url XPASS [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_from_url PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_get_data_deprecated XPASS [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_header PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_header_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_mmap_parameter PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_ndim PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_no_slicing PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_path_maybe_image PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_shape PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_to_from_bytes PASSED [ 42%] nibabel/tests/test_image_api.py::TestGiftiAPI::test_to_from_stream PASSED [ 42%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_affine PASSED [ 42%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_data_interface PASSED [ 42%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_dtype PASSED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_filenames SKIPPED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_get_data_deprecated XFAIL [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_header PASSED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_header_shape PASSED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_mmap_parameter PASSED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_ndim PASSED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_no_slicing PASSED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_path_maybe_image PASSED [ 43%] nibabel/tests/test_image_api.py::TestAFNIAPI::test_shape PASSED [ 43%] nibabel/tests/test_image_load_save.py::test_conversion_spatialimages PASSED [ 43%] nibabel/tests/test_image_load_save.py::test_save_load_endian PASSED [ 43%] nibabel/tests/test_image_load_save.py::test_save_load FAILED [ 43%] nibabel/tests/test_image_load_save.py::test_two_to_one PASSED [ 43%] nibabel/tests/test_image_load_save.py::test_negative_load_save PASSED [ 43%] nibabel/tests/test_image_load_save.py::test_filename_save FAILED [ 43%] nibabel/tests/test_image_load_save.py::test_guessed_image_type XFAIL [ 43%] nibabel/tests/test_image_load_save.py::test_fail_save PASSED [ 43%] nibabel/tests/test_image_types.py::test_sniff_and_guessed_image_type PASSED [ 43%] nibabel/tests/test_image_types.py::test_sniff_and_guessed_image_type_randomized PASSED [ 43%] nibabel/tests/test_imageclasses.py::test_spatial_axes_first PASSED [ 43%] nibabel/tests/test_imageglobals.py::test_errorlevel PASSED [ 43%] nibabel/tests/test_imagestats.py::test_mask_volume PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-True--2-v_args0] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-True--1-v_args1] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-True-0-v_args2] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-True-1-v_args3] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-True-2-v_args4] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-False--2-v_args0] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-False--1-v_args1] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-False-0-v_args2] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-False-1-v_args3] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[True-False-2-v_args4] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-True--2-v_args0] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-True--1-v_args1] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-True-0-v_args2] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-True-1-v_args3] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-True-2-v_args4] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-False--2-v_args0] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-False--1-v_args1] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-False-0-v_args2] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-False-1-v_args3] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test[False-False-2-v_args4] PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_test_errors PASSED [ 43%] nibabel/tests/test_init.py::test_nibabel_bench PASSED [ 43%] nibabel/tests/test_loadsave.py::test_read_img_data XFAIL [ 43%] nibabel/tests/test_loadsave.py::test_file_not_found PASSED [ 43%] nibabel/tests/test_loadsave.py::test_load_empty_image PASSED [ 43%] nibabel/tests/test_loadsave.py::test_load_bad_compressed_extension[.gz] PASSED [ 43%] nibabel/tests/test_loadsave.py::test_load_bad_compressed_extension[.bz2] PASSED [ 43%] nibabel/tests/test_loadsave.py::test_load_bad_compressed_extension[.zst] SKIPPED [ 43%] nibabel/tests/test_loadsave.py::test_load_good_extension_with_bad_data[.gz] PASSED [ 43%] nibabel/tests/test_loadsave.py::test_load_good_extension_with_bad_data[.bz2] PASSED [ 43%] nibabel/tests/test_loadsave.py::test_load_good_extension_with_bad_data[.zst] SKIPPED [ 43%] nibabel/tests/test_loadsave.py::test_signature_matches_extension PASSED [ 43%] nibabel/tests/test_loadsave.py::test_read_img_data_nifti XFAIL [ 44%] nibabel/tests/test_minc1.py::TestMinc1File::test_mincfile PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1File::test_mincfile_slicing PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1File::test_load PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1File::test_array_proxy_slicing PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1File::test_compressed PASSED [ 44%] nibabel/tests/test_minc1.py::test_header_data_io PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_isolation PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_float_affine PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_images PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_default_header PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_data_api PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_data_default PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_data_shape PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_str PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_get_fdata PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_get_data XFAIL [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_slicer PASSED [ 44%] nibabel/tests/test_minc1.py::TestMinc1Image::test_data_to_from_fileobj PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2File::test_mincfile PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2File::test_mincfile_slicing PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2File::test_load PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2File::test_array_proxy_slicing PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_isolation PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_float_affine PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_images PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_default_header PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_data_api PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_data_default PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_data_shape PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_str PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_get_fdata PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_get_data XFAIL [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_slicer PASSED [ 44%] nibabel/tests/test_minc2.py::TestMinc2Image::test_data_to_from_fileobj PASSED [ 44%] nibabel/tests/test_minc2.py::test_bad_diminfo PASSED [ 44%] nibabel/tests/test_minc2_data.py::TestEPIFrame::test_load SKIPPED (N...) [ 44%] nibabel/tests/test_minc2_data.py::TestB0::test_load SKIPPED (Need fi...) [ 44%] nibabel/tests/test_minc2_data.py::TestFA::test_load SKIPPED (Need fi...) [ 44%] nibabel/tests/test_minc2_data.py::TestGado::test_load SKIPPED (Need ...) [ 44%] nibabel/tests/test_minc2_data.py::TestT1::test_load SKIPPED (Need fi...) [ 44%] nibabel/tests/test_minc2_data.py::TestPD::test_load SKIPPED (Need fi...) [ 44%] nibabel/tests/test_minc2_data.py::TestMask::test_load SKIPPED (Need ...) [ 44%] nibabel/tests/test_mriutils.py::test_calculate_dwell_time PASSED [ 44%] nibabel/tests/test_nibabel_data.py::test_get_nibabel_data PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test__eq__ PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_to_from_fileobj PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_mappingness PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_endianness_ro PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_endian_guess PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_binblock_is_file PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_structarr PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_bytes PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_as_byteswapped PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_empty_check PASSED [ 44%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_get_value_label PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_supported_types PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_general_init PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_header_size PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_checks PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_pixdim_checks PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_log_checks PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_pixdim_log_checks PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_no_scaling_fixes PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_logger_error PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_data_dtype PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_shapes PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_read_write_data PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_datatype PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_offset PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_data_shape_zooms_affine PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_default_x_flip PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_orientation PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_str PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_from_header PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_base_affine PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_scaling PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_from_analyze_map PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_empty PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_from_eg_file PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_data_scaling PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_big_scaling PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_slope_inter PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_nifti_qfac_checks PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_nifti_qsform_checks PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_nifti_xform_codes PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_magic_offset_checks PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_freesurfer_large_vector_hack PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_freesurfer_ico7_hack SKIPPED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_qform_sform PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_datatypes PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_quaternion PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_qform PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_sform PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_dim_info PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_slice_times PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_intents PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_set_slice_times PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_xyzt_units PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1PairHeader::test_recoded_fields PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test__eq__ PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_to_from_fileobj PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_mappingness PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_endianness_ro PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_endian_guess PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_structarr PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_bytes PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_as_byteswapped PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_empty_check PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_get_value_label PASSED [ 45%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_supported_types PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_general_init PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_header_size PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_checks PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_pixdim_checks PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_log_checks PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_pixdim_log_checks PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_no_scaling_fixes PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_logger_error PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_data_dtype PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_shapes PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_read_write_data PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_datatype PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_offset PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_data_shape_zooms_affine PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_default_x_flip PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_orientation PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_str PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_from_header PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_base_affine PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_scaling PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_from_analyze_map PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_from_eg_file PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_data_scaling PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_big_scaling PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_slope_inter PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_nifti_qfac_checks PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_nifti_qsform_checks PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_nifti_xform_codes PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_magic_offset_checks PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_freesurfer_large_vector_hack PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_freesurfer_ico7_hack SKIPPED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_qform_sform PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_datatypes PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_quaternion PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_qform PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_sform PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_dim_info PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_slice_times PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_intents PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_set_slice_times PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_xyzt_units PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_recoded_fields PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_empty PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_binblock_is_file PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1SingleHeader::test_float128 PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_header_scaling PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_int_int_scaling PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-float16] PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-float32] PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-float64] PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-longdouble] PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-int16] PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-int32] PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-int64] PASSED [ 46%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-int8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-longlong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-uint16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-uint32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-uint64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-uint8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex128-ulonglong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-float16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-float32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-float64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-longdouble] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-int16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-int32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-int64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-int8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-longlong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-uint16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-uint32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-uint64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-uint8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[complex64-ulonglong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-float16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-float32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-float64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-longdouble] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-int16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-int32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-int64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-int8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-longlong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-uint16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-uint32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-uint64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-uint8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float32-ulonglong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-float16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-float32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-float64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-longdouble] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-int16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-int32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-int64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-int8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-longlong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-uint16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-uint32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-uint64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-uint8] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[float64-ulonglong] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-float16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-float32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-float64] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-longdouble] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-int16] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-int32] PASSED [ 47%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-int64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-int8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-longlong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-uint16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-uint32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-uint64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-uint8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int16-ulonglong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-float16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-float32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-float64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-longdouble] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-int16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-int32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-int64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-int8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-longlong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-uint16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-uint32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-uint64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-uint8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int32-ulonglong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-float16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-float32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-float64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-longdouble] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-int16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-int32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-int64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-int8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-longlong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-uint16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-uint32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-uint64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-uint8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int64-ulonglong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-float16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-float32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-float64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-longdouble] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-int16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-int32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-int64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-int8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-longlong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-uint16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-uint32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-uint64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-uint8] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[int8-ulonglong] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-float16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-float32] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-float64] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-longdouble] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-int16] PASSED [ 48%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-int32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-int64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-int8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-longlong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-uint16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-uint32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-uint64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-uint8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[longlong-ulonglong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-float16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-float32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-float64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-longdouble] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-int16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-int32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-int64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-int8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-longlong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-uint16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-uint32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-uint64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-uint8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint16-ulonglong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-float16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-float32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-float64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-longdouble] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-int16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-int32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-int64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-int8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-longlong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-uint16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-uint32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-uint64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-uint8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint32-ulonglong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-float16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-float32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-float64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-longdouble] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-int16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-int32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-int64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-int8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-longlong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-uint16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-uint32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-uint64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-uint8] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint64-ulonglong] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-float16] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-float32] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-float64] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-longdouble] PASSED [ 49%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-int16] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-int32] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-int64] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-int8] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-longlong] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-uint16] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-uint32] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-uint64] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-uint8] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[uint8-ulonglong] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-float16] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-float32] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-float64] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-longdouble] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-int16] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-int32] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-int64] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-int8] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-longlong] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-uint16] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-uint32] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-uint64] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-uint8] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_scaling[ulonglong-ulonglong] PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_nan2zero_range_ok PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_load_mmap PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_isolation PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_float_affine PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_images PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_data_api PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_data_default PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_data_shape PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_str PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_get_fdata PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_get_data XFAIL [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_slicer PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_supported_types PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_default_header PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_data_hdr_cache PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_affine_44 PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_dtype_init_arg PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_offset_to_zero PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_big_offset_exts PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_header_updating PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_pickle PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_no_finite_values PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_dtype_to_filename_arg PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_int64_warning_or_error PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_none_qsform PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_qform_cycle PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_header_update_affine PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_set_qform PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_set_sform PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_sqform_code_type PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_hdr_diff PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_load_save PASSED [ 50%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_load_pixdims PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_affines_init PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_read_no_extensions PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_write_scaling PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_dynamic_dtype_aliases PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Pair::test_static_dtype_aliases PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_header_scaling PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_int_int_scaling PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-float16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-float32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-float64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-longdouble] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-int16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-int32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-int64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-int8] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-longlong] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-uint16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-uint32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-uint64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-uint8] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex128-ulonglong] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-float16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-float32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-float64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-longdouble] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-int16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-int32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-int64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-int8] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-longlong] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-uint16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-uint32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-uint64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-uint8] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[complex64-ulonglong] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-float16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-float32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-float64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-longdouble] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-int16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-int32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-int64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-int8] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-longlong] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-uint16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-uint32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-uint64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-uint8] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float32-ulonglong] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-float16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-float32] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-float64] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-longdouble] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-int16] PASSED [ 51%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-int32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-int64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-int8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-longlong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-uint16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-uint32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-uint64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-uint8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[float64-ulonglong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-float16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-float32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-float64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-longdouble] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-int16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-int32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-int64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-int8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-longlong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-uint16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-uint32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-uint64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-uint8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int16-ulonglong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-float16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-float32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-float64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-longdouble] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-int16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-int32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-int64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-int8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-longlong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-uint16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-uint32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-uint64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-uint8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int32-ulonglong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-float16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-float32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-float64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-longdouble] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-int16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-int32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-int64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-int8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-longlong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-uint16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-uint32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-uint64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-uint8] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int64-ulonglong] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-float16] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-float32] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-float64] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-longdouble] PASSED [ 52%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-int16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-int32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-int64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-int8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-longlong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-uint16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-uint32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-uint64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-uint8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[int8-ulonglong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-float16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-float32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-float64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-longdouble] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-int16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-int32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-int64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-int8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-longlong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-uint16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-uint32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-uint64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-uint8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[longlong-ulonglong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-float16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-float32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-float64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-longdouble] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-int16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-int32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-int64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-int8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-longlong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-uint16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-uint32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-uint64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-uint8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint16-ulonglong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-float16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-float32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-float64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-longdouble] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-int16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-int32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-int64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-int8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-longlong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-uint16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-uint32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-uint64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-uint8] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint32-ulonglong] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-float16] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-float32] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-float64] PASSED [ 53%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-longdouble] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-int16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-int32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-int64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-int8] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-longlong] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-uint16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-uint32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-uint64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-uint8] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint64-ulonglong] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-float16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-float32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-float64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-longdouble] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-int16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-int32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-int64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-int8] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-longlong] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-uint16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-uint32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-uint64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-uint8] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[uint8-ulonglong] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-float16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-float32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-float64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-longdouble] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-int16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-int32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-int64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-int8] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-longlong] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-uint16] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-uint32] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-uint64] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-uint8] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_scaling[ulonglong-ulonglong] PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_nan2zero_range_ok PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_load_mmap PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_isolation PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_float_affine PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_images PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_data_api PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_data_default PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_data_shape PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_str PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_get_fdata PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_get_data XFAIL [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_slicer PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_supported_types PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_default_header PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_data_hdr_cache PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_affine_44 PASSED [ 54%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_dtype_init_arg PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_offset_to_zero PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_big_offset_exts PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_header_updating PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_pickle PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_no_finite_values PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_dtype_to_filename_arg PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_int64_warning_or_error PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_none_qsform PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_qform_cycle PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_header_update_affine PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_set_qform PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_set_sform PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_sqform_code_type PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_hdr_diff PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_load_save PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_load_pixdims PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_affines_init PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_read_no_extensions PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_write_scaling PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_dynamic_dtype_aliases PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_static_dtype_aliases PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1Image::test_offset_errors PASSED [ 55%] nibabel/tests/test_nifti1.py::test_extension_basics PASSED [ 55%] nibabel/tests/test_nifti1.py::test_ext_eq PASSED [ 55%] nibabel/tests/test_nifti1.py::test_extension_content_access PASSED [ 55%] nibabel/tests/test_nifti1.py::test_legacy_underscore_content PASSED [ 55%] nibabel/tests/test_nifti1.py::test_extension_codes PASSED [ 55%] nibabel/tests/test_nifti1.py::test_extension_list PASSED [ 55%] nibabel/tests/test_nifti1.py::test_extension_io PASSED [ 55%] nibabel/tests/test_nifti1.py::test_nifti_extensions PASSED [ 55%] nibabel/tests/test_nifti1.py::test_nifti_dicom_extension PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1General::test_loadsave_cycle PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1General::test_load PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1General::test_float_int_min_max PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1General::test_float_int_spread PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1General::test_rt_bias PASSED [ 55%] nibabel/tests/test_nifti1.py::TestNifti1General::test_reoriented_dim_info PASSED [ 55%] nibabel/tests/test_nifti1.py::test_large_nifti1 SKIPPED (Skip slow t...) [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test__eq__ PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_to_from_fileobj PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_mappingness PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_endianness_ro PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_endian_guess PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_binblock_is_file PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_structarr PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_bytes PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_as_byteswapped PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_empty_check PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_get_value_label PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_supported_types PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_general_init PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_header_size PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_checks PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_pixdim_checks PASSED [ 55%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_log_checks PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_pixdim_log_checks PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_no_scaling_fixes PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_logger_error PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_data_dtype PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_shapes PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_read_write_data PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_datatype PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_offset PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_data_shape_zooms_affine PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_default_x_flip PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_orientation PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_str PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_from_header PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_base_affine PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_scaling PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_from_analyze_map PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_empty PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_from_eg_file PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_data_scaling PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_big_scaling PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_slope_inter PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_nifti_qfac_checks PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_nifti_qsform_checks PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_nifti_xform_codes PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_magic_offset_checks PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_qform_sform PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_datatypes PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_quaternion PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_qform PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_sform PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_dim_info PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_slice_times PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_intents PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_set_slice_times PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_xyzt_units PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_recoded_fields PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_freesurfer_large_vector_hack PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_freesurfer_ico7_hack PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2PairHeader::test_eol_check PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test__eq__ PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_to_from_fileobj PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_mappingness PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_endianness_ro PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_endian_guess PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_structarr PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_bytes PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_as_byteswapped PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_empty_check PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_get_value_label PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_supported_types PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_general_init PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_header_size PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_checks PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_pixdim_checks PASSED [ 56%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_log_checks PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_pixdim_log_checks PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_no_scaling_fixes PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_logger_error PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_data_dtype PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_shapes PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_read_write_data PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_datatype PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_offset PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_data_shape_zooms_affine PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_default_x_flip PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_orientation PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_str PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_from_header PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_base_affine PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_scaling PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_from_analyze_map PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_from_eg_file PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_data_scaling PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_big_scaling PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_slope_inter PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_nifti_qfac_checks PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_nifti_qsform_checks PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_nifti_xform_codes PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_magic_offset_checks PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_qform_sform PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_datatypes PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_quaternion PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_qform PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_sform PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_dim_info PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_slice_times PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_intents PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_set_slice_times PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_xyzt_units PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_recoded_fields PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_empty PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_binblock_is_file PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_float128 PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_freesurfer_large_vector_hack PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_freesurfer_ico7_hack PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2SingleHeader::test_eol_check PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_header_scaling PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_int_int_scaling PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-float16] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-float32] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-float64] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-longdouble] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-int16] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-int32] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-int64] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-int8] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-longlong] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-uint16] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-uint32] PASSED [ 57%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-uint64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-uint8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex128-ulonglong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-float16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-float32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-float64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-longdouble] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-int16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-int32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-int64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-int8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-longlong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-uint16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-uint32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-uint64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-uint8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[complex64-ulonglong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-float16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-float32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-float64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-longdouble] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-int16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-int32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-int64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-int8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-longlong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-uint16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-uint32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-uint64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-uint8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float32-ulonglong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-float16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-float32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-float64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-longdouble] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-int16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-int32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-int64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-int8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-longlong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-uint16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-uint32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-uint64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-uint8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[float64-ulonglong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-float16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-float32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-float64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-longdouble] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-int16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-int32] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-int64] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-int8] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-longlong] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-uint16] PASSED [ 58%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-uint32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-uint64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-uint8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int16-ulonglong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-float16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-float32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-float64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-longdouble] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-int16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-int32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-int64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-int8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-longlong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-uint16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-uint32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-uint64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-uint8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int32-ulonglong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-float16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-float32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-float64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-longdouble] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-int16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-int32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-int64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-int8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-longlong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-uint16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-uint32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-uint64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-uint8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int64-ulonglong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-float16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-float32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-float64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-longdouble] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-int16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-int32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-int64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-int8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-longlong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-uint16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-uint32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-uint64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-uint8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[int8-ulonglong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-float16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-float32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-float64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-longdouble] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-int16] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-int32] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-int64] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-int8] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-longlong] PASSED [ 59%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-uint16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-uint32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-uint64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-uint8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[longlong-ulonglong] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-float16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-float32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-float64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-longdouble] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-int16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-int32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-int64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-int8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-longlong] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-uint16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-uint32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-uint64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-uint8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint16-ulonglong] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-float16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-float32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-float64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-longdouble] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-int16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-int32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-int64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-int8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-longlong] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-uint16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-uint32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-uint64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-uint8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint32-ulonglong] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-float16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-float32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-float64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-longdouble] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-int16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-int32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-int64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-int8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-longlong] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-uint16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-uint32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-uint64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-uint8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint64-ulonglong] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-float16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-float32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-float64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-longdouble] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-int16] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-int32] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-int64] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-int8] PASSED [ 60%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-longlong] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-uint16] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-uint32] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-uint64] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-uint8] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[uint8-ulonglong] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-float16] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-float32] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-float64] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-longdouble] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-int16] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-int32] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-int64] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-int8] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-longlong] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-uint16] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-uint32] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-uint64] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-uint8] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_scaling[ulonglong-ulonglong] PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_nan2zero_range_ok PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_load_mmap PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_isolation PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_float_affine PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_images PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_data_api PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_data_default PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_data_shape PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_str PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_get_fdata PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_get_data XFAIL [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_slicer PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_supported_types PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_default_header PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_data_hdr_cache PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_affine_44 PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_dtype_init_arg PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_offset_to_zero PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_big_offset_exts PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_header_updating PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_pickle PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_no_finite_values PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_dtype_to_filename_arg PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_int64_warning_or_error PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_none_qsform PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_qform_cycle PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_header_update_affine PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_set_qform PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_set_sform PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_sqform_code_type PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_hdr_diff PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_load_save PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_load_pixdims PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_affines_init PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_read_no_extensions PASSED [ 61%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_write_scaling PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_dynamic_dtype_aliases PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_static_dtype_aliases PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Image::test_offset_errors PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_header_scaling PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_int_int_scaling PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-float16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-float32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-float64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-longdouble] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-int16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-int32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-int64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-int8] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-longlong] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-uint16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-uint32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-uint64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-uint8] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex128-ulonglong] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-float16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-float32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-float64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-longdouble] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-int16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-int32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-int64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-int8] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-longlong] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-uint16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-uint32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-uint64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-uint8] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[complex64-ulonglong] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-float16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-float32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-float64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-longdouble] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-int16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-int32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-int64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-int8] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-longlong] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-uint16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-uint32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-uint64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-uint8] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float32-ulonglong] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-float16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-float32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-float64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-longdouble] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-int16] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-int32] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-int64] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-int8] PASSED [ 62%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-longlong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-uint16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-uint32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-uint64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-uint8] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[float64-ulonglong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-float16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-float32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-float64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-longdouble] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-int16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-int32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-int64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-int8] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-longlong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-uint16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-uint32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-uint64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-uint8] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int16-ulonglong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-float16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-float32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-float64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-longdouble] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-int16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-int32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-int64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-int8] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-longlong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-uint16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-uint32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-uint64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-uint8] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int32-ulonglong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-float16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-float32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-float64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-longdouble] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-int16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-int32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-int64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-int8] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-longlong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-uint16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-uint32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-uint64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-uint8] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int64-ulonglong] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-float16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-float32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-float64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-longdouble] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-int16] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-int32] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-int64] PASSED [ 63%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-int8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-longlong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-uint16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-uint32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-uint64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-uint8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[int8-ulonglong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-float16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-float32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-float64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-longdouble] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-int16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-int32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-int64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-int8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-longlong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-uint16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-uint32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-uint64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-uint8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[longlong-ulonglong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-float16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-float32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-float64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-longdouble] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-int16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-int32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-int64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-int8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-longlong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-uint16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-uint32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-uint64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-uint8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint16-ulonglong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-float16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-float32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-float64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-longdouble] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-int16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-int32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-int64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-int8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-longlong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-uint16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-uint32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-uint64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-uint8] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint32-ulonglong] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-float16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-float32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-float64] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-longdouble] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-int16] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-int32] PASSED [ 64%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-int64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-int8] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-longlong] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-uint16] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-uint32] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-uint64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-uint8] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint64-ulonglong] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-float16] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-float32] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-float64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-longdouble] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-int16] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-int32] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-int64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-int8] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-longlong] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-uint16] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-uint32] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-uint64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-uint8] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[uint8-ulonglong] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-float16] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-float32] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-float64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-longdouble] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-int16] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-int32] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-int64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-int8] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-longlong] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-uint16] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-uint32] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-uint64] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-uint8] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_scaling[ulonglong-ulonglong] PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_nan2zero_range_ok PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_load_mmap PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_isolation PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_float_affine PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_images PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_data_api PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_data_default PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_data_shape PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_str PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_get_fdata PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_get_data XFAIL [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_slicer PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_supported_types PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_default_header PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_data_hdr_cache PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_affine_44 PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_dtype_init_arg PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_offset_to_zero PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_big_offset_exts PASSED [ 65%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_header_updating PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_pickle PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_no_finite_values PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_dtype_to_filename_arg PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_int64_warning_or_error PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_none_qsform PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_qform_cycle PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_header_update_affine PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_set_qform PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_set_sform PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_sqform_code_type PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_hdr_diff PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_load_save PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_load_pixdims PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_affines_init PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_read_no_extensions PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_write_scaling PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_dynamic_dtype_aliases PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2Pair::test_static_dtype_aliases PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2General::test_loadsave_cycle PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2General::test_load PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2General::test_float_int_min_max PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2General::test_float_int_spread PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2General::test_rt_bias PASSED [ 66%] nibabel/tests/test_nifti2.py::TestNifti2General::test_reoriented_dim_info PASSED [ 66%] nibabel/tests/test_nifti2.py::test_nifti12_conversion PASSED [ 66%] nibabel/tests/test_onetime.py::test_setattr_on_read XFAIL [ 66%] nibabel/tests/test_onetime.py::test_ResetMixin PASSED [ 66%] nibabel/tests/test_openers.py::test_Opener PASSED [ 66%] nibabel/tests/test_openers.py::test_Opener_various PASSED [ 66%] nibabel/tests/test_openers.py::test_Opener_gzip_type PASSED [ 66%] nibabel/tests/test_openers.py::TestImageOpener::test_new_association PASSED [ 66%] nibabel/tests/test_openers.py::TestImageOpener::test_vanilla PASSED [ 66%] nibabel/tests/test_openers.py::test_file_like_wrapper PASSED [ 66%] nibabel/tests/test_openers.py::test_compressionlevel PASSED [ 66%] nibabel/tests/test_openers.py::test_compressed_ext_case PASSED [ 66%] nibabel/tests/test_openers.py::test_name PASSED [ 66%] nibabel/tests/test_openers.py::test_set_extensions PASSED [ 66%] nibabel/tests/test_openers.py::test_close_if_mine PASSED [ 66%] nibabel/tests/test_openers.py::test_iter PASSED [ 66%] nibabel/tests/test_openers.py::test_DeterministicGzipFile PASSED [ 66%] nibabel/tests/test_openers.py::test_DeterministicGzipFile_fileobj PASSED [ 66%] nibabel/tests/test_openers.py::test_bitwise_determinism PASSED [ 66%] nibabel/tests/test_optpkg.py::test_basic PASSED [ 66%] nibabel/tests/test_optpkg.py::test_versions PASSED [ 66%] nibabel/tests/test_orientations.py::test_apply PASSED [ 66%] nibabel/tests/test_orientations.py::test_io_orientation PASSED [ 66%] nibabel/tests/test_orientations.py::test_ornt_transform PASSED [ 66%] nibabel/tests/test_orientations.py::test_ornt2axcodes PASSED [ 66%] nibabel/tests/test_orientations.py::test_axcodes2ornt PASSED [ 66%] nibabel/tests/test_orientations.py::test_aff2axcodes PASSED [ 66%] nibabel/tests/test_orientations.py::test_inv_ornt_aff PASSED [ 66%] nibabel/tests/test_orientations.py::test_flip_axis_deprecation XFAIL [ 66%] nibabel/tests/test_parrec.py::test_top_level_load PASSED [ 66%] nibabel/tests/test_parrec.py::test_header PASSED [ 66%] nibabel/tests/test_parrec.py::test_header_scaling PASSED [ 67%] nibabel/tests/test_parrec.py::test_header_volume_labels PASSED [ 67%] nibabel/tests/test_parrec.py::test_orientation PASSED [ 67%] nibabel/tests/test_parrec.py::test_data_offset PASSED [ 67%] nibabel/tests/test_parrec.py::test_affine PASSED [ 67%] nibabel/tests/test_parrec.py::test_affine_regression PASSED [ 67%] nibabel/tests/test_parrec.py::test_get_sorted_slice_indices PASSED [ 67%] nibabel/tests/test_parrec.py::test_sorting_dual_echo_T1 PASSED [ 67%] nibabel/tests/test_parrec.py::test_sorting_multiple_echos_and_contrasts PASSED [ 67%] nibabel/tests/test_parrec.py::test_sorting_multiecho_ASL PASSED [ 67%] nibabel/tests/test_parrec.py::test_vol_number PASSED [ 67%] nibabel/tests/test_parrec.py::test_vol_is_full PASSED [ 67%] nibabel/tests/test_parrec.py::test_truncated_load PASSED [ 67%] nibabel/tests/test_parrec.py::test_vol_calculations PASSED [ 67%] nibabel/tests/test_parrec.py::test_diffusion_parameters PASSED [ 67%] nibabel/tests/test_parrec.py::test_diffusion_parameters_strict_sort PASSED [ 67%] nibabel/tests/test_parrec.py::test_diffusion_parameters_v4 PASSED [ 67%] nibabel/tests/test_parrec.py::test_null_diffusion_params PASSED [ 67%] nibabel/tests/test_parrec.py::test_epi_params PASSED [ 67%] nibabel/tests/test_parrec.py::test_xyzt_unit_conversion PASSED [ 67%] nibabel/tests/test_parrec.py::test_truncations PASSED [ 67%] nibabel/tests/test_parrec.py::test__get_uniqe_image_defs PASSED [ 67%] nibabel/tests/test_parrec.py::test_copy_on_init PASSED [ 67%] nibabel/tests/test_parrec.py::test_header_copy PASSED [ 67%] nibabel/tests/test_parrec.py::test_image_creation PASSED [ 67%] nibabel/tests/test_parrec.py::test_parrec_proxy PASSED [ 67%] nibabel/tests/test_parrec.py::TestPARRECImage::test_load_mmap PASSED [ 67%] nibabel/tests/test_parrec.py::test_bitpix PASSED [ 67%] nibabel/tests/test_parrec.py::test_varying_scaling PASSED [ 67%] nibabel/tests/test_parrec.py::test_anonymized PASSED [ 67%] nibabel/tests/test_parrec.py::test_exts2par PASSED [ 67%] nibabel/tests/test_parrec.py::test_dualTR PASSED [ 67%] nibabel/tests/test_parrec.py::test_ADC_map PASSED [ 67%] nibabel/tests/test_parrec.py::test_alternative_header_field_names PASSED [ 67%] nibabel/tests/test_parrec_data.py::test_loading SKIPPED (Need files ...) [ 67%] nibabel/tests/test_parrec_data.py::test_fieldmap SKIPPED (Need files...) [ 67%] nibabel/tests/test_parrec_data.py::test_oblique_loading SKIPPED (Nee...) [ 67%] nibabel/tests/test_pkg_info.py::test_pkg_info PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_version PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_0 PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.0-1.0-0] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.0.0-1.0-0] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.0-1.0.0-0] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.1-1.1-0] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2-1.1-1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.1-1.2--1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.1.1-1.1.1-0] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.1.2-1.1.1-1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.1.1-1.1.2--1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.1-1.1dev-1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.1dev-1.1--1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1-1.2.1rc1-1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1rc1-1.2.1--1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1rc1-1.2.1rc-1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1rc-1.2.1rc1--1] PASSED [ 67%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1b-1.2.1a-1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1a-1.2.1b--1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.0+1-1.2-1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2-1.2.0+1--1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1+1-1.2.1-1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1-1.2.1+1--1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1rc1+1-1.2.1--1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1-1.2.1rc1+1-1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1rc1+1-1.2.1+1--1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_1[1.2.1+1-1.2.1rc1+1-1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_error[args0] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_error[args1] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_error[args2] PASSED [ 68%] nibabel/tests/test_pkg_info.py::test_cmp_pkg_version_error[args3] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_init[True-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_init[True-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_init[True-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_init[False-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_init[False-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_init[False-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_affines[True-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_affines[True-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_affines[True-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_affines[False-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_affines[False-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_affines[False-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestPointsets::test_homogeneous_coordinates PASSED [ 68%] nibabel/tests/test_pointset.py::test_GridIndices PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_init[True-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_init[True-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_init[True-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_init[False-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_init[False-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_init[False-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_affines[True-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_affines[True-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_affines[True-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_affines[False-shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_affines[False-shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_affines[False-shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_homogeneous_coordinates PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_from_image[shape0] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_from_image[shape1] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_from_image[shape2] PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_from_mask PASSED [ 68%] nibabel/tests/test_pointset.py::TestGrids::test_to_mask PASSED [ 68%] nibabel/tests/test_processing.py::test_sigma2fwhm PASSED [ 68%] nibabel/tests/test_processing.py::test_adapt_affine PASSED [ 68%] nibabel/tests/test_processing.py::test_resample_from_to SKIPPED (The...) [ 68%] nibabel/tests/test_processing.py::test_resample_to_output SKIPPED (T...) [ 68%] nibabel/tests/test_processing.py::test_smooth_image SKIPPED (These t...) [ 68%] nibabel/tests/test_processing.py::test_spatial_axes_check SKIPPED (T...) [ 68%] nibabel/tests/test_processing.py::test_against_spm_resample SKIPPED [ 68%] nibabel/tests/test_processing.py::test_conform SKIPPED (These tests ...) [ 68%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_array_interface_with_dtype PASSED [ 68%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_asarray PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_fileobj_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_header_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_is_proxy PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_ndim PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_proxy_slicing PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_shape PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestAnalyzeProxyAPI::test_slope_inter_offset PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_array_interface_with_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_asarray PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_fileobj_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_header_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_is_proxy PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_ndim PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_proxy_slicing PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_shape PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm99AnalyzeProxyAPI::test_slope_inter_offset PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_array_interface_with_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_asarray PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_fileobj_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_header_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_is_proxy PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_ndim PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_proxy_slicing PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_shape PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestSpm2AnalyzeProxyAPI::test_slope_inter_offset PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_array_interface_with_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_asarray PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_fileobj_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_header_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_is_proxy PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_ndim PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_proxy_slicing PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_shape PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestNifti1ProxyAPI::test_slope_inter_offset PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_array_interface_with_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_asarray PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_fileobj_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_header_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_is_proxy PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_ndim PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_proxy_slicing PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_shape PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMGHAPI::test_slope_inter_offset PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_array_interface_with_dtype PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_asarray PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_fileobj_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_header_isolated PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_is_proxy PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_ndim PASSED [ 69%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_proxy_slicing PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc1API::test_shape PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_array_interface_with_dtype PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_asarray PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_fileobj_isolated PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_header_isolated PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_is_proxy PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_ndim PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_proxy_slicing PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestMinc2API::test_shape PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_array_interface_with_dtype PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_asarray PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_fileobj_isolated PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_header_isolated SKIPPED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_is_proxy PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_ndim PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_proxy_slicing PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestEcatAPI::test_shape PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_array_interface_with_dtype PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_asarray PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_fileobj_isolated PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_header_isolated PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_is_proxy PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_ndim PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_proxy_slicing PASSED [ 70%] nibabel/tests/test_proxy_api.py::TestPARRECAPI::test_shape PASSED [ 70%] nibabel/tests/test_quaternions.py::test_fillpos PASSED [ 70%] nibabel/tests/test_quaternions.py::test_fillpositive_plus_minus_epsilon[f4] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_fillpositive_plus_minus_epsilon[f8] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_fillpositive_simulated_error[f4] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_fillpositive_simulated_error[f8] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_conjugate PASSED [ 70%] nibabel/tests/test_quaternions.py::test_quat2mat PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_0 PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M0-q0] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M1-q1] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M2-q2] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M3-q3] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M4-q4] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M5-q5] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M6-q6] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M7-q7] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M8-q8] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M9-q9] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M10-q10] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M11-q11] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M12-q12] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M13-q13] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M14-q14] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M15-q15] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M16-q16] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M17-q17] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M18-q18] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M19-q19] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M20-q20] PASSED [ 70%] nibabel/tests/test_quaternions.py::test_inverse_1[M21-q21] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M22-q22] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M23-q23] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M24-q24] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M25-q25] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M26-q26] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M27-q27] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M28-q28] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M29-q29] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M30-q30] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M31-q31] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M32-q32] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M33-q33] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M34-q34] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M35-q35] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M36-q36] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M37-q37] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M38-q38] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M39-q39] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M40-q40] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M41-q41] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M42-q42] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M43-q43] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M44-q44] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M45-q45] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M46-q46] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M47-q47] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M48-q48] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M49-q49] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M50-q50] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M51-q51] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M52-q52] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M53-q53] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M54-q54] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M55-q55] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M56-q56] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M57-q57] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M58-q58] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M59-q59] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M60-q60] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M61-q61] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M62-q62] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_inverse_1[M63-q63] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_eye PASSED [ 71%] nibabel/tests/test_quaternions.py::test_norm PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M10-q10] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M11-q11] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M12-q12] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M13-q13] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M14-q14] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M15-q15] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M16-q16] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M17-q17] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M18-q18] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M19-q19] PASSED [ 71%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M110-q110] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M111-q111] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M112-q112] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M113-q113] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M114-q114] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M20-q20-M115-q115] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M10-q10] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M11-q11] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M12-q12] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M13-q13] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M14-q14] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M15-q15] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M16-q16] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M17-q17] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M18-q18] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M19-q19] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M110-q110] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M111-q111] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M112-q112] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M113-q113] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M114-q114] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M21-q21-M115-q115] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M10-q10] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M11-q11] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M12-q12] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M13-q13] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M14-q14] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M15-q15] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M16-q16] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M17-q17] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M18-q18] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M19-q19] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M110-q110] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M111-q111] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M112-q112] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M113-q113] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M114-q114] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M22-q22-M115-q115] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M10-q10] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M11-q11] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M12-q12] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M13-q13] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M14-q14] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M15-q15] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M16-q16] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M17-q17] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M18-q18] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M19-q19] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M110-q110] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M111-q111] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M112-q112] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M113-q113] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M114-q114] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M23-q23-M115-q115] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M10-q10] PASSED [ 72%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M11-q11] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M12-q12] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M13-q13] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M14-q14] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M15-q15] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M16-q16] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M17-q17] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M18-q18] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M19-q19] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M110-q110] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M111-q111] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M112-q112] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M113-q113] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M114-q114] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M24-q24-M115-q115] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M10-q10] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M11-q11] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M12-q12] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M13-q13] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M14-q14] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M15-q15] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M16-q16] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M17-q17] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M18-q18] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M19-q19] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M110-q110] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M111-q111] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M112-q112] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M113-q113] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M114-q114] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M25-q25-M115-q115] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M10-q10] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M11-q11] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M12-q12] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M13-q13] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M14-q14] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M15-q15] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M16-q16] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M17-q17] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M18-q18] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M19-q19] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M110-q110] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M111-q111] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M112-q112] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M113-q113] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M114-q114] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M26-q26-M115-q115] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M10-q10] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M11-q11] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M12-q12] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M13-q13] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M14-q14] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M15-q15] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M16-q16] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M17-q17] PASSED [ 73%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M18-q18] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M19-q19] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M110-q110] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M111-q111] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M112-q112] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M113-q113] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M114-q114] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M27-q27-M115-q115] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M10-q10] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M11-q11] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M12-q12] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M13-q13] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M14-q14] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M15-q15] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M16-q16] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M17-q17] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M18-q18] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M19-q19] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M110-q110] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M111-q111] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M112-q112] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M113-q113] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M114-q114] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M28-q28-M115-q115] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M10-q10] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M11-q11] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M12-q12] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M13-q13] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M14-q14] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M15-q15] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M16-q16] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M17-q17] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M18-q18] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M19-q19] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M110-q110] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M111-q111] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M112-q112] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M113-q113] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M114-q114] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M29-q29-M115-q115] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M10-q10] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M11-q11] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M12-q12] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M13-q13] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M14-q14] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M15-q15] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M16-q16] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M17-q17] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M18-q18] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M19-q19] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M110-q110] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M111-q111] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M112-q112] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M113-q113] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M114-q114] PASSED [ 74%] nibabel/tests/test_quaternions.py::test_mult[M210-q210-M115-q115] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M10-q10] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M11-q11] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M12-q12] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M13-q13] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M14-q14] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M15-q15] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M16-q16] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M17-q17] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M18-q18] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M19-q19] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M110-q110] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M111-q111] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M112-q112] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M113-q113] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M114-q114] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M211-q211-M115-q115] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M10-q10] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M11-q11] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M12-q12] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M13-q13] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M14-q14] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M15-q15] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M16-q16] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M17-q17] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M18-q18] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M19-q19] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M110-q110] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M111-q111] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M112-q112] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M113-q113] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M114-q114] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M212-q212-M115-q115] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M10-q10] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M11-q11] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M12-q12] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M13-q13] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M14-q14] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M15-q15] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M16-q16] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M17-q17] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M18-q18] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M19-q19] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M110-q110] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M111-q111] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M112-q112] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M113-q113] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M114-q114] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M213-q213-M115-q115] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M10-q10] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M11-q11] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M12-q12] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M13-q13] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M14-q14] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M15-q15] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M16-q16] PASSED [ 75%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M17-q17] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M18-q18] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M19-q19] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M110-q110] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M111-q111] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M112-q112] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M113-q113] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M114-q114] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M214-q214-M115-q115] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M10-q10] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M11-q11] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M12-q12] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M13-q13] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M14-q14] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M15-q15] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M16-q16] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M17-q17] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M18-q18] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M19-q19] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M110-q110] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M111-q111] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M112-q112] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M113-q113] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M114-q114] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_mult[M215-q215-M115-q115] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M0-q0] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M1-q1] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M2-q2] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M3-q3] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M4-q4] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M5-q5] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M6-q6] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M7-q7] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M8-q8] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M9-q9] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M10-q10] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M11-q11] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M12-q12] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M13-q13] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M14-q14] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M15-q15] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M16-q16] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M17-q17] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M18-q18] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M19-q19] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M20-q20] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M21-q21] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M22-q22] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M23-q23] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M24-q24] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M25-q25] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M26-q26] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M27-q27] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M28-q28] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M29-q29] PASSED [ 76%] nibabel/tests/test_quaternions.py::test_inverse[M30-q30] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M31-q31] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M32-q32] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M33-q33] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M34-q34] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M35-q35] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M36-q36] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M37-q37] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M38-q38] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M39-q39] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M40-q40] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M41-q41] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M42-q42] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M43-q43] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M44-q44] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M45-q45] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M46-q46] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M47-q47] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M48-q48] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M49-q49] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M50-q50] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M51-q51] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M52-q52] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M53-q53] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M54-q54] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M55-q55] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M56-q56] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M57-q57] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M58-q58] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M59-q59] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M60-q60] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M61-q61] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M62-q62] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_inverse[M63-q63] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M0-q0-vec0] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M0-q0-vec1] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M0-q0-vec2] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M1-q1-vec0] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M1-q1-vec1] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M1-q1-vec2] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M2-q2-vec0] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M2-q2-vec1] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M2-q2-vec2] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M3-q3-vec0] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M3-q3-vec1] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M3-q3-vec2] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M4-q4-vec0] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M4-q4-vec1] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M4-q4-vec2] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M5-q5-vec0] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M5-q5-vec1] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M5-q5-vec2] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M6-q6-vec0] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M6-q6-vec1] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M6-q6-vec2] PASSED [ 77%] nibabel/tests/test_quaternions.py::test_qrotate[M7-q7-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M7-q7-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M7-q7-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M8-q8-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M8-q8-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M8-q8-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M9-q9-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M9-q9-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M9-q9-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M10-q10-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M10-q10-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M10-q10-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M11-q11-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M11-q11-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M11-q11-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M12-q12-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M12-q12-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M12-q12-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M13-q13-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M13-q13-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M13-q13-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M14-q14-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M14-q14-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M14-q14-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M15-q15-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M15-q15-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M15-q15-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M16-q16-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M16-q16-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M16-q16-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M17-q17-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M17-q17-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M17-q17-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M18-q18-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M18-q18-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M18-q18-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M19-q19-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M19-q19-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M19-q19-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M20-q20-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M20-q20-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M20-q20-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M21-q21-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M21-q21-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M21-q21-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M22-q22-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M22-q22-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M22-q22-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M23-q23-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M23-q23-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M23-q23-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M24-q24-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M24-q24-vec1] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M24-q24-vec2] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M25-q25-vec0] PASSED [ 78%] nibabel/tests/test_quaternions.py::test_qrotate[M25-q25-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M25-q25-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M26-q26-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M26-q26-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M26-q26-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M27-q27-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M27-q27-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M27-q27-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M28-q28-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M28-q28-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M28-q28-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M29-q29-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M29-q29-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M29-q29-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M30-q30-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M30-q30-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M30-q30-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M31-q31-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M31-q31-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M31-q31-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M32-q32-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M32-q32-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M32-q32-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M33-q33-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M33-q33-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M33-q33-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M34-q34-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M34-q34-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M34-q34-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M35-q35-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M35-q35-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M35-q35-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M36-q36-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M36-q36-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M36-q36-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M37-q37-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M37-q37-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M37-q37-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M38-q38-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M38-q38-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M38-q38-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M39-q39-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M39-q39-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M39-q39-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M40-q40-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M40-q40-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M40-q40-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M41-q41-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M41-q41-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M41-q41-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M42-q42-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M42-q42-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M42-q42-vec2] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M43-q43-vec0] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M43-q43-vec1] PASSED [ 79%] nibabel/tests/test_quaternions.py::test_qrotate[M43-q43-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M44-q44-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M44-q44-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M44-q44-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M45-q45-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M45-q45-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M45-q45-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M46-q46-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M46-q46-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M46-q46-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M47-q47-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M47-q47-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M47-q47-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M48-q48-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M48-q48-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M48-q48-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M49-q49-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M49-q49-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M49-q49-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M50-q50-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M50-q50-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M50-q50-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M51-q51-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M51-q51-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M51-q51-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M52-q52-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M52-q52-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M52-q52-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M53-q53-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M53-q53-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M53-q53-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M54-q54-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M54-q54-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M54-q54-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M55-q55-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M55-q55-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M55-q55-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M56-q56-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M56-q56-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M56-q56-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M57-q57-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M57-q57-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M57-q57-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M58-q58-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M58-q58-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M58-q58-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M59-q59-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M59-q59-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M59-q59-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M60-q60-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M60-q60-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M60-q60-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M61-q61-vec0] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M61-q61-vec1] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M61-q61-vec2] PASSED [ 80%] nibabel/tests/test_quaternions.py::test_qrotate[M62-q62-vec0] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_qrotate[M62-q62-vec1] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_qrotate[M62-q62-vec2] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_qrotate[M63-q63-vec0] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_qrotate[M63-q63-vec1] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_qrotate[M63-q63-vec2] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q0] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q1] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q2] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q3] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q4] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q5] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q6] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q7] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q8] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q9] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q10] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q11] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q12] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q13] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q14] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q15] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q16] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q17] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q18] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q19] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q20] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q21] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q22] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q23] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q24] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q25] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q26] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q27] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q28] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q29] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q30] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q31] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q32] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q33] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q34] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q35] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q36] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q37] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q38] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q39] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q40] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q41] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q42] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q43] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q44] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q45] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q46] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q47] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q48] PASSED [ 81%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q49] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q50] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q51] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q52] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q53] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q54] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q55] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q56] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q57] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q58] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q59] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q60] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q61] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q62] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q63] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q64] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q65] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q66] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q67] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q68] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q69] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q70] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q71] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q72] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q73] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q74] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q75] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q76] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q77] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q78] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q79] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q80] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q81] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q82] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q83] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q84] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q85] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q86] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q87] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q88] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q89] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q90] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q91] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q92] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q93] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q94] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q95] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q96] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q97] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q98] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q99] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q100] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q101] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q102] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q103] PASSED [ 82%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q104] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q105] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q106] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q107] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q108] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q109] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q110] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q111] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q112] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q113] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q114] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q115] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q116] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q117] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q118] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q119] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q120] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q121] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q122] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q123] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q124] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q125] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q126] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q127] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q128] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q129] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q130] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q131] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q132] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q133] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q134] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q135] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q136] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q137] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q138] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q139] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q140] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q141] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q142] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q143] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q144] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q145] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q146] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q147] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q148] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q149] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q150] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q151] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q152] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q153] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q154] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q155] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q156] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q157] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q158] PASSED [ 83%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q159] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q160] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q161] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q162] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q163] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q164] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q165] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q166] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q167] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q168] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q169] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q170] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q171] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q172] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q173] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q174] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q175] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q176] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q177] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q178] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q179] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q180] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q181] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q182] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q183] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q184] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q185] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q186] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q187] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q188] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q189] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q190] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q191] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q192] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q193] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q194] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q195] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q196] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q197] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q198] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q199] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q200] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q201] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q202] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q203] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q204] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q205] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q206] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q207] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q208] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q209] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q210] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q211] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q212] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q213] PASSED [ 84%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q214] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q215] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q216] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q217] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q218] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q219] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q220] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q221] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q222] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q223] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q224] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q225] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q226] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q227] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q228] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q229] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q230] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q231] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q232] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q233] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q234] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q235] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q236] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q237] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q238] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q239] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q240] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q241] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q242] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q243] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q244] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q245] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q246] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q247] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q248] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q249] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q250] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q251] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q252] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q253] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q254] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q255] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q256] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q257] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q258] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q259] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q260] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q261] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q262] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q263] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q264] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q265] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q266] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q267] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q268] PASSED [ 85%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q269] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q270] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q271] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q272] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q273] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q274] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q275] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q276] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q277] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q278] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q279] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q280] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q281] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q282] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q283] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q284] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q285] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q286] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q287] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q288] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q289] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q290] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q291] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q292] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q293] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q294] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q295] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q296] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q297] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q298] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q299] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q300] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q301] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q302] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q303] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q304] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q305] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q306] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q307] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q308] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q309] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q310] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q311] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q312] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q313] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q314] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q315] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q316] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q317] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q318] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q319] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q320] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q321] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q322] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q323] PASSED [ 86%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q324] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q325] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q326] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q327] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q328] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q329] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q330] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q331] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q332] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q333] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q334] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q335] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q336] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q337] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q338] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q339] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q340] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q341] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q342] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q343] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q344] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q345] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q346] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q347] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q348] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q349] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q350] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q351] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q352] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q353] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q354] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q355] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q356] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q357] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q358] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q359] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q360] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q361] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q362] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q363] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q364] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q365] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q366] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q367] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q368] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q369] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q370] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q371] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q372] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q373] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q374] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q375] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q376] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q377] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q378] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q379] PASSED [ 87%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q380] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q381] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q382] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q383] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q384] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q385] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q386] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q387] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q388] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q389] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q390] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q391] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q392] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q393] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q394] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q395] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q396] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q397] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q398] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q399] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q400] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q401] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q402] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q403] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q404] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q405] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q406] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q407] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q408] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q409] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q410] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q411] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q412] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q413] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q414] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q415] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q416] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q417] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q418] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q419] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q420] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q421] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q422] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q423] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q424] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q425] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q426] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q427] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q428] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q429] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q430] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q431] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q432] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q433] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q434] PASSED [ 88%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q435] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q436] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q437] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q438] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q439] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q440] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q441] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q442] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q443] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q444] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q445] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q446] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q447] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q448] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q449] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q450] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q451] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q452] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q453] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q454] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q455] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q456] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q457] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q458] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q459] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q460] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q461] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q462] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q463] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q464] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q465] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q466] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q467] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q468] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q469] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q470] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q471] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q472] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q473] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q474] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q475] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q476] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q477] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q478] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q479] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q480] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q481] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q482] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q483] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q484] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q485] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q486] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q487] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q488] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q489] PASSED [ 89%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q490] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q491] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q492] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q493] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q494] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q495] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q496] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q497] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q498] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q499] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q500] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q501] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q502] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q503] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q504] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q505] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q506] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q507] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q508] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q509] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q510] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q511] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q512] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q513] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q514] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q515] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q516] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q517] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q518] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q519] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q520] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q521] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q522] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q523] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q524] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q525] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q526] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q527] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q528] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q529] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q530] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q531] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q532] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q533] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q534] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q535] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q536] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q537] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q538] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q539] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q540] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q541] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q542] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_quaternion_reconstruction[q543] PASSED [ 90%] nibabel/tests/test_quaternions.py::test_angle_axis2quat PASSED [ 90%] nibabel/tests/test_quaternions.py::test_angle_axis PASSED [ 91%] nibabel/tests/test_recoder.py::test_recoder_1 PASSED [ 91%] nibabel/tests/test_recoder.py::test_recoder_2 PASSED [ 91%] nibabel/tests/test_recoder.py::test_recoder_3 PASSED [ 91%] nibabel/tests/test_recoder.py::test_recoder_4 PASSED [ 91%] nibabel/tests/test_recoder.py::test_recoder_5 PASSED [ 91%] nibabel/tests/test_recoder.py::test_recoder_6 PASSED [ 91%] nibabel/tests/test_recoder.py::test_custom_dicter PASSED [ 91%] nibabel/tests/test_recoder.py::test_add_codes PASSED [ 91%] nibabel/tests/test_recoder.py::test_sugar PASSED [ 91%] nibabel/tests/test_recoder.py::test_dtmapper PASSED [ 91%] nibabel/tests/test_removalschedule.py::test_module_removal PASSED [ 91%] nibabel/tests/test_removalschedule.py::test_object_removal PASSED [ 91%] nibabel/tests/test_removalschedule.py::test_attribute_removal PASSED [ 91%] nibabel/tests/test_removalschedule.py::test_unremoved_module PASSED [ 91%] nibabel/tests/test_removalschedule.py::test_unremoved_object PASSED [ 91%] nibabel/tests/test_removalschedule.py::test_unremoved_attr PASSED [ 91%] nibabel/tests/test_round_trip.py::test_big_bad_ulp PASSED [ 91%] nibabel/tests/test_round_trip.py::test_round_trip PASSED [ 91%] nibabel/tests/test_rstutils.py::test_rst_table PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr0-res0] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr1-res1] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr2-res2] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr3-res3] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr4-res4] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr5-res5] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr6-res6] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr7-res7] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr8-res8] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr9-res9] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr10-res10] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr11-res11] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr12-res12] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr13-res13] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr14-res14] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr15-res15] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr16-res16] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr17-res17] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr18-res18] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range[in_arr19-res19] PASSED [ 91%] nibabel/tests/test_scaling.py::test_finite_range_err PASSED [ 91%] nibabel/tests/test_scaling.py::test_a2f_mn_mx[int16] PASSED [ 91%] nibabel/tests/test_scaling.py::test_a2f_mn_mx[float32] PASSED [ 91%] nibabel/tests/test_scaling.py::test_a2f_nan2zero PASSED [ 91%] nibabel/tests/test_scaling.py::test_array_file_scales[int16-int16] PASSED [ 91%] nibabel/tests/test_scaling.py::test_array_file_scales[int16-int8] PASSED [ 91%] nibabel/tests/test_scaling.py::test_array_file_scales[uint16-uint8] PASSED [ 91%] nibabel/tests/test_scaling.py::test_array_file_scales[int32-int8] PASSED [ 91%] nibabel/tests/test_scaling.py::test_array_file_scales[float32-uint8] PASSED [ 91%] nibabel/tests/test_scaling.py::test_array_file_scales[float32-int16] PASSED [ 91%] nibabel/tests/test_scaling.py::test_scaling_in_abstract[int-int-False] PASSED [ 91%] nibabel/tests/test_scaling.py::test_scaling_in_abstract[uint-int-False] PASSED [ 91%] nibabel/tests/test_scaling.py::test_scaling_in_abstract[float-int-True] PASSED [ 91%] nibabel/tests/test_scaling.py::test_scaling_in_abstract[float-uint-True] PASSED [ 91%] nibabel/tests/test_scaling.py::test_scaling_in_abstract[complex-int-True] PASSED [ 91%] nibabel/tests/test_scaling.py::test_scaling_in_abstract[complex-uint-True] PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_ls[args0] PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_ls[args1] PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_ls[args2] PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_ls[args3] PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_ls[args4] PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_ls[args5] PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_ls_multiple PASSED [ 92%] nibabel/tests/test_scripts.py::test_help PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_diff PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_nifti_dx PASSED [ 92%] nibabel/tests/test_scripts.py::test_parrec2nii PASSED [ 92%] nibabel/tests/test_scripts.py::test_parrec2nii_with_data SKIPPED (Ne...) [ 92%] nibabel/tests/test_scripts.py::test_nib_trk2tck PASSED [ 92%] nibabel/tests/test_scripts.py::test_nib_tck2trk PASSED [ 92%] nibabel/tests/test_spaces.py::test_vox2out_vox PASSED [ 92%] nibabel/tests/test_spaces.py::test_slice2volume PASSED [ 92%] nibabel/tests/test_spaces.py::test_slice2volume_exception[-1-0] PASSED [ 92%] nibabel/tests/test_spaces.py::test_slice2volume_exception[0--1] PASSED [ 92%] nibabel/tests/test_spaces.py::test_slice2volume_exception[0-3] PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_header_init PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_from_header PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_eq PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_copy PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_shape_zooms PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_data_dtype PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_affine PASSED [ 92%] nibabel/tests/test_spatialimages.py::test_read_data PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_isolation PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_float_affine PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_images PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_default_header PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_data_api PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_data_default PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_data_shape PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_str PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_get_fdata PASSED [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_get_data XFAIL [ 92%] nibabel/tests/test_spatialimages.py::TestSpatialImage::test_slicer PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_data_scaling PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test__eq__ PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_to_from_fileobj PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_mappingness PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_endianness_ro PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_endian_guess PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_binblock_is_file PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_structarr PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_bytes PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_as_byteswapped PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_empty_check PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_get_value_label PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_supported_types PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_general_init PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_header_size PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_checks PASSED [ 92%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_pixdim_checks PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_log_checks PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_pixdim_log_checks PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_no_scaling_fixes PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_logger_error PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_data_dtype PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_shapes PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_read_write_data PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_datatype PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_offset PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_data_shape_zooms_affine PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_default_x_flip PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_from_eg_file PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_orientation PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_str PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_from_header PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_base_affine PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_scaling PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_from_analyze_map PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_empty PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_big_scaling PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_origin_checks PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeHeader::test_slope_inter PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_load_mmap PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_isolation PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_float_affine PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_images PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_data_api PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_data_default PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_data_shape PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_str PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_get_fdata PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_get_data XFAIL [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_slicer PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_supported_types PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_default_header PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_affine_44 PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_dtype_init_arg PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_pickle PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_finite_values PASSED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_data_hdr_cache FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_header_updating FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_offset_to_zero FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_big_offset_exts FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_dtype_to_filename_arg FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_header_scaling FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_int_int_scaling FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_write_scaling FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-float16] FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-float32] FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-float64] FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-longdouble] FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int16] FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int32] FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int64] FAILED [ 93%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-longlong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-ulonglong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-float16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-float32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-float64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-longdouble] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-longlong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-ulonglong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-float16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-float32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-float64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-longdouble] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-longlong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-ulonglong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-float16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-float32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-float64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-longdouble] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-longlong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint8] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-ulonglong] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-float16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-float32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-float64] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-longdouble] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int16] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int32] FAILED [ 94%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int64] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int8] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-longlong] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint16] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint32] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint64] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint8] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-ulonglong] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-float16] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-float32] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-float64] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-longdouble] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int16] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int32] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int64] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int8] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-longlong] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint16] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint32] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint64] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint8] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-ulonglong] FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_nan2zero_range_ok FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_mat_read FAILED [ 95%] nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_none_affine PASSED [ 95%] nibabel/tests/test_spm2analyze.py::test_origin_affine PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_data_scaling PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test__eq__ PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_to_from_fileobj PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_mappingness PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_endianness_ro PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_endian_guess PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_binblock_is_file PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_structarr PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_bytes PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_as_byteswapped PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_empty_check PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_get_value_label PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_supported_types PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_general_init PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_header_size PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_checks PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_pixdim_checks PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_log_checks PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_pixdim_log_checks PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_no_scaling_fixes PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_logger_error PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_data_dtype PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_shapes PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_read_write_data PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_datatype PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_offset PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_data_shape_zooms_affine PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_default_x_flip PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_from_eg_file PASSED [ 95%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_orientation PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_str PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_from_header PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_base_affine PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_scaling PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_from_analyze_map PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_empty PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_big_scaling PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_slope_inter PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeHeader::test_origin_checks PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_load_mmap PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_isolation PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_float_affine PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_images PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_data_api PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_data_default PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_data_shape PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_str PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_get_fdata PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_get_data XFAIL [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_slicer PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_supported_types PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_default_header PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_affine_44 PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_dtype_init_arg PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_pickle PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_finite_values PASSED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_data_hdr_cache FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_header_updating FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_offset_to_zero FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_big_offset_exts FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_dtype_to_filename_arg FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_header_scaling FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_int_int_scaling FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_write_scaling FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-float16] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-float32] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-float64] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-longdouble] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int16] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int32] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int64] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int8] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-longlong] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint16] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint32] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint64] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint8] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-ulonglong] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-float16] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-float32] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-float64] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-longdouble] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int16] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int32] FAILED [ 96%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-longlong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-ulonglong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-float16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-float32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-float64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-longdouble] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-longlong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-ulonglong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-float16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-float32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-float64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-longdouble] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-longlong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-ulonglong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-float16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-float32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-float64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-longdouble] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-longlong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint8] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-ulonglong] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-float16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-float32] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-float64] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-longdouble] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int16] FAILED [ 97%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int32] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int64] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int8] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-longlong] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint16] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint32] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint64] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint8] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-ulonglong] FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_nan2zero_range_ok FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_mat_read FAILED [ 98%] nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_none_affine PASSED [ 98%] nibabel/tests/test_spm99analyze.py::test_origin_affine PASSED [ 98%] nibabel/tests/test_testing.py::test_assert_allclose_safely PASSED [ 98%] nibabel/tests/test_testing.py::test_clear_and_catch_warnings PASSED [ 98%] nibabel/tests/test_testing.py::test_clear_and_catch_warnings_inherit PASSED [ 98%] nibabel/tests/test_testing.py::test_warn_error PASSED [ 98%] nibabel/tests/test_testing.py::test_warn_ignore PASSED [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[.*-] PASSED [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[.*-entries1] PASSED [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[ab-abc] PASSED [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[ab-entries3] PASSED [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[ab-entries4] PASSED [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[ab-cab] XFAIL [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[ab$-abc] XFAIL [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[ab$-entries7] XFAIL [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[ab$-entries8] XFAIL [ 98%] nibabel/tests/test_testing.py::test_assert_re_in[-entries9] XFAIL [ 98%] nibabel/tests/test_testing.py::test_test_data PASSED [ 98%] nibabel/tests/test_tmpdirs.py::test_given_directory PASSED [ 98%] nibabel/tests/test_tripwire.py::test_is_tripwire PASSED [ 98%] nibabel/tests/test_tripwire.py::test_tripwire PASSED [ 98%] nibabel/tests/test_viewers.py::test_viewer SKIPPED (These tests need...) [ 98%] nibabel/tests/test_viewers.py::test_viewer_nonRAS SKIPPED (These tes...) [ 98%] nibabel/tests/test_viewers.py::test_viewer_nonRAS_on_mouse SKIPPED (...) [ 98%] nibabel/tests/test_viewers.py::test_viewer_nonRAS_on_scroll SKIPPED [ 98%] nibabel/tests/test_volumeutils.py::test__is_compressed_fobj PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_fobj_string_assumptions PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_array_from_file PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_array_from_file_mmap PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_array_from_file_openers PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_array_from_file_reread PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_array_to_file PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_intercept_scale PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_upscale PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_min_max PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_order PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_nan2zero PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_nan2zero_scaling PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_offset PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_dtype_default PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_zeros PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_big_scalers PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_int_scaling PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_scaled_unscaled PASSED [ 98%] nibabel/tests/test_volumeutils.py::test_a2f_nanpos PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_a2f_bad_scaling PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_a2f_nan2zero_range PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_a2f_non_numeric PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_apply_scaling PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_apply_read_scaling_ints PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_apply_read_scaling_nones PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_int_scinter PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_working_type PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_better_float PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_best_write_scale_ftype PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_write_zeros PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_seek_tell PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_seek_tell_logic PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_fname_ext_ul_case PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_shape_zoom_affine PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_rec2dict PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_dtypes PASSED [ 99%] nibabel/tests/test_volumeutils.py::test__write_data PASSED [ 99%] nibabel/tests/test_volumeutils.py::test_array_from_file_overflow PASSED [ 99%] nibabel/tests/test_volumeutils.py::test__ftype4scaled_finite_warningfilters PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_general_init PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test__eq__ PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_to_from_fileobj PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_mappingness PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_endianness_ro PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_endian_guess PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_binblock_is_file PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_structarr PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_bytes PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_as_byteswapped PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_empty_check PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_empty PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_str PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_copy PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_checks PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_log_checks PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyWrapStruct::test_logger_error PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_general_init PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test__eq__ PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_to_from_fileobj PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_mappingness PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_endianness_ro PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_endian_guess PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_binblock_is_file PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_structarr PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_bytes PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_as_byteswapped PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_empty_check PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_get_value_label PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_empty PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_copy PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_checks PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_log_checks PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_logger_error PASSED [ 99%] nibabel/tests/test_wrapstruct.py::TestMyLabeledWrapStruct::test_str PASSED [100%] =================================== FAILURES =================================== ________________________ test_round_trip_spatialimages _________________________ def test_round_trip_spatialimages(): # write an image to files data = np.arange(24, dtype='i4').reshape((2, 3, 4)) aff = np.eye(4) klasses = [ klass for klass in all_image_classes if klass.rw and klass.makeable and issubclass(klass, SpatialImage) ] for klass in klasses: file_map = klass.make_file_map() for key in file_map: file_map[key].fileobj = BytesIO() img = klass(data, aff) img.file_map = file_map > img.to_file_map() nibabel/tests/test_files_interface.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_files_interface.py", line 102, in test_round_trip_spatialimages img.to_file_map() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________________ TestSpm99AnalyzeAPI.test_affine ________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:475: in validate_affine img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 475, in validate_affine img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________________ TestSpm99AnalyzeAPI.test_data_interface ____________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:234: in validate_data_interface img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 234, in validate_data_interface img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________ TestSpm99AnalyzeAPI.test_dtype ________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:212: in validate_dtype rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 212, in validate_dtype rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________________ TestSpm99AnalyzeAPI.test_filenames ______________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:149: in validate_filenames rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 149, in validate_filenames rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________________ TestSpm99AnalyzeAPI.test_header ________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:133: in validate_header img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 133, in validate_header img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________________ TestSpm99AnalyzeAPI.test_header_shape _____________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:458: in validate_header_shape img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 458, in validate_header_shape img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _________________ TestSpm99AnalyzeAPI.test_init_dtype_override _________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:683: in validate_init_dtype_override rt_img = bytesio_round_trip(new_img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 683, in validate_init_dtype_override rt_img = bytesio_round_trip(new_img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________________ TestSpm99AnalyzeAPI.test_mmap_parameter ____________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:432: in validate_mmap_parameter img.to_filename(fname) nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 432, in validate_mmap_parameter img.to_filename(fname) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________ TestSpm99AnalyzeAPI.test_ndim _________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:410: in validate_ndim img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 410, in validate_ndim img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________________ TestSpm99AnalyzeAPI.test_no_slicing ______________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:184: in validate_no_slicing img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 184, in validate_no_slicing img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________ TestSpm99AnalyzeAPI.test_shape ________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:398: in validate_shape img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 398, in validate_shape img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________ TestSpm99AnalyzeAPI.test_to_file_dtype_override ________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:695: in validate_to_file_dtype_override img.to_filename(fname, dtype=dtype) nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 695, in validate_to_file_dtype_override img.to_filename(fname, dtype=dtype) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________ TestSpm2AnalyzeAPI.test_affine ________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:475: in validate_affine img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 475, in validate_affine img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________________ TestSpm2AnalyzeAPI.test_data_interface ____________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:234: in validate_data_interface img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 234, in validate_data_interface img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________ TestSpm2AnalyzeAPI.test_dtype _________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:212: in validate_dtype rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 212, in validate_dtype rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________________ TestSpm2AnalyzeAPI.test_filenames _______________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:149: in validate_filenames rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 149, in validate_filenames rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________ TestSpm2AnalyzeAPI.test_header ________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:133: in validate_header img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 133, in validate_header img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________________ TestSpm2AnalyzeAPI.test_header_shape _____________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:458: in validate_header_shape img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 458, in validate_header_shape img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _________________ TestSpm2AnalyzeAPI.test_init_dtype_override __________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:683: in validate_init_dtype_override rt_img = bytesio_round_trip(new_img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 683, in validate_init_dtype_override rt_img = bytesio_round_trip(new_img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________________ TestSpm2AnalyzeAPI.test_mmap_parameter ____________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:432: in validate_mmap_parameter img.to_filename(fname) nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 432, in validate_mmap_parameter img.to_filename(fname) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _________________________ TestSpm2AnalyzeAPI.test_ndim _________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:410: in validate_ndim img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 410, in validate_ndim img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________________ TestSpm2AnalyzeAPI.test_no_slicing ______________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:184: in validate_no_slicing img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 184, in validate_no_slicing img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________ TestSpm2AnalyzeAPI.test_shape _________________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:398: in validate_shape img = imaker() nibabel/tests/test_image_api.py:644: in prox_imaker rt_img = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 398, in validate_shape img = imaker() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 644, in prox_imaker rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________ TestSpm2AnalyzeAPI.test_to_file_dtype_override ________________ self = def meth(self): for imaker, params in self.obj_params(): > validator(self, imaker, params) nibabel/tests/test_api_validators.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_image_api.py:695: in validate_to_file_dtype_override img.to_filename(fname, dtype=dtype) nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_api_validators.py", line 22, in meth validator(self, imaker, params) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_api.py", line 695, in validate_to_file_dtype_override img.to_filename(fname, dtype=dtype) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ________________________________ test_save_load ________________________________ def test_save_load(): shape = (2, 4, 6) npt = np.float32 data = np.arange(np.prod(shape), dtype=npt).reshape(shape) affine = np.diag([1, 2, 3, 1]) affine[:3, 3] = [3, 2, 1] img = ni1.Nifti1Image(data, affine) img.set_data_dtype(npt) with InTemporaryDirectory(): nifn = 'an_image.nii' sifn = 'another_image.img' ni1.save(img, nifn) re_img = nils.load(nifn) assert isinstance(re_img, ni1.Nifti1Image) assert_array_equal(re_img.get_fdata(), data) assert_array_equal(re_img.affine, affine) # These and subsequent del statements are to prevent confusing # windows errors when trying to open files or delete the # temporary directory. del re_img if have_scipy: # skip we we cannot read .mat files > spm2.save(img, sifn) nibabel/tests/test_image_load_save.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/filebasedimages.py:360: in instance_to_filename img.to_filename(filename) nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_load_save.py", line 147, in test_save_load spm2.save(img, sifn) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 360, in instance_to_filename img.to_filename(filename) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________________________ test_filename_save ______________________________ def test_filename_save(): # This is to test the logic in the load and save routines, relating # extensions to filetypes # Tuples of class, ext, loadedclass inklass_ext_loadklasses = ( (Nifti1Image, '.nii', Nifti1Image), (Nifti2Image, '.nii', Nifti2Image), (Nifti1Pair, '.nii', Nifti1Image), (Nifti2Pair, '.nii', Nifti2Image), (Nifti1Image, '.img', Nifti1Pair), (Nifti2Image, '.img', Nifti2Pair), (Nifti1Pair, '.img', Nifti1Pair), (Nifti2Pair, '.img', Nifti2Pair), (Nifti1Image, '.hdr', Nifti1Pair), (Nifti2Image, '.hdr', Nifti2Pair), (Nifti1Pair, '.hdr', Nifti1Pair), (Nifti2Pair, '.hdr', Nifti2Pair), (Minc1Image, '.nii', Nifti1Image), (Minc1Image, '.img', Nifti1Pair), (Spm2AnalyzeImage, '.nii', Nifti1Image), (Spm2AnalyzeImage, '.img', Spm2AnalyzeImage), (Spm99AnalyzeImage, '.nii', Nifti1Image), (Spm99AnalyzeImage, '.img', Spm2AnalyzeImage), (AnalyzeImage, '.nii', Nifti1Image), (AnalyzeImage, '.img', Spm2AnalyzeImage), ) shape = (2, 4, 6) affine = np.diag([1, 2, 3, 1]) data = np.arange(np.prod(shape), dtype='f4').reshape(shape) for inklass, out_ext, loadklass in inklass_ext_loadklasses: if not have_scipy: # We can't load a SPM analyze type without scipy. These types have # a 'mat' file (the type we can't load) if ('mat', '.mat') in loadklass.files_types: continue img = inklass(data, affine) try: pth = mkdtemp() fname = pjoin(pth, 'image' + out_ext) for path in (fname, pathlib.Path(fname)): > nils.save(img, path) nibabel/tests/test_image_load_save.py:274: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/loadsave.py:164: in save img.to_filename(filename, **kwargs) nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_image_load_save.py", line 274, in test_filename_save nils.save(img, path) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/loadsave.py", line 164, in save img.to_filename(filename, **kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________________ TestSpm2AnalyzeImage.test_data_hdr_cache ___________________ self = def test_data_hdr_cache(self): # test the API for loaded images, such that the data returned # from np.asanyarray(img.dataobj) and img.get_fdata() are not # affected by subsequent changes to the header. IC = self.image_class # save an image to a file map fm = IC.make_file_map() for value in fm.values(): value.fileobj = BytesIO() shape = (2, 3, 4) data = np.arange(24, dtype=np.int8).reshape(shape) affine = np.eye(4) hdr = IC.header_class() hdr.set_data_dtype(np.int16) img = IC(data, affine, hdr) > img.to_file_map(fm) nibabel/tests/test_analyze.py:739: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 739, in test_data_hdr_cache img.to_file_map(fm) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm2AnalyzeImage.test_header_updating ___________________ self = def test_header_updating(self): # Only update on changes img_klass = self.image_class # With a None affine - don't overwrite zooms img = img_klass(np.zeros((2, 3, 4)), None) hdr = img.header hdr.set_zooms((4, 5, 6)) # Save / reload using bytes IO objects for value in img.file_map.values(): value.fileobj = BytesIO() img.to_file_map() hdr_back = img.from_file_map(img.file_map).header assert_array_equal(hdr_back.get_zooms(), (4, 5, 6)) # With a real affine, update zooms img = img_klass(np.zeros((2, 3, 4)), np.diag([2, 3, 4, 1]), hdr) hdr = img.header assert_array_equal(hdr.get_zooms(), (2, 3, 4)) # Modify affine in-place? Update on save. img.affine[0, 0] = 9 for value in img.file_map.values(): value.fileobj = BytesIO() > img.to_file_map() nibabel/tests/test_analyze.py:847: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 847, in test_header_updating img.to_file_map() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________________ TestSpm2AnalyzeImage.test_offset_to_zero ___________________ self = def test_offset_to_zero(self): # Check offset is always set to zero when creating images img_klass = self.image_class arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) aff = np.eye(4) img = img_klass(arr, aff) assert img.header.get_data_offset() == 0 # Save to BytesIO object(s), make sure offset still zero bytes_map = bytesio_filemap(img_klass) > img.to_file_map(bytes_map) nibabel/tests/test_analyze.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 789, in test_offset_to_zero img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm2AnalyzeImage.test_big_offset_exts ___________________ self = def test_big_offset_exts(self): # Check writing offset beyond data works for different file extensions img_klass = self.image_class arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) aff = np.eye(4) img_ext = img_klass.files_types[0][1] compressed_exts = ['', '.gz', '.bz2'] if HAVE_ZSTD: compressed_exts += ['.zst'] with InTemporaryDirectory(): for offset in (0, 2048): # Set offset in in-memory image for compressed_ext in compressed_exts: img = img_klass(arr, aff) img.header.set_data_offset(offset) fname = 'test' + img_ext + compressed_ext > img.to_filename(fname) nibabel/tests/test_analyze.py:821: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 821, in test_big_offset_exts img.to_filename(fname) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________ TestSpm2AnalyzeImage.test_dtype_to_filename_arg ________________ self = def test_dtype_to_filename_arg(self): # data_dtype can be set by argument in absence of header img_klass = self.image_class arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) aff = np.eye(4) img = img_klass(arr, aff) fname = 'test' + img_klass.files_types[0][1] with InTemporaryDirectory(): for dtype in self.supported_np_types: > img.to_filename(fname, dtype=dtype) nibabel/tests/test_analyze.py:903: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 903, in test_dtype_to_filename_arg img.to_filename(fname, dtype=dtype) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________________ TestSpm2AnalyzeImage.test_header_scaling ___________________ self = def test_header_scaling(self): # For images that implement scaling, test effect of scaling # # This tests the affect of creating an image with a header containing # the scaling, then writing the image and reading again. So the # scaling can be affected by the processing of the header when creating # the image, or by interpretation of the scaling when creating the # array. # # Analyze does not implement any scaling, but this test class is the # base class for all Analyze-derived classes, such as NIfTI img_class = self.image_class hdr_class = img_class.header_class if not hdr_class.has_data_slope: return arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) invalid_slopes = (0, np.nan, np.inf, -np.inf) for slope in (1,) + invalid_slopes: > self.assert_null_scaling(arr, slope, None) nibabel/tests/test_spm99analyze.py:237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_spm99analyze.py:215: in assert_null_scaling img.to_file_map(fm) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 237, in test_header_scaling self.assert_null_scaling(arr, slope, None) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 215, in assert_null_scaling img.to_file_map(fm) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm2AnalyzeImage.test_int_int_scaling ___________________ self = def test_int_int_scaling(self): # Check int to int conversion without slope, inter img_class = self.image_class arr = np.array([-1, 0, 256], dtype=np.int16)[:, None, None] img = img_class(arr, np.eye(4)) hdr = img.header img.set_data_dtype(np.uint8) self._set_raw_scaling(hdr, 1, 0 if hdr.has_data_intercept else None) > img_rt = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:316: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 316, in test_int_int_scaling img_rt = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________________ TestSpm2AnalyzeImage.test_write_scaling ____________________ self = def test_write_scaling(self): # Check writes with scaling set for slope, inter, e_slope, e_inter in ( (1, None, 1, None), (0, None, 1, None), (np.inf, None, 1, None), (2, None, 2, None), ): > self._check_write_scaling(slope, inter, e_slope, e_inter) nibabel/tests/test_spm99analyze.py:380: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_spm99analyze.py:268: in _check_write_scaling img_rt = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 380, in test_write_scaling self._check_write_scaling(slope, inter, e_slope, e_inter) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 268, in _check_write_scaling img_rt = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[complex64-float16] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[complex64-float32] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[complex64-float64] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________ TestSpm2AnalyzeImage.test_no_scaling[complex64-longdouble] __________ self = in_dtype = supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-int16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-int32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-int64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-int8] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[complex64-longlong] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-uint16] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-uint32] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-uint64] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[complex64-uint8] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________ TestSpm2AnalyzeImage.test_no_scaling[complex64-ulonglong] ___________ self = in_dtype = supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float32-float16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float32-float32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float32-float64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[float32-longdouble] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float32-int16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float32-int32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float32-int64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[float32-int8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float32-longlong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float32-uint16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float32-uint32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float32-uint64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float32-uint8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[float32-ulonglong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float64-float16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float64-float32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float64-float64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[float64-longdouble] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float64-int16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float64-int32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float64-int64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[float64-int8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[float64-longlong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float64-uint16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float64-uint32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float64-uint64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[float64-uint8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm2AnalyzeImage.test_no_scaling[float64-ulonglong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int16-float16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int16-float32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int16-float64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[int16-longdouble] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int16-int16] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int16-int32] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int16-int64] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________ TestSpm2AnalyzeImage.test_no_scaling[int16-int8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int16-longlong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int16-uint16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int16-uint32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int16-uint64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int16-uint8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[int16-ulonglong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int32-float16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int32-float32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int32-float64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[int32-longdouble] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int32-int16] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int32-int32] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int32-int64] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________ TestSpm2AnalyzeImage.test_no_scaling[int32-int8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[int32-longlong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int32-uint16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int32-uint32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int32-uint64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[int32-uint8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[int32-ulonglong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[uint8-float16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[uint8-float32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[uint8-float64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[uint8-longdouble] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-int16] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-int32] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-int64] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-int8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm2AnalyzeImage.test_no_scaling[uint8-longlong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-uint16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-uint32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-uint64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm2AnalyzeImage.test_no_scaling[uint8-uint8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm2AnalyzeImage.test_no_scaling[uint8-ulonglong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _________________ TestSpm2AnalyzeImage.test_nan2zero_range_ok __________________ self = def test_nan2zero_range_ok(self): # Check that a floating point image with range not including zero gets # nans scaled correctly img_class = self.image_class arr = np.arange(24, dtype=np.float32).reshape((2, 3, 4)) arr[0, 0, 0] = np.nan arr[1, 0, 0] = 256 # to push outside uint8 range img = img_class(arr, np.eye(4)) > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 390, in test_nan2zero_range_ok rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________________ TestSpm2AnalyzeImage.test_mat_read ______________________ self = @needs_scipy def test_mat_read(self): # Test mat file reading and writing for the SPM analyze types img_klass = self.image_class arr = np.arange(24, dtype=np.int32).reshape((2, 3, 4)) aff = np.diag([2, 3, 4, 1]) # no LR flip in affine img = img_klass(arr, aff) fm = img.file_map for value in fm.values(): value.fileobj = BytesIO() # Test round trip > img.to_file_map() nibabel/tests/test_spm99analyze.py:429: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 429, in test_mat_read img.to_file_map() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm99AnalyzeImage.test_data_hdr_cache ___________________ self = def test_data_hdr_cache(self): # test the API for loaded images, such that the data returned # from np.asanyarray(img.dataobj) and img.get_fdata() are not # affected by subsequent changes to the header. IC = self.image_class # save an image to a file map fm = IC.make_file_map() for value in fm.values(): value.fileobj = BytesIO() shape = (2, 3, 4) data = np.arange(24, dtype=np.int8).reshape(shape) affine = np.eye(4) hdr = IC.header_class() hdr.set_data_dtype(np.int16) img = IC(data, affine, hdr) > img.to_file_map(fm) nibabel/tests/test_analyze.py:739: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 739, in test_data_hdr_cache img.to_file_map(fm) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm99AnalyzeImage.test_header_updating __________________ self = def test_header_updating(self): # Only update on changes img_klass = self.image_class # With a None affine - don't overwrite zooms img = img_klass(np.zeros((2, 3, 4)), None) hdr = img.header hdr.set_zooms((4, 5, 6)) # Save / reload using bytes IO objects for value in img.file_map.values(): value.fileobj = BytesIO() img.to_file_map() hdr_back = img.from_file_map(img.file_map).header assert_array_equal(hdr_back.get_zooms(), (4, 5, 6)) # With a real affine, update zooms img = img_klass(np.zeros((2, 3, 4)), np.diag([2, 3, 4, 1]), hdr) hdr = img.header assert_array_equal(hdr.get_zooms(), (2, 3, 4)) # Modify affine in-place? Update on save. img.affine[0, 0] = 9 for value in img.file_map.values(): value.fileobj = BytesIO() > img.to_file_map() nibabel/tests/test_analyze.py:847: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 847, in test_header_updating img.to_file_map() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm99AnalyzeImage.test_offset_to_zero ___________________ self = def test_offset_to_zero(self): # Check offset is always set to zero when creating images img_klass = self.image_class arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) aff = np.eye(4) img = img_klass(arr, aff) assert img.header.get_data_offset() == 0 # Save to BytesIO object(s), make sure offset still zero bytes_map = bytesio_filemap(img_klass) > img.to_file_map(bytes_map) nibabel/tests/test_analyze.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 789, in test_offset_to_zero img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm99AnalyzeImage.test_big_offset_exts __________________ self = def test_big_offset_exts(self): # Check writing offset beyond data works for different file extensions img_klass = self.image_class arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) aff = np.eye(4) img_ext = img_klass.files_types[0][1] compressed_exts = ['', '.gz', '.bz2'] if HAVE_ZSTD: compressed_exts += ['.zst'] with InTemporaryDirectory(): for offset in (0, 2048): # Set offset in in-memory image for compressed_ext in compressed_exts: img = img_klass(arr, aff) img.header.set_data_offset(offset) fname = 'test' + img_ext + compressed_ext > img.to_filename(fname) nibabel/tests/test_analyze.py:821: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 821, in test_big_offset_exts img.to_filename(fname) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _______________ TestSpm99AnalyzeImage.test_dtype_to_filename_arg _______________ self = def test_dtype_to_filename_arg(self): # data_dtype can be set by argument in absence of header img_klass = self.image_class arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) aff = np.eye(4) img = img_klass(arr, aff) fname = 'test' + img_klass.files_types[0][1] with InTemporaryDirectory(): for dtype in self.supported_np_types: > img.to_filename(fname, dtype=dtype) nibabel/tests/test_analyze.py:903: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/filebasedimages.py:308: in to_filename self.to_file_map(**kwargs) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_analyze.py", line 903, in test_dtype_to_filename_arg img.to_filename(fname, dtype=dtype) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/filebasedimages.py", line 308, in to_filename self.to_file_map(**kwargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm99AnalyzeImage.test_header_scaling ___________________ self = def test_header_scaling(self): # For images that implement scaling, test effect of scaling # # This tests the affect of creating an image with a header containing # the scaling, then writing the image and reading again. So the # scaling can be affected by the processing of the header when creating # the image, or by interpretation of the scaling when creating the # array. # # Analyze does not implement any scaling, but this test class is the # base class for all Analyze-derived classes, such as NIfTI img_class = self.image_class hdr_class = img_class.header_class if not hdr_class.has_data_slope: return arr = np.arange(24, dtype=np.int16).reshape((2, 3, 4)) invalid_slopes = (0, np.nan, np.inf, -np.inf) for slope in (1,) + invalid_slopes: > self.assert_null_scaling(arr, slope, None) nibabel/tests/test_spm99analyze.py:237: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_spm99analyze.py:215: in assert_null_scaling img.to_file_map(fm) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 237, in test_header_scaling self.assert_null_scaling(arr, slope, None) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 215, in assert_null_scaling img.to_file_map(fm) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________________ TestSpm99AnalyzeImage.test_int_int_scaling __________________ self = def test_int_int_scaling(self): # Check int to int conversion without slope, inter img_class = self.image_class arr = np.array([-1, 0, 256], dtype=np.int16)[:, None, None] img = img_class(arr, np.eye(4)) hdr = img.header img.set_data_dtype(np.uint8) self._set_raw_scaling(hdr, 1, 0 if hdr.has_data_intercept else None) > img_rt = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:316: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 316, in test_int_int_scaling img_rt = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________________ TestSpm99AnalyzeImage.test_write_scaling ___________________ self = def test_write_scaling(self): # Check writes with scaling set for slope, inter, e_slope, e_inter in ( (1, None, 1, None), (0, None, 1, None), (np.inf, None, 1, None), (2, None, 2, None), ): > self._check_write_scaling(slope, inter, e_slope, e_inter) nibabel/tests/test_spm99analyze.py:380: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/tests/test_spm99analyze.py:268: in _check_write_scaling img_rt = bytesio_round_trip(img) nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 380, in test_write_scaling self._check_write_scaling(slope, inter, e_slope, e_inter) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 268, in _check_write_scaling img_rt = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[complex64-float16] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[complex64-float32] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[complex64-float64] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _________ TestSpm99AnalyzeImage.test_no_scaling[complex64-longdouble] __________ self = in_dtype = supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[complex64-int16] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[complex64-int32] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[complex64-int64] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[complex64-int8] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________ TestSpm99AnalyzeImage.test_no_scaling[complex64-longlong] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[complex64-uint16] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[complex64-uint32] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[complex64-uint64] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[complex64-uint8] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________ TestSpm99AnalyzeImage.test_no_scaling[complex64-ulonglong] __________ self = in_dtype = supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float32-float16] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float32-float32] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float32-float64] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________ TestSpm99AnalyzeImage.test_no_scaling[float32-longdouble] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float32-int16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float32-int32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float32-int64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float32-int8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[float32-longlong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float32-uint16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float32-uint32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float32-uint64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float32-uint8] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[float32-ulonglong] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float64-float16] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float64-float32] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float64-float64] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. __________ TestSpm99AnalyzeImage.test_no_scaling[float64-longdouble] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float64-int16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float64-int32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float64-int64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float64-int8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[float64-longlong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float64-uint16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float64-uint32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[float64-uint64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[float64-uint8] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[float64-ulonglong] ___________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int16-float16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int16-float32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int16-float64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[int16-longdouble] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int16-int16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int16-int32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int16-int64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int16-int8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[int16-longlong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int16-uint16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int16-uint32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int16-uint64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int16-uint8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[int16-ulonglong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int32-float16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int32-float32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int32-float64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[int32-longdouble] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int32-int16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int32-int32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int32-int64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int32-int8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[int32-longlong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int32-uint16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int32-uint32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[int32-uint64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[int32-uint8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[int32-ulonglong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-float16] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-float32] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-float64] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ___________ TestSpm99AnalyzeImage.test_no_scaling[uint8-longdouble] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[uint8-int16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[uint8-int32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[uint8-int64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[uint8-int8] _______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-longlong] _____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-uint16] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-uint32] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-uint64] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ______________ TestSpm99AnalyzeImage.test_no_scaling[uint8-uint8] ______________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. ____________ TestSpm99AnalyzeImage.test_no_scaling[uint8-ulonglong] ____________ self = in_dtype = , supported_dtype = @pytest.mark.parametrize('in_dtype', FLOAT_TYPES + IUINT_TYPES) def test_no_scaling(self, in_dtype, supported_dtype): # Test writing image converting types when not calculating scaling img_class = self.image_class hdr_class = img_class.header_class hdr = hdr_class() # Any old non-default slope and intercept slope = 2 inter = 10 if hdr.has_data_intercept else 0 mn_in, mx_in = _dt_min_max(in_dtype) mn = -1 if np.dtype(in_dtype).kind != 'u' else 0 arr = np.array([mn_in, mn, 0, 1, 10, mx_in], dtype=in_dtype) img = img_class(arr, np.eye(4), hdr) img.set_data_dtype(supported_dtype) # Setting the scaling means we don't calculate it later img.header.set_slope_inter(slope, inter) with np.errstate(invalid='ignore'): > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 338, in test_no_scaling rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _________________ TestSpm99AnalyzeImage.test_nan2zero_range_ok _________________ self = def test_nan2zero_range_ok(self): # Check that a floating point image with range not including zero gets # nans scaled correctly img_class = self.image_class arr = np.arange(24, dtype=np.float32).reshape((2, 3, 4)) arr[0, 0, 0] = np.nan arr[1, 0, 0] = 256 # to push outside uint8 range img = img_class(arr, np.eye(4)) > rt_img = bytesio_round_trip(img) nibabel/tests/test_spm99analyze.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/testing/helpers.py:27: in bytesio_round_trip img.to_file_map(bytes_map) nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 390, in test_nan2zero_range_ok rt_img = bytesio_round_trip(img) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/testing/helpers.py", line 27, in bytesio_round_trip img.to_file_map(bytes_map) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. _____________________ TestSpm99AnalyzeImage.test_mat_read ______________________ self = @needs_scipy def test_mat_read(self): # Test mat file reading and writing for the SPM analyze types img_klass = self.image_class arr = np.arange(24, dtype=np.int32).reshape((2, 3, 4)) aff = np.diag([2, 3, 4, 1]) # no LR flip in affine img = img_klass(arr, aff) fm = img.file_map for value in fm.values(): value.fileobj = BytesIO() # Test round trip > img.to_file_map() nibabel/tests/test_spm99analyze.py:429: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nibabel/spm99analyze.py:319: in to_file_map import scipy.io as sio /usr/lib64/python3.13/site-packages/scipy/io/__init__.py:97: in from .matlab import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py:45: in from ._mio import loadmat, savemat, whosmat /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py:9: in from ._mio4 import MatFile4Reader, MatFile4Writer /usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py:9: in import scipy.sparse /usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py:294: in from ._csr import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """Compressed Sparse Row matrix format""" __docformat__ = "restructuredtext en" __all__ = ['csr_array', 'csr_matrix', 'isspmatrix_csr'] import numpy as np from ._matrix import spmatrix from ._base import _spbase, sparray > from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, get_csr_submatrix) E ImportError: numpy.core.multiarray failed to import /usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py:11: ImportError ----------------------------- Captured stderr call ----------------------------- A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/usr/bin/pytest", line 8, in sys.exit(console_main()) File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 201, in console_main code = main() File "/usr/lib/python3.13/site-packages/_pytest/config/__init__.py", line 175, in main ret: ExitCode | int = config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 330, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 283, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 337, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/main.py", line 362, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 132, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 241, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 242, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.13/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3.13/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.13/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_spm99analyze.py", line 429, in test_mat_read img.to_file_map() File "/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/spm99analyze.py", line 319, in to_file_map import scipy.io as sio File "/usr/lib64/python3.13/site-packages/scipy/io/__init__.py", line 97, in from .matlab import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/__init__.py", line 45, in from ._mio import loadmat, savemat, whosmat File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio.py", line 9, in from ._mio4 import MatFile4Reader, MatFile4Writer File "/usr/lib64/python3.13/site-packages/scipy/io/matlab/_mio4.py", line 9, in import scipy.sparse File "/usr/lib64/python3.13/site-packages/scipy/sparse/__init__.py", line 294, in from ._csr import * File "/usr/lib64/python3.13/site-packages/scipy/sparse/_csr.py", line 11, in from ._sparsetools import (csr_tocsc, csr_tobsr, csr_count_blocks, Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/numpy/core/_multiarray_umath.py", line 44, in __getattr__ raise ImportError(msg) ImportError: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.1.3 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. =============================== warnings summary =============================== nibabel/externals/tests/test_netcdf.py::test_itemset_no_segfault_on_readonly nibabel/tests/test_proxy_api.py::TestMinc1API::test_array_interface_with_dtype nibabel/tests/test_proxy_api.py::TestMinc1API::test_asarray nibabel/tests/test_proxy_api.py::TestMinc1API::test_fileobj_isolated nibabel/tests/test_proxy_api.py::TestMinc1API::test_header_isolated nibabel/tests/test_proxy_api.py::TestMinc1API::test_is_proxy nibabel/tests/test_proxy_api.py::TestMinc1API::test_ndim nibabel/tests/test_proxy_api.py::TestMinc1API::test_proxy_slicing nibabel/tests/test_proxy_api.py::TestMinc1API::test_shape /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/externals/netcdf.py:301: RuntimeWarning: Cannot close a netcdf_file opened with mmap=True, when netcdf_variables or arrays referring to its data still exist. All data arrays obtained from such files refer directly to data on disk, and must be copied before the file can be cleanly closed. (See netcdf_file docstring for more information on mmap.) warnings.warn(( nibabel/nicom/tests/test_csareader.py::test_missing_csa_elem /usr/lib/python3.13/site-packages/pydicom/dataset.py:3429: UserWarning: The TypeError exception 'cannot pickle 'BufferedReader' instances' occurred trying to deepcopy the buffer-like the dataset was read from, the 'buffer' attribute will be set to 'None' in the copied object warn_and_log( nibabel/nicom/tests/test_dicomwrappers.py::test_wrappers nibabel/nicom/tests/test_dicomwrappers.py::test_wrapper_from_data /usr/lib/python3.13/site-packages/pydicom/dataset.py:589: UserWarning: Invalid value 'not an item' used with the 'in' operator: must be an element tag as a 2-tuple or int, or an element keyword warn_and_log(msg) nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_data_fake nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_philips_scale_data nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_scale_data nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape /usr/lib/python3.13/site-packages/pydicom/valuerep.py:440: UserWarning: A value of type 'tuple' cannot be assigned to a tag with VR UL. warn_and_log(msg) nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_data_fake nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_philips_scale_data nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_scale_data nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape nibabel/nicom/tests/test_dicomwrappers.py::TestMultiFrameWrapper::test_shape /usr/lib/python3.13/site-packages/pydicom/valuerep.py:440: UserWarning: A value of type 'int' cannot be assigned to a tag with VR SH. warn_and_log(msg) nibabel/tests/test_arrayproxy.py::test_get_obj_dtype /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_arrayproxy.py:306: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. assert get_obj_dtype(np.array(prox)) == np.dtype('float64') nibabel/tests/test_arrayproxy.py::test_get_obj_dtype /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_arrayproxy.py:310: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. assert get_obj_dtype(np.array(prox)) == np.dtype('int16') nibabel/tests/test_arrayproxy.py::test_get_unscaled /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_arrayproxy.py:333: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. assert_array_almost_equal(np.array(prox), arr * 2.1 + 3.14) nibabel/tests/test_arraywriters.py: 15 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_arraywriters.py:147: RuntimeWarning: overflow encountered in cast exp_back = exp_back.astype(out_dtype) nibabel/tests/test_arraywriters.py::test_nan2zero nibabel/tests/test_arraywriters.py::test_nan2zero nibabel/tests/test_arraywriters.py::test_nan2zero /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_arraywriters.py:517: RuntimeWarning: invalid value encountered in cast astype_res = np.array(np.nan).astype(np.int32) nibabel/tests/test_arraywriters.py: 17 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/volumeutils.py:785: RuntimeWarning: overflow encountered in cast dslice = dslice.astype(out_dtype) nibabel/tests/test_arraywriters.py: 17 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_arraywriters.py:577: RuntimeWarning: overflow encountered in cast assert_array_equal(arr.astype(out_type), arr_back) nibabel/tests/test_arraywriters.py: 24 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_arraywriters.py:766: RuntimeWarning: overflow encountered in cast mx = min(in_info['max'], out_info['max'] * 2.0, 2**32) nibabel/tests/test_arraywriters.py::test_nan2zero_scaling nibabel/tests/test_arraywriters.py::test_nan2zero_scaling nibabel/tests/test_arraywriters.py::test_nan2zero_scaling nibabel/tests/test_arraywriters.py::test_nan2zero_scaling /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/arraywriters.py:679: RuntimeWarning: invalid value encountered in cast if nan_fill_i == np.array(nan_fill_i, dtype=out_dtype): nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_floating.py::test_floor_exact_16 /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/casting.py:531: RuntimeWarning: overflow encountered in cast fval = flt_type(val) nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:43: RuntimeWarning: overflow encountered in cast fimax = ft(imax) nibabel/tests/test_casting.py: 10 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:49: RuntimeWarning: invalid value encountered in cast imax_roundtrip = fimax.astype(it) nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:69: RuntimeWarning: overflow encountered in cast fimin = ft(imin) nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:75: RuntimeWarning: invalid value encountered in cast imin_roundtrip = fimin.astype(it) nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:36: RuntimeWarning: invalid value encountered in cast bit_bigger = ovs[np.isfinite(ovs)].astype(it) nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range nibabel/tests/test_casting.py::test_shared_range /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:63: RuntimeWarning: invalid value encountered in cast bit_smaller = ovs[np.isfinite(ovs)].astype(it) nibabel/tests/test_casting.py::test_casting /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:118: RuntimeWarning: invalid value encountered in cast exp_arr[arr.index(np.nan)] = ft(np.nan).astype(it) nibabel/tests/test_casting.py::test_casting /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_casting.py:96: RuntimeWarning: overflow encountered in cast farr_orig = np.array(arr, dtype=ft) nibabel/tests/test_deprecator.py::TestDeprecatorMaker::test_deprecator_maker /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_deprecator.py:167: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in staticmethod() if you want to preserve the old behavior dec = self.dep_maker(warn_class=UserWarning) nibabel/tests/test_deprecator.py::TestDeprecatorMaker::test_deprecator_maker /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_deprecator.py:174: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in staticmethod() if you want to preserve the old behavior dec = self.dep_maker(error_class=CustomError) nibabel/tests/test_ecat.py::TestEcatImage::test_array_proxy /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_ecat.py:211: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. data2 = np.array(data_prox) nibabel/tests/test_ecat.py::TestEcatImage::test_array_proxy /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_ecat.py:214: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. data3 = np.array(data_prox) nibabel/tests/test_filebasedimages.py: 32 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_filebasedimages.py:27: DeprecationWarning: Deprecated warnings.warn('Deprecated', DeprecationWarning) nibabel/tests/test_floating.py::test_floor_exact /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/casting.py:531: RuntimeWarning: overflow encountered in conversion from python long fval = flt_type(val) nibabel/tests/test_parrec.py::test_image_creation /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_parrec.py:703: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. arr_prox_dv = np.array(PARRECArrayProxy(EG_REC, hdr, scaling='dv')) nibabel/tests/test_parrec.py::test_image_creation /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_parrec.py:704: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. arr_prox_fp = np.array(PARRECArrayProxy(EG_REC, hdr, scaling='fp')) nibabel/tests/test_proxy_api.py: 2421 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_proxy_api.py:143: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. orig = np.array(prox, dtype=None) nibabel/tests/test_proxy_api.py: 24252 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_proxy_api.py:164: DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. out = arrmethod(prox, dtype=dtype) nibabel/tests/test_proxy_api.py::TestEcatAPI::test_array_interface_with_dtype /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/ecat.py:712: RuntimeWarning: overflow encountered in cast data = data.astype(dtype, copy=False) nibabel/tests/test_proxy_api.py::TestEcatAPI::test_array_interface_with_dtype /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_proxy_api.py:159: RuntimeWarning: overflow encountered in cast assert_allclose(direct, orig.astype(dtype), rtol=rtol, atol=1e-08) nibabel/tests/test_proxy_api.py::TestEcatAPI::test_array_interface_with_dtype /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/ecat.py:712: RuntimeWarning: invalid value encountered in cast data = data.astype(dtype, copy=False) nibabel/tests/test_proxy_api.py::TestEcatAPI::test_array_interface_with_dtype /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_proxy_api.py:159: RuntimeWarning: invalid value encountered in cast assert_allclose(direct, orig.astype(dtype), rtol=rtol, atol=1e-08) nibabel/tests/test_round_trip.py: 24 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_round_trip.py:29: RuntimeWarning: overflow encountered in cast arr = in_arr.astype(in_type) nibabel/tests/test_round_trip.py: 24 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/arraywriters.py:512: RuntimeWarning: overflow encountered in cast self._inter = np.squeeze(self.scaler_dtype.type(val)) nibabel/tests/test_round_trip.py: 10 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/arraywriters.py:323: RuntimeWarning: overflow encountered in cast self._slope = np.squeeze(self.scaler_dtype.type(val)) nibabel/tests/test_round_trip.py: 84 warnings /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_round_trip.py:29: RuntimeWarning: invalid value encountered in cast arr = in_arr.astype(in_type) nibabel/tests/test_scaling.py::test_a2f_nan2zero /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_scaling.py:132: RuntimeWarning: invalid value encountered in cast assert_array_equal(data_back, [np.array(np.nan).astype(np.int32), 99]) nibabel/tests/test_volumeutils.py::test_a2f_nan2zero_scaling /builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/test_volumeutils.py:431: RuntimeWarning: overflow encountered in cast mx = min(in_info.max, out_info.max * 2.0, 2**32) + inter -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED nibabel/tests/test_files_interface.py::test_round_trip_spatialimages FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_affine - Im... FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_data_interface FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_dtype - Imp... FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_filenames FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_header - Im... FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_header_shape FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_init_dtype_override FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_mmap_parameter FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_ndim - Impo... FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_no_slicing FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_shape - Imp... FAILED nibabel/tests/test_image_api.py::TestSpm99AnalyzeAPI::test_to_file_dtype_override FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_affine - Imp... FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_data_interface FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_dtype - Impo... FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_filenames - ... FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_header - Imp... FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_header_shape FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_init_dtype_override FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_mmap_parameter FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_ndim - Impor... FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_no_slicing FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_shape - Impo... FAILED nibabel/tests/test_image_api.py::TestSpm2AnalyzeAPI::test_to_file_dtype_override FAILED nibabel/tests/test_image_load_save.py::test_save_load - ImportError: n... FAILED nibabel/tests/test_image_load_save.py::test_filename_save - ImportErro... FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_data_hdr_cache FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_header_updating FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_offset_to_zero FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_big_offset_exts FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_dtype_to_filename_arg FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_header_scaling FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_int_int_scaling FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_write_scaling FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-float16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-float32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-float64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-longdouble] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-int8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-longlong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-uint8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[complex64-ulonglong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-float16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-float32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-float64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-longdouble] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-int8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-longlong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-uint8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float32-ulonglong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-float16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-float32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-float64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-longdouble] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-int8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-longlong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-uint8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[float64-ulonglong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-float16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-float32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-float64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-longdouble] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-int8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-longlong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-uint8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int16-ulonglong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-float16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-float32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-float64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-longdouble] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-int8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-longlong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-uint8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[int32-ulonglong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-float16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-float32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-float64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-longdouble] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-int8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-longlong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint16] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint32] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint64] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-uint8] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_no_scaling[uint8-ulonglong] FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_nan2zero_range_ok FAILED nibabel/tests/test_spm2analyze.py::TestSpm2AnalyzeImage::test_mat_read FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_data_hdr_cache FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_header_updating FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_offset_to_zero FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_big_offset_exts FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_dtype_to_filename_arg FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_header_scaling FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_int_int_scaling FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_write_scaling FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-float16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-float32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-float64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-longdouble] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-int8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-longlong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-uint8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[complex64-ulonglong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-float16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-float32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-float64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-longdouble] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-int8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-longlong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-uint8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float32-ulonglong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-float16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-float32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-float64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-longdouble] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-int8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-longlong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-uint8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[float64-ulonglong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-float16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-float32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-float64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-longdouble] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-int8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-longlong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-uint8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int16-ulonglong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-float16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-float32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-float64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-longdouble] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-int8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-longlong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-uint8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[int32-ulonglong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-float16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-float32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-float64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-longdouble] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-int8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-longlong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint16] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint32] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint64] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-uint8] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_no_scaling[uint8-ulonglong] FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_nan2zero_range_ok FAILED nibabel/tests/test_spm99analyze.py::TestSpm99AnalyzeImage::test_mat_read = 215 failed, 5182 passed, 63 skipped, 42 xfailed, 6 xpassed, 27014 warnings in 134.06s (0:02:14) = :0: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/python-nibabel-5.3.2-build/nibabel-5.3.2/nibabel/tests/data/tinypet.v'> :0: ResourceWarning: unclosed database in RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Hs0DpB (%check) Bad exit status from /var/tmp/rpm-tmp.Hs0DpB (%check) Finish: rpmbuild python-nibabel-5.3.2-2.fc42.src.rpm Finish: build phase for python-nibabel-5.3.2-2.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1731686679.611780/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/python-nibabel-5.3.2-2.fc42.src.rpm) Config(fedora-rawhide-x86_64) 2 minutes 49 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 5829586c61e145088a1f5ef705f9bef0 -D /var/lib/mock/fedora-rawhide-x86_64-1731686679.611780/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ac4emz4a:/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 --target x86_64 /builddir/build/originals/python-nibabel.spec' Copr build error: Build failed