Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c189' (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/8414233-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.2 PID: 47454 Logging PID: 47455 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 8414233, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '73b81febd75fbbad92d1ada3dcd7de1c918d749f', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/music/hatchling/python-pybv', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-pybv', 'package_version': '0.7.6-4', 'project_dirname': 'hatchling', 'project_name': 'hatchling', 'project_owner': 'music', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/music/hatchling/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'music/hatchling--music', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': None, 'submitter': 'music', 'tags': [], 'task_id': '8414233-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/music/hatchling/python-pybv /var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/music/hatchling/python-pybv', '/var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv'... Running: git checkout 73b81febd75fbbad92d1ada3dcd7de1c918d749f -- cmd: ['git', 'checkout', '73b81febd75fbbad92d1ada3dcd7de1c918d749f', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv rc: 0 stdout: stderr: Note: switching to '73b81febd75fbbad92d1ada3dcd7de1c918d749f'. 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 73b81fe automatic import of python-pybv Running: dist-git-client sources /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv 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 pybv-0.7.6-filtered.tar.zst INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o pybv-0.7.6-filtered.tar.zst --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/music/hatchling/python-pybv/pybv-0.7.6-filtered.tar.zst/md5/9b3418be30a0cce8def08747892b1250/pybv-0.7.6-filtered.tar.zst % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 26350 100 26350 0 0 523k 0 --:--:-- --:--:-- --:--:-- 525k INFO: Reading stdout from command: md5sum pybv-0.7.6-filtered.tar.zst Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv/python-pybv.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734573954.833439 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.9 starting (python version = 3.13.0, NVR = mock-5.9-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv/python-pybv.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-ic7u2uvr/python-pybv --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734573954.833439 -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-ic7u2uvr/python-pybv/python-pybv.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-1734573954.833439/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-1734573954.833439/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/20264d84b038c0676961d488450f3d7ec1848d7a526bdc9503d1c1a787d88a3c/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/20264d84b038c0676961d488450f3d7ec1848d7a526bdc9503d1c1a787d88a3c/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-1734573954.833439/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-3.fc42.x86_64 dnf5-5.2.8.1-2.fc42.x86_64 dnf5-plugins-5.2.8.1-2.fc42.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 1.0 MiB/s | 26.0 KiB | 00m00s Copr repository 100% | 7.5 KiB/s | 2.1 KiB | 00m00s Copr repository 100% | 2.2 MiB/s | 187.3 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-1.fc42 fedora 8.2 MiB bzip2 x86_64 1.0.8-19.fc41 fedora 95.7 KiB coreutils x86_64 9.5-11.fc42 fedora 5.4 MiB cpio x86_64 2.15-2.fc41 fedora 1.1 MiB diffutils x86_64 3.10-8.fc41 fedora 1.6 MiB fedora-release-common noarch 42-0.11 fedora 19.8 KiB findutils x86_64 1:4.10.0-4.fc41 fedora 1.8 MiB gawk x86_64 5.3.0-4.fc41 fedora 1.7 MiB glibc-minimal-langpack x86_64 2.40.9000-24.fc42 fedora 0.0 B grep x86_64 3.11-9.fc41 fedora 1.0 MiB gzip x86_64 1.13-2.fc41 fedora 389.0 KiB info x86_64 7.1.1-2.fc42 fedora 361.8 KiB patch x86_64 2.7.6-25.fc41 fedora 266.7 KiB redhat-rpm-config noarch 296-1.fc42 fedora 186.6 KiB rpm-build x86_64 4.20.0-1.fc42 fedora 194.3 KiB sed x86_64 4.9-3.fc41 fedora 861.5 KiB shadow-utils x86_64 2:4.17.0~rc1-1.fc42 fedora 4.1 MiB tar x86_64 2:1.35-4.fc41 fedora 2.9 MiB unzip x86_64 6.0-65.fc42 fedora 398.2 KiB util-linux x86_64 2.40.2-8.fc42 fedora 3.7 MiB which x86_64 2.21-42.fc41 fedora 80.2 KiB xz x86_64 1:5.6.3-2.fc42 fedora 1.2 MiB Installing dependencies: add-determinism x86_64 0.4.3-1.fc42 fedora 2.4 MiB alternatives x86_64 1.30-1.fc41 fedora 66.3 KiB ansible-srpm-macros noarch 1-16.fc41 fedora 35.7 KiB audit-libs x86_64 4.0.2-1.fc41 fedora 331.3 KiB authselect x86_64 1.5.0-8.fc42 fedora 157.5 KiB authselect-libs x86_64 1.5.0-8.fc42 fedora 822.2 KiB basesystem noarch 11-21.fc41 fedora 0.0 B binutils x86_64 2.43.50-9.fc42 fedora 25.8 MiB build-reproducibility-srpm-macros noarch 0.4.3-1.fc42 fedora 735.0 B bzip2-libs x86_64 1.0.8-19.fc41 fedora 80.7 KiB ca-certificates noarch 2024.2.69_v8.0.401-3.fc42 fedora 2.6 MiB coreutils-common x86_64 9.5-11.fc42 fedora 11.2 MiB cracklib x86_64 2.9.11-6.fc41 fedora 238.9 KiB crypto-policies noarch 20241128-1.gitbb7b0b0.fc42 fedora 137.3 KiB curl x86_64 8.11.1-2.fc42 fedora 452.0 KiB cyrus-sasl-lib x86_64 2.1.28-27.fc41 fedora 2.3 MiB debugedit x86_64 5.1-2.fc42 fedora 200.3 KiB dwz x86_64 0.15-8.fc42 fedora 299.2 KiB ed x86_64 1.20.2-2.fc41 fedora 146.9 KiB efi-srpm-macros noarch 5-13.fc42 fedora 40.2 KiB elfutils x86_64 0.192-7.fc42 fedora 2.6 MiB elfutils-debuginfod-client x86_64 0.192-7.fc42 fedora 81.4 KiB elfutils-default-yama-scope noarch 0.192-7.fc42 fedora 1.8 KiB elfutils-libelf x86_64 0.192-7.fc42 fedora 1.2 MiB elfutils-libs x86_64 0.192-7.fc42 fedora 662.9 KiB fedora-gpg-keys noarch 42-0.3 fedora 126.4 KiB fedora-release noarch 42-0.11 fedora 0.0 B fedora-release-identity-basic noarch 42-0.11 fedora 719.0 B fedora-repos noarch 42-0.3 fedora 4.9 KiB fedora-repos-rawhide noarch 42-0.3 fedora 2.2 KiB file x86_64 5.45-8.fc42 fedora 103.7 KiB file-libs x86_64 5.45-8.fc42 fedora 9.9 MiB filesystem x86_64 3.18-29.fc42 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-17.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-1.fc42 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-13.fc41 fedora 144.0 B gdb-minimal x86_64 15.2-4.fc42 fedora 12.7 MiB gdbm x86_64 1:1.23-7.fc41 fedora 460.9 KiB gdbm-libs x86_64 1:1.23-7.fc41 fedora 121.9 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 fedora 779.0 B glibc x86_64 2.40.9000-24.fc42 fedora 6.7 MiB glibc-common x86_64 2.40.9000-24.fc42 fedora 1.0 MiB glibc-gconv-extra x86_64 2.40.9000-24.fc42 fedora 8.0 MiB gmp x86_64 1:6.3.0-2.fc41 fedora 811.4 KiB gnat-srpm-macros noarch 6-6.fc41 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-5.fc42 fedora 60.8 KiB jansson x86_64 2.14-1.fc42 fedora 93.1 KiB json-c x86_64 0.18-1.fc42 fedora 83.3 KiB kernel-srpm-macros noarch 1.0-24.fc41 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-4.fc41 fedora 54.4 KiB krb5-libs x86_64 1.21.3-3.fc42 fedora 2.3 MiB libacl x86_64 2.3.2-2.fc41 fedora 40.0 KiB libarchive x86_64 3.7.7-1.fc42 fedora 932.3 KiB libattr x86_64 2.5.2-4.fc41 fedora 28.5 KiB libblkid x86_64 2.40.2-8.fc42 fedora 262.5 KiB libbrotli x86_64 1.1.0-5.fc41 fedora 837.6 KiB libcap x86_64 2.71-1.fc42 fedora 210.8 KiB libcap-ng x86_64 0.8.5-3.fc41 fedora 69.2 KiB libcom_err x86_64 1.47.1-6.fc42 fedora 67.2 KiB libcurl x86_64 8.11.1-2.fc42 fedora 817.3 KiB libeconf x86_64 0.7.5-1.fc42 fedora 66.7 KiB libevent x86_64 2.1.12-14.fc41 fedora 895.7 KiB libfdisk x86_64 2.40.2-8.fc42 fedora 362.9 KiB libffi x86_64 3.4.6-3.fc42 fedora 86.4 KiB libgcc x86_64 14.2.1-6.fc42 fedora 270.6 KiB libgomp x86_64 14.2.1-6.fc42 fedora 519.8 KiB libidn2 x86_64 2.3.7-2.fc41 fedora 329.1 KiB libmount x86_64 2.40.2-8.fc42 fedora 355.8 KiB libnghttp2 x86_64 1.64.0-1.fc42 fedora 174.5 KiB libnsl2 x86_64 2.0.1-2.fc41 fedora 57.9 KiB libpkgconf x86_64 2.3.0-1.fc42 fedora 78.2 KiB libpsl x86_64 0.21.5-4.fc41 fedora 80.5 KiB libpwquality x86_64 1.4.5-11.fc41 fedora 417.8 KiB libselinux x86_64 3.8-0.rc1.2.fc42 fedora 191.6 KiB libsemanage x86_64 3.8-0.rc1.1.fc42 fedora 305.3 KiB libsepol x86_64 3.8-0.rc1.1.fc42 fedora 822.0 KiB libsmartcols x86_64 2.40.2-8.fc42 fedora 180.4 KiB libssh x86_64 0.11.1-1.fc42 fedora 569.6 KiB libssh-config noarch 0.11.1-1.fc42 fedora 277.0 B libstdc++ x86_64 14.2.1-6.fc42 fedora 2.8 MiB libtasn1 x86_64 4.19.0-9.fc41 fedora 175.7 KiB libtirpc x86_64 1.3.6-1.fc42 fedora 205.5 KiB libtool-ltdl x86_64 2.5.4-1.fc42 fedora 68.1 KiB libunistring x86_64 1.1-8.fc41 fedora 1.7 MiB libuuid x86_64 2.40.2-8.fc42 fedora 41.4 KiB libverto x86_64 0.3.2-9.fc41 fedora 29.5 KiB libxcrypt x86_64 4.4.36-11.fc42 fedora 271.4 KiB libxml2 x86_64 2.12.8-2.fc41 fedora 1.7 MiB libzstd x86_64 1.5.6-2.fc41 fedora 795.9 KiB lua-libs x86_64 5.4.7-1.fc42 fedora 285.0 KiB lua-srpm-macros noarch 1-14.fc41 fedora 1.3 KiB lz4-libs x86_64 1.10.0-1.fc41 fedora 145.5 KiB mpfr x86_64 4.2.1-5.fc41 fedora 832.1 KiB ncurses-base noarch 6.5-2.20240629.fc41 fedora 326.3 KiB ncurses-libs x86_64 6.5-2.20240629.fc41 fedora 975.2 KiB ocaml-srpm-macros noarch 10-3.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 fedora 112.0 B openldap x86_64 2.6.8-6.fc42 fedora 647.4 KiB openssl-libs x86_64 1:3.2.2-8.fc42 fedora 7.8 MiB p11-kit x86_64 0.25.5-4.fc42 fedora 2.2 MiB p11-kit-trust x86_64 0.25.5-4.fc42 fedora 403.8 KiB package-notes-srpm-macros noarch 0.5-12.fc41 fedora 1.6 KiB pam x86_64 1.7.0-3.fc42 fedora 1.8 MiB pam-libs x86_64 1.7.0-3.fc42 fedora 139.4 KiB pcre2 x86_64 10.44-1.fc41.1 fedora 653.5 KiB pcre2-syntax noarch 10.44-1.fc41.1 fedora 251.6 KiB perl-srpm-macros noarch 1-56.fc41 fedora 861.0 B pkgconf x86_64 2.3.0-1.fc42 fedora 88.6 KiB pkgconf-m4 noarch 2.3.0-1.fc42 fedora 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-1.fc42 fedora 989.0 B popt x86_64 1.19-7.fc41 fedora 136.9 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 fedora 67.5 KiB pyproject-srpm-macros noarch 1.16.3-1.fc42 fedora 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 fedora 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 fedora 500.0 B qt6-srpm-macros noarch 6.8.1-4.fc42 fedora 456.0 B readline x86_64 8.2-11.fc42 fedora 493.1 KiB rpm x86_64 4.20.0-1.fc42 fedora 3.1 MiB rpm-build-libs x86_64 4.20.0-1.fc42 fedora 206.7 KiB rpm-libs x86_64 4.20.0-1.fc42 fedora 726.1 KiB rpm-sequoia x86_64 1.7.0-3.fc42 fedora 2.3 MiB rust-srpm-macros noarch 26.3-3.fc42 fedora 4.8 KiB setup noarch 2.15.0-5.fc41 fedora 720.7 KiB sqlite-libs x86_64 3.47.2-1.fc42 fedora 1.4 MiB systemd-libs x86_64 257-1.fc42 fedora 2.2 MiB util-linux-core x86_64 2.40.2-8.fc42 fedora 1.5 MiB xxhash-libs x86_64 0.8.2-4.fc42 fedora 88.4 KiB xz-libs x86_64 1:5.6.3-2.fc42 fedora 218.4 KiB zig-srpm-macros noarch 1-3.fc41 fedora 1.1 KiB zip x86_64 3.0-42.fc42 fedora 695.9 KiB zlib-ng-compat x86_64 2.2.2-1.fc42 fedora 134.0 KiB zstd x86_64 1.5.6-2.fc41 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 154 packages Total size of inbound packages is 52 MiB. Need to download 0 B. After this operation, 179 MiB extra will be used (install 179 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-65.fc42.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.17.0~rc1-1.fc4 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] diffutils-0:3.10-8.fc41.x86_64 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] fedora-release-common-0:42-0.11 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] findutils-1:4.10.0-4.fc41.x86_6 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] glibc-minimal-langpack-0:2.40.9 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] gzip-0:1.13-2.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] info-0:7.1.1-2.fc42.x86_64 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] xz-1:5.6.3-2.fc42.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] util-linux-0:2.40.2-8.fc42.x86_ 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] gawk-0:5.3.0-4.fc41.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-24.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] libacl-0:2.3.2-2.fc41.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] libselinux-0:3.8-0.rc1.2.fc42.x 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] bzip2-libs-0:1.0.8-19.fc41.x86_ 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] ansible-srpm-macros-0:1-16.fc41 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] build-reproducibility-srpm-macr 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] dwz-0:0.15-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] efi-srpm-macros-0:5-13.fc42.noa 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] file-0:5.45-8.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] fonts-srpm-macros-1:2.0.5-17.fc 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] forge-srpm-macros-0:0.4.0-1.fc4 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] fpc-srpm-macros-0:1.3-13.fc41.n 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] ghc-srpm-macros-0:1.9.2-1.fc42. 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] gnat-srpm-macros-0:6-6.fc41.noa 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] go-srpm-macros-0:3.6.0-5.fc42.n 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] kernel-srpm-macros-0:1.0-24.fc4 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] lua-srpm-macros-0:1-14.fc41.noa 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] ocaml-srpm-macros-0:10-3.fc41.n 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] openblas-srpm-macros-0:2-18.fc4 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] package-notes-srpm-macros-0:0.5 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] perl-srpm-macros-0:1-56.fc41.no 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] pyproject-srpm-macros-0:1.16.3- 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] python-srpm-macros-0:3.13-3.fc4 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] qt5-srpm-macros-0:5.15.15-1.fc4 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] qt6-srpm-macros-0:6.8.1-4.fc42. 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] rpm-0:4.20.0-1.fc42.x86_64 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] rust-srpm-macros-0:26.3-3.fc42. 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] zig-srpm-macros-0:1-3.fc41.noar 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] zip-0:3.0-42.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] debugedit-0:5.1-2.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-0:0.192-7.fc42.x86_64 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] elfutils-libelf-0:0.192-7.fc42. 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] popt-0:1.19-7.fc41.x86_64 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] readline-0:8.2-11.fc42.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-build-libs-0:4.20.0-1.fc42. 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-libs-0:4.20.0-1.fc42.x86_64 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] zstd-0:1.5.6-2.fc41.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] filesystem-0:3.18-29.fc42.x86_6 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] ncurses-libs-0:6.5-2.20240629.f 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] coreutils-common-0:9.5-11.fc42. 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] gmp-1:6.3.0-2.fc41.x86_64 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] libattr-0:2.5.2-4.fc41.x86_64 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] libcap-0:2.71-1.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] openssl-libs-1:3.2.2-8.fc42.x86 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] systemd-libs-0:257-1.fc42.x86_6 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] pcre2-0:10.44-1.fc41.1.x86_64 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] ed-0:1.20.2-2.fc41.x86_64 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] audit-libs-0:4.0.2-1.fc41.x86_6 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] libeconf-0:0.7.5-1.fc42.x86_64 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] libsemanage-0:3.8-0.rc1.1.fc42. 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] libxcrypt-0:4.4.36-11.fc42.x86_ 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] pam-libs-0:1.7.0-3.fc42.x86_64 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] setup-0:2.15.0-5.fc41.noarch 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] fedora-repos-0:42-0.3.noarch 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] glibc-common-0:2.40.9000-24.fc4 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] xz-libs-1:5.6.3-2.fc42.x86_64 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] libblkid-0:2.40.2-8.fc42.x86_64 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] libcap-ng-0:0.8.5-3.fc41.x86_64 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] libfdisk-0:2.40.2-8.fc42.x86_64 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] libmount-0:2.40.2-8.fc42.x86_64 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] libsmartcols-0:2.40.2-8.fc42.x8 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] libuuid-0:2.40.2-8.fc42.x86_64 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] util-linux-core-0:2.40.2-8.fc42 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] zlib-ng-compat-0:2.2.2-1.fc42.x 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] mpfr-0:4.2.1-5.fc41.x86_64 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] glibc-gconv-extra-0:2.40.9000-2 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] basesystem-0:11-21.fc41.noarch 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] libgcc-0:14.2.1-6.fc42.x86_64 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] libsepol-0:3.8-0.rc1.1.fc42.x86 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] add-determinism-0:0.4.3-1.fc42. 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] file-libs-0:5.45-8.fc42.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] curl-0:8.11.1-2.fc42.x86_64 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] elfutils-libs-0:0.192-7.fc42.x8 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] elfutils-debuginfod-client-0:0. 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] libstdc++-0:14.2.1-6.fc42.x86_6 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] libzstd-0:1.5.6-2.fc41.x86_64 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] libxml2-0:2.12.8-2.fc41.x86_6 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] lz4-libs-0:1.10.0-1.fc41.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] libgomp-0:14.2.1-6.fc42.x86_6 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] lua-libs-0:5.4.7-1.fc42.x86_6 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] rpm-sequoia-0:1.7.0-3.fc42.x8 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] sqlite-libs-0:3.47.2-1.fc42.x 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] ncurses-base-0:6.5-2.20240629 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] ca-certificates-0:2024.2.69_v 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] crypto-policies-0:20241128-1. 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] pcre2-syntax-0:10.44-1.fc41.1 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] fedora-gpg-keys-0:42-0.3.noar 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] fedora-repos-rawhide-0:42-0.3 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] elfutils-default-yama-scope-0 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] json-c-0:0.18-1.fc42.x86_64 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] authselect-libs-0:1.5.0-8.fc4 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] pam-0:1.7.0-3.fc42.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] authselect-0:1.5.0-8.fc42.x86 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] gdbm-libs-1:1.23-7.fc41.x86_6 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] libnsl2-0:2.0.1-2.fc41.x86_64 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] libpwquality-0:1.4.5-11.fc41. 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] libtirpc-0:1.3.6-1.fc42.x86_6 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] cracklib-0:2.9.11-6.fc41.x86_ 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] krb5-libs-0:1.21.3-3.fc42.x86 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] libcom_err-0:1.47.1-6.fc42.x8 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] keyutils-libs-0:1.6.3-4.fc41. 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] libverto-0:0.3.2-9.fc41.x86_6 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] binutils-0:2.43.50-9.fc42.x86 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] alternatives-0:1.30-1.fc41.x8 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] jansson-0:2.14-1.fc42.x86_64 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] pkgconf-pkg-config-0:2.3.0-1. 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] pkgconf-0:2.3.0-1.fc42.x86_64 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] pkgconf-m4-0:2.3.0-1.fc42.noa 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] libpkgconf-0:2.3.0-1.fc42.x86 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] gdbm-1:1.23-7.fc41.x86_64 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] libffi-0:3.4.6-3.fc42.x86_64 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] p11-kit-0:0.25.5-4.fc42.x86_6 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] libtasn1-0:4.19.0-9.fc41.x86_ 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] p11-kit-trust-0:0.25.5-4.fc42 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] fedora-release-0:42-0.11.noar 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] gdb-minimal-0:15.2-4.fc42.x86 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] xxhash-libs-0:0.8.2-4.fc42.x8 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] fedora-release-identity-basic 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] libcurl-0:8.11.1-2.fc42.x86_6 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] libbrotli-0:1.1.0-5.fc41.x86_ 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] libidn2-0:2.3.7-2.fc41.x86_64 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] libnghttp2-0:1.64.0-1.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] libpsl-0:0.21.5-4.fc41.x86_64 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] libssh-0:0.11.1-1.fc42.x86_64 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] openldap-0:2.6.8-6.fc42.x86_6 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] libunistring-0:1.1-8.fc41.x86 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] publicsuffix-list-dafsa-0:202 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] libssh-config-0:0.11.1-1.fc42 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] cyrus-sasl-lib-0:2.1.28-27.fc 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] libevent-0:2.1.12-14.fc41.x86 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] libtool-ltdl-0:2.5.4-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [154/154] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0xE99D6AD1: UserID : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. [ 1/156] Verify package files 100% | 773.0 B/s | 154.0 B | 00m00s [ 2/156] Prepare transaction 100% | 1.7 KiB/s | 154.0 B | 00m00s [ 3/156] Installing libgcc-0:14.2.1-6. 100% | 132.9 MiB/s | 272.3 KiB | 00m00s [ 4/156] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/156] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 6/156] Installing fedora-release-ide 100% | 953.1 KiB/s | 976.0 B | 00m00s [ 7/156] Installing fedora-gpg-keys-0: 100% | 18.7 MiB/s | 172.2 KiB | 00m00s [ 8/156] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 9/156] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/156] Installing fedora-release-com 100% | 11.8 MiB/s | 24.1 KiB | 00m00s [ 11/156] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/156] Installing setup-0:2.15.0-5.f 100% | 47.3 MiB/s | 726.1 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/156] Installing filesystem-0:3.18- 100% | 1.6 MiB/s | 212.6 KiB | 00m00s [ 14/156] Installing basesystem-0:11-21 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/156] Installing pkgconf-m4-0:2.3.0 100% | 14.5 MiB/s | 14.8 KiB | 00m00s [ 16/156] Installing pcre2-syntax-0:10. 100% | 124.1 MiB/s | 254.1 KiB | 00m00s [ 17/156] Installing ncurses-base-0:6.5 100% | 34.3 MiB/s | 351.7 KiB | 00m00s [ 18/156] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/156] Installing ncurses-libs-0:6.5 100% | 137.0 MiB/s | 981.8 KiB | 00m00s [ 20/156] Installing glibc-0:2.40.9000- 100% | 171.1 MiB/s | 6.7 MiB | 00m00s [ 21/156] Installing bash-0:5.2.37-1.fc 100% | 263.5 MiB/s | 8.2 MiB | 00m00s [ 22/156] Installing glibc-common-0:2.4 100% | 115.7 MiB/s | 1.0 MiB | 00m00s [ 23/156] Installing glibc-gconv-extra- 100% | 149.6 MiB/s | 8.1 MiB | 00m00s [ 24/156] Installing zlib-ng-compat-0:2 100% | 131.7 MiB/s | 134.9 KiB | 00m00s [ 25/156] Installing bzip2-libs-0:1.0.8 100% | 79.9 MiB/s | 81.8 KiB | 00m00s [ 26/156] Installing xz-libs-1:5.6.3-2. 100% | 107.2 MiB/s | 219.5 KiB | 00m00s [ 27/156] Installing popt-0:1.19-7.fc41 100% | 35.0 MiB/s | 143.5 KiB | 00m00s [ 28/156] Installing readline-0:8.2-11. 100% | 161.2 MiB/s | 495.3 KiB | 00m00s [ 29/156] Installing libuuid-0:2.40.2-8 100% | 41.5 MiB/s | 42.5 KiB | 00m00s [ 30/156] Installing libblkid-0:2.40.2- 100% | 128.7 MiB/s | 263.6 KiB | 00m00s [ 31/156] Installing gmp-1:6.3.0-2.fc41 100% | 264.9 MiB/s | 813.7 KiB | 00m00s [ 32/156] Installing libattr-0:2.5.2-4. 100% | 28.8 MiB/s | 29.5 KiB | 00m00s [ 33/156] Installing libacl-0:2.3.2-2.f 100% | 39.8 MiB/s | 40.7 KiB | 00m00s [ 34/156] Installing libxcrypt-0:4.4.36 100% | 89.2 MiB/s | 274.1 KiB | 00m00s [ 35/156] Installing libstdc++-0:14.2.1 100% | 276.0 MiB/s | 2.8 MiB | 00m00s [ 36/156] Installing libzstd-0:1.5.6-2. 100% | 259.5 MiB/s | 797.2 KiB | 00m00s [ 37/156] Installing elfutils-libelf-0: 100% | 291.7 MiB/s | 1.2 MiB | 00m00s [ 38/156] Installing libeconf-0:0.7.5-1 100% | 66.8 MiB/s | 68.4 KiB | 00m00s [ 39/156] Installing gdbm-libs-1:1.23-7 100% | 120.7 MiB/s | 123.6 KiB | 00m00s [ 40/156] Installing dwz-0:0.15-8.fc42. 100% | 146.8 MiB/s | 300.6 KiB | 00m00s [ 41/156] Installing mpfr-0:4.2.1-5.fc4 100% | 203.5 MiB/s | 833.7 KiB | 00m00s [ 42/156] Installing gawk-0:5.3.0-4.fc4 100% | 173.2 MiB/s | 1.7 MiB | 00m00s [ 43/156] Installing unzip-0:6.0-65.fc4 100% | 130.8 MiB/s | 401.7 KiB | 00m00s [ 44/156] Installing file-libs-0:5.45-8 100% | 414.1 MiB/s | 9.9 MiB | 00m00s [ 45/156] Installing file-0:5.45-8.fc42 100% | 9.3 MiB/s | 105.2 KiB | 00m00s [ 46/156] Installing crypto-policies-0: 100% | 14.5 MiB/s | 163.7 KiB | 00m00s [ 47/156] Installing pcre2-0:10.44-1.fc 100% | 213.2 MiB/s | 654.9 KiB | 00m00s [ 48/156] Installing grep-0:3.11-9.fc41 100% | 111.5 MiB/s | 1.0 MiB | 00m00s [ 49/156] Installing xz-1:5.6.3-2.fc42. 100% | 112.5 MiB/s | 1.2 MiB | 00m00s [ 50/156] Installing libcap-ng-0:0.8.5- 100% | 69.4 MiB/s | 71.0 KiB | 00m00s [ 51/156] Installing audit-libs-0:4.0.2 100% | 162.8 MiB/s | 333.4 KiB | 00m00s [ 52/156] Installing pam-libs-0:1.7.0-3 100% | 69.2 MiB/s | 141.8 KiB | 00m00s [ 53/156] Installing libcap-0:2.71-1.fc 100% | 70.3 MiB/s | 215.8 KiB | 00m00s [ 54/156] Installing systemd-libs-0:257 100% | 246.7 MiB/s | 2.2 MiB | 00m00s [ 55/156] Installing libsmartcols-0:2.4 100% | 177.1 MiB/s | 181.4 KiB | 00m00s [ 56/156] Installing libsepol-0:3.8-0.r 100% | 200.9 MiB/s | 823.0 KiB | 00m00s [ 57/156] Installing libselinux-0:3.8-0 100% | 94.2 MiB/s | 192.9 KiB | 00m00s [ 58/156] Installing sed-0:4.9-3.fc41.x 100% | 106.2 MiB/s | 869.7 KiB | 00m00s [ 59/156] Installing findutils-1:4.10.0 100% | 185.8 MiB/s | 1.9 MiB | 00m00s [ 60/156] Installing libmount-0:2.40.2- 100% | 174.3 MiB/s | 356.9 KiB | 00m00s [ 61/156] Installing lz4-libs-0:1.10.0- 100% | 143.1 MiB/s | 146.6 KiB | 00m00s [ 62/156] Installing lua-libs-0:5.4.7-1 100% | 139.7 MiB/s | 286.2 KiB | 00m00s [ 63/156] Installing libcom_err-0:1.47. 100% | 33.4 MiB/s | 68.3 KiB | 00m00s [ 64/156] Installing alternatives-0:1.3 100% | 66.3 MiB/s | 67.9 KiB | 00m00s [ 65/156] Installing libffi-0:3.4.6-3.f 100% | 42.9 MiB/s | 87.8 KiB | 00m00s [ 66/156] Installing libtasn1-0:4.19.0- 100% | 86.7 MiB/s | 177.5 KiB | 00m00s [ 67/156] Installing p11-kit-0:0.25.5-4 100% | 138.5 MiB/s | 2.2 MiB | 00m00s [ 68/156] Installing libunistring-0:1.1 100% | 247.2 MiB/s | 1.7 MiB | 00m00s [ 69/156] Installing libidn2-0:2.3.7-2. 100% | 65.4 MiB/s | 335.1 KiB | 00m00s [ 70/156] Installing libpsl-0:0.21.5-4. 100% | 79.7 MiB/s | 81.7 KiB | 00m00s [ 71/156] Installing p11-kit-trust-0:0. 100% | 30.5 MiB/s | 405.5 KiB | 00m00s [ 72/156] Installing zstd-0:1.5.6-2.fc4 100% | 211.4 MiB/s | 1.7 MiB | 00m00s [ 73/156] Installing util-linux-core-0: 100% | 127.3 MiB/s | 1.5 MiB | 00m00s [ 74/156] Installing tar-2:1.35-4.fc41. 100% | 211.3 MiB/s | 3.0 MiB | 00m00s [ 75/156] Installing libsemanage-0:3.8- 100% | 100.0 MiB/s | 307.1 KiB | 00m00s [ 76/156] Installing shadow-utils-2:4.1 100% | 121.2 MiB/s | 4.1 MiB | 00m00s [ 77/156] Installing zip-0:3.0-42.fc42. 100% | 170.9 MiB/s | 699.8 KiB | 00m00s [ 78/156] Installing gdbm-1:1.23-7.fc41 100% | 91.0 MiB/s | 465.8 KiB | 00m00s [ 79/156] Installing cyrus-sasl-lib-0:2 100% | 230.6 MiB/s | 2.3 MiB | 00m00s [ 80/156] Installing libfdisk-0:2.40.2- 100% | 118.5 MiB/s | 364.0 KiB | 00m00s [ 81/156] Installing libxml2-0:2.12.8-2 100% | 214.0 MiB/s | 1.7 MiB | 00m00s [ 82/156] Installing bzip2-0:1.0.8-19.f 100% | 48.9 MiB/s | 100.2 KiB | 00m00s [ 83/156] Installing add-determinism-0: 100% | 270.1 MiB/s | 2.4 MiB | 00m00s [ 84/156] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 85/156] Installing sqlite-libs-0:3.47 100% | 239.0 MiB/s | 1.4 MiB | 00m00s [ 86/156] Installing ed-0:1.20.2-2.fc41 100% | 72.8 MiB/s | 149.2 KiB | 00m00s [ 87/156] Installing patch-0:2.7.6-25.f 100% | 131.0 MiB/s | 268.2 KiB | 00m00s [ 88/156] Installing elfutils-default-y 100% | 204.3 KiB/s | 2.0 KiB | 00m00s [ 89/156] Installing elfutils-libs-0:0. 100% | 162.3 MiB/s | 664.7 KiB | 00m00s [ 90/156] Installing cpio-0:2.15-2.fc41 100% | 137.5 MiB/s | 1.1 MiB | 00m00s [ 91/156] Installing diffutils-0:3.10-8 100% | 159.0 MiB/s | 1.6 MiB | 00m00s [ 92/156] Installing libgomp-0:14.2.1-6 100% | 254.5 MiB/s | 521.2 KiB | 00m00s [ 93/156] Installing json-c-0:0.18-1.fc 100% | 82.6 MiB/s | 84.6 KiB | 00m00s [ 94/156] Installing keyutils-libs-0:1. 100% | 54.5 MiB/s | 55.8 KiB | 00m00s [ 95/156] Installing libverto-0:0.3.2-9 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [ 96/156] Installing jansson-0:2.14-1.f 100% | 92.3 MiB/s | 94.5 KiB | 00m00s [ 97/156] Installing libpkgconf-0:2.3.0 100% | 77.5 MiB/s | 79.3 KiB | 00m00s [ 98/156] Installing pkgconf-0:2.3.0-1. 100% | 44.5 MiB/s | 91.1 KiB | 00m00s [ 99/156] Installing pkgconf-pkg-config 100% | 1.7 MiB/s | 1.8 KiB | 00m00s [100/156] Installing xxhash-libs-0:0.8. 100% | 87.7 MiB/s | 89.8 KiB | 00m00s [101/156] Installing libbrotli-0:1.1.0- 100% | 164.0 MiB/s | 839.9 KiB | 00m00s [102/156] Installing libnghttp2-0:1.64. 100% | 85.7 MiB/s | 175.6 KiB | 00m00s [103/156] Installing libtool-ltdl-0:2.5 100% | 33.8 MiB/s | 69.2 KiB | 00m00s [104/156] Installing coreutils-common-0 100% | 243.3 MiB/s | 11.2 MiB | 00m00s [105/156] Installing openssl-libs-1:3.2 100% | 313.1 MiB/s | 7.8 MiB | 00m00s [106/156] Installing coreutils-0:9.5-11 100% | 146.0 MiB/s | 5.4 MiB | 00m00s [107/156] Installing ca-certificates-0: 100% | 1.2 MiB/s | 2.4 MiB | 00m02s [108/156] Installing krb5-libs-0:1.21.3 100% | 177.3 MiB/s | 2.3 MiB | 00m00s [109/156] Installing libarchive-0:3.7.7 100% | 182.5 MiB/s | 934.2 KiB | 00m00s [110/156] Installing libtirpc-0:1.3.6-1 100% | 101.2 MiB/s | 207.3 KiB | 00m00s [111/156] Installing gzip-0:1.13-2.fc41 100% | 96.3 MiB/s | 394.6 KiB | 00m00s [112/156] Installing authselect-libs-0: 100% | 90.8 MiB/s | 837.2 KiB | 00m00s [113/156] Installing cracklib-0:2.9.11- 100% | 34.9 MiB/s | 250.3 KiB | 00m00s [114/156] Installing libpwquality-0:1.4 100% | 46.7 MiB/s | 430.1 KiB | 00m00s [115/156] Installing libnsl2-0:2.0.1-2. 100% | 28.8 MiB/s | 59.1 KiB | 00m00s [116/156] Installing pam-0:1.7.0-3.fc42 100% | 72.8 MiB/s | 1.9 MiB | 00m00s [117/156] Installing libssh-0:0.11.1-1. 100% | 186.1 MiB/s | 571.7 KiB | 00m00s [118/156] Installing rpm-sequoia-0:1.7. 100% | 232.4 MiB/s | 2.3 MiB | 00m00s [119/156] Installing rpm-libs-0:4.20.0- 100% | 236.9 MiB/s | 727.7 KiB | 00m00s [120/156] Installing rpm-build-libs-0:4 100% | 101.3 MiB/s | 207.5 KiB | 00m00s [121/156] Installing libevent-0:2.1.12- 100% | 175.7 MiB/s | 899.5 KiB | 00m00s [122/156] Installing openldap-0:2.6.8-6 100% | 159.0 MiB/s | 651.2 KiB | 00m00s [123/156] Installing libcurl-0:8.11.1-2 100% | 199.8 MiB/s | 818.4 KiB | 00m00s [124/156] Installing elfutils-debuginfo 100% | 40.9 MiB/s | 83.8 KiB | 00m00s [125/156] Installing elfutils-0:0.192-7 100% | 240.4 MiB/s | 2.6 MiB | 00m00s [126/156] Installing binutils-0:2.43.50 100% | 238.9 MiB/s | 25.8 MiB | 00m00s [127/156] Installing gdb-minimal-0:15.2 100% | 227.2 MiB/s | 12.7 MiB | 00m00s [128/156] Installing debugedit-0:5.1-2. 100% | 99.1 MiB/s | 203.0 KiB | 00m00s [129/156] Installing curl-0:8.11.1-2.fc 100% | 23.4 MiB/s | 454.5 KiB | 00m00s [130/156] Installing rpm-0:4.20.0-1.fc4 100% | 67.7 MiB/s | 2.5 MiB | 00m00s [131/156] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [132/156] Installing lua-srpm-macros-0: 100% | 1.9 MiB/s | 1.9 KiB | 00m00s [133/156] Installing zig-srpm-macros-0: 100% | 1.6 MiB/s | 1.7 KiB | 00m00s [134/156] Installing rust-srpm-macros-0 100% | 5.4 MiB/s | 5.6 KiB | 00m00s [135/156] Installing qt6-srpm-macros-0: 100% | 714.8 KiB/s | 732.0 B | 00m00s [136/156] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [137/156] Installing perl-srpm-macros-0 100% | 1.1 MiB/s | 1.1 KiB | 00m00s [138/156] Installing package-notes-srpm 100% | 2.0 MiB/s | 2.0 KiB | 00m00s [139/156] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [140/156] Installing ocaml-srpm-macros- 100% | 2.1 MiB/s | 2.2 KiB | 00m00s [141/156] Installing kernel-srpm-macros 100% | 2.3 MiB/s | 2.3 KiB | 00m00s [142/156] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [143/156] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [144/156] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [145/156] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [146/156] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [147/156] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [148/156] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [149/156] Installing python-srpm-macros 100% | 25.5 MiB/s | 52.2 KiB | 00m00s [150/156] Installing redhat-rpm-config- 100% | 37.7 MiB/s | 193.2 KiB | 00m00s [151/156] Installing rpm-build-0:4.20.0 100% | 33.0 MiB/s | 202.9 KiB | 00m00s [152/156] Installing pyproject-srpm-mac 100% | 834.6 KiB/s | 2.5 KiB | 00m00s [153/156] Installing util-linux-0:2.40. 100% | 72.8 MiB/s | 3.7 MiB | 00m00s [154/156] Installing authselect-0:1.5.0 100% | 31.6 MiB/s | 161.9 KiB | 00m00s [155/156] Installing which-0:2.21-42.fc 100% | 40.2 MiB/s | 82.4 KiB | 00m00s [156/156] Installing info-0:7.1.1-2.fc4 100% | 137.7 KiB/s | 362.2 KiB | 00m03s 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-9.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-3.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-20241128-1.gitbb7b0b0.fc42.noarch curl-8.11.1-2.fc42.x86_64 cyrus-sasl-lib-2.1.28-27.fc41.x86_64 debugedit-5.1-2.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-13.fc42.noarch elfutils-0.192-7.fc42.x86_64 elfutils-debuginfod-client-0.192-7.fc42.x86_64 elfutils-default-yama-scope-0.192-7.fc42.noarch elfutils-libelf-0.192-7.fc42.x86_64 elfutils-libs-0.192-7.fc42.x86_64 fedora-gpg-keys-42-0.3.noarch fedora-release-42-0.11.noarch fedora-release-common-42-0.11.noarch fedora-release-identity-basic-42-0.11.noarch fedora-repos-42-0.3.noarch fedora-repos-rawhide-42-0.3.noarch file-5.45-8.fc42.x86_64 file-libs-5.45-8.fc42.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-4.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-24.fc42.x86_64 glibc-common-2.40.9000-24.fc42.x86_64 glibc-gconv-extra-2.40.9000-24.fc42.x86_64 glibc-minimal-langpack-2.40.9000-24.fc42.x86_64 gmp-6.3.0-2.fc41.x86_64 gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-5.fc42.noarch gpg-pubkey-105ef944-65ca83d1 gpg-pubkey-31645531-66b6dccf gpg-pubkey-e99d6ad1-64d2612c grep-3.11-9.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.11.1-2.fc42.x86_64 libeconf-0.7.5-1.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.8-0.rc1.2.fc42.x86_64 libsemanage-3.8-0.rc1.1.fc42.x86_64 libsepol-3.8-0.rc1.1.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.5.4-1.fc42.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-11.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-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-6.fc42.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-3.fc42.x86_64 pam-libs-1.7.0-3.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-srpm-macros-1-56.fc41.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.3-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.1-4.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-3.fc42.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.17.0~rc1-1.fc42.x86_64 sqlite-libs-3.47.2-1.fc42.x86_64 systemd-libs-257-1.fc42.x86_64 tar-1.35-4.fc41.x86_64 unzip-6.0-65.fc42.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-42.fc42.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 Reading /var/tmp/rpm-tmp.k1TOCC setting SOURCE_DATE_EPOCH=1732579200 Wrote: /builddir/build/SRPMS/python-pybv-0.7.6-4.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-1734573954.833439/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-ic7u2uvr/python-pybv/python-pybv.spec) Config(child) 0 minutes 17 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-pybv-0.7.6-4.fc42.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734573954.833439/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734573954.833439/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-1734573954.833439/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-3.fc42.x86_64 dnf5-5.2.8.1-2.fc42.x86_64 dnf5-plugins-5.2.8.1-2.fc42.x86_64 Finish: chroot init Start: build phase for python-pybv-0.7.6-4.fc42.src.rpm Start: build setup for python-pybv-0.7.6-4.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 Reading /var/tmp/rpm-tmp.jLojDK setting SOURCE_DATE_EPOCH=1732579200 Wrote: /builddir/build/SRPMS/python-pybv-0.7.6-4.fc42.src.rpm Updating and loading repositories: fedora 100% | 764.5 KiB/s | 26.0 KiB | 00m00s Copr repository 100% | 55.1 KiB/s | 2.1 KiB | 00m00s Copr repository 100% | 2.0 MiB/s | 187.9 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-devel x86_64 3.13.1-2.fc42 fedora 1.8 MiB python3-matplotlib x86_64 3.9.3-1.fc42 fedora 20.9 MiB python3-mne x86_64 1.8.0-12.fc42 fedora 27.1 MiB python3-pytest noarch 8.3.4-1.fc42 fedora 20.8 MiB Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-13.fc41 fedora 192.7 KiB cairo x86_64 1.18.2-2.fc42 fedora 1.7 MiB default-fonts-core-sans noarch 4.2-2.fc42 fedora 11.9 KiB dejavu-sans-fonts noarch 2.37-24.fc41 fedora 5.5 MiB expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB flexiblas x86_64 3.4.4-3.fc41 fedora 48.5 KiB flexiblas-netlib x86_64 3.4.4-3.fc41 fedora 10.7 MiB flexiblas-openblas-openmp x86_64 3.4.4-3.fc41 fedora 43.3 KiB fontconfig x86_64 2.15.0-8.fc41 fedora 791.9 KiB fonts-filesystem noarch 1:2.0.5-17.fc41 fedora 0.0 B freetype x86_64 2.13.3-1.fc42 fedora 850.5 KiB fribidi x86_64 1.0.16-1.fc42 fedora 194.5 KiB glib2 x86_64 2.83.0-3.fc42 fedora 14.6 MiB gnutls x86_64 3.8.8-1.fc42 fedora 3.2 MiB google-noto-fonts-common noarch 20240901-1.fc42 fedora 17.5 KiB google-noto-sans-vf-fonts noarch 20240901-1.fc42 fedora 1.2 MiB graphite2 x86_64 1.3.14-16.fc41 fedora 192.0 KiB harfbuzz x86_64 10.1.0-2.fc42 fedora 2.7 MiB hdf5 x86_64 1.14.5-1.fc42 fedora 7.1 MiB jbigkit-libs x86_64 2.1-30.fc41 fedora 117.6 KiB lcms2 x86_64 2.16-4.fc41 fedora 424.9 KiB libX11 x86_64 1.8.10-2.fc42 fedora 1.3 MiB libX11-common noarch 1.8.10-2.fc42 fedora 1.1 MiB libXau x86_64 1.0.12-1.fc42 fedora 75.8 KiB libXext x86_64 1.3.6-2.fc41 fedora 90.1 KiB libXft x86_64 2.3.8-7.fc41 fedora 164.5 KiB libXrender x86_64 0.9.12-1.fc42 fedora 48.8 KiB libaec x86_64 1.1.3-1.fc42 fedora 98.1 KiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB libgfortran x86_64 14.2.1-6.fc42 fedora 3.0 MiB libimagequant x86_64 4.0.3-5.fc41 fedora 666.7 KiB libjpeg-turbo x86_64 3.0.4-1.fc42 fedora 789.1 KiB liblerc x86_64 4.0.0-7.fc41 fedora 607.5 KiB liblzf x86_64 3.6-29.fc41 fedora 53.8 KiB libpng x86_64 2:1.6.44-1.fc42 fedora 245.8 KiB libqhull_r x86_64 1:8.0.2-5.fc41 fedora 483.4 KiB libquadmath x86_64 14.2.1-6.fc42 fedora 325.9 KiB libraqm x86_64 0.10.1-1.fc42 fedora 32.7 KiB libtiff x86_64 4.7.0-2.fc42 fedora 620.0 KiB libwebp x86_64 1.4.0-4.fc41 fedora 822.6 KiB libxcb x86_64 1.17.0-3.fc42 fedora 1.2 MiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB nettle x86_64 3.10-3.fc41 fedora 793.0 KiB openblas x86_64 0.3.28-2.fc42 fedora 106.6 KiB openblas-openmp x86_64 0.3.28-2.fc42 fedora 39.3 MiB openjpeg x86_64 2.5.2-4.fc42 fedora 445.7 KiB pixman x86_64 0.44.2-1.fc42 fedora 664.5 KiB pyproject-rpm-macros noarch 1.16.3-1.fc42 fedora 113.7 KiB python-pip-wheel noarch 24.3.1-1.fc42 fedora 1.2 MiB python-rpm-macros noarch 3.13-3.fc41 fedora 22.1 KiB python3 x86_64 3.13.1-2.fc42 fedora 30.6 KiB python3-cached_property noarch 2.0.1-1.fc42 fedora 34.8 KiB python3-cairo x86_64 1.25.1-5.fc41 fedora 492.5 KiB python3-charset-normalizer noarch 3.4.0-1.fc42 fedora 319.9 KiB python3-contourpy x86_64 1.3.1-1.fc42 fedora 821.5 KiB python3-cycler noarch 0.11.0-13.fc41 fedora 37.6 KiB python3-dateutil noarch 1:2.8.2-16.fc41 fedora 879.2 KiB python3-decorator noarch 5.1.1-13.fc42 fedora 78.4 KiB python3-fonttools x86_64 4.55.2-1.fc42 fedora 18.0 MiB python3-h5io noarch 0.2.4-2.fc41 fedora 176.8 KiB python3-h5py x86_64 3.12.1-4.fc42 fedora 4.4 MiB python3-idna noarch 3.10-1.fc42 fedora 628.0 KiB python3-iniconfig noarch 1.1.1-23.fc41 fedora 20.6 KiB python3-jinja2 noarch 3.1.4-5.fc41 fedora 2.9 MiB python3-kiwisolver x86_64 1.4.7-1.fc42 fedora 153.9 KiB python3-lazy-loader noarch 0.4-3.fc41 fedora 74.1 KiB python3-libs x86_64 3.13.1-2.fc42 fedora 39.8 MiB python3-markupsafe x86_64 3.0.2-1.fc42 fedora 56.1 KiB python3-matplotlib-data noarch 3.9.3-1.fc42 fedora 726.7 KiB python3-matplotlib-data-fonts noarch 3.9.3-1.fc42 fedora 7.9 MiB python3-matplotlib-tk x86_64 3.9.3-1.fc42 fedora 256.4 KiB python3-numpy x86_64 1:2.2.0-2.fc42 fedora 40.8 MiB python3-numpy-f2py x86_64 1:2.2.0-2.fc42 fedora 2.0 MiB python3-olefile noarch 0.47-5.fc41 fedora 340.4 KiB python3-packaging noarch 24.2-2.fc42 copr_base 555.7 KiB python3-pillow x86_64 11.0.0-1.fc42 fedora 3.9 MiB python3-pillow-tk x86_64 11.0.0-1.fc42 fedora 73.0 KiB python3-platformdirs noarch 4.2.2-3.fc42 copr_base 162.0 KiB python3-pluggy noarch 1.5.0-1.fc41 fedora 193.2 KiB python3-pooch noarch 1.8.2-3.fc41 fedora 625.5 KiB python3-pymatreader noarch 1.0.0-1.fc42 copr_base 36.1 KiB python3-pyparsing noarch 3.1.2-7.fc41 fedora 1.0 MiB python3-requests noarch 2.32.3-3.fc41 fedora 485.9 KiB python3-rpm-generators noarch 14-11.fc41 fedora 81.7 KiB python3-rpm-macros noarch 3.13-3.fc41 fedora 6.4 KiB python3-scipy x86_64 1.14.1-2.fc42 fedora 66.8 MiB python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB python3-tempita noarch 0.5.2-14.fc41 fedora 153.7 KiB python3-tkinter x86_64 3.13.1-2.fc42 fedora 1.9 MiB python3-tqdm noarch 4.67.1-1.fc42 fedora 566.8 KiB python3-urllib3 noarch 2.2.3-5.fc42 copr_base 997.0 KiB python3-xmltodict noarch 0.13.0-5.fc41 fedora 55.2 KiB tcl x86_64 1:8.6.15-6.fc42 fedora 4.2 MiB tk x86_64 1:8.6.15-1.fc42 fedora 3.6 MiB tzdata noarch 2024b-1.fc42 fedora 1.6 MiB xml-common noarch 0.6.3-65.fc41 fedora 78.4 KiB Transaction Summary: Installing: 100 packages Total size of inbound packages is 91 MiB. Need to download 66 MiB. After this operation, 383 MiB extra will be used (install 383 MiB, remove 0 B). [1/3] python3-devel-0:3.13.1-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] freetype-0:2.13.3-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/9] python3-dateutil-1:2.8.2-16.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/16] python3-decorator-0:5.1.1-13.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/18] python3-jinja2-0:3.1.4-5.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/22] python3-six-0:1.16.0-23.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/25] python3-libs-0:3.13.1-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/26] fonts-filesystem-1:2.0.5-17.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/27] harfbuzz-0:10.1.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/28] libpng-2:1.6.44-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/29] tzdata-0:2024b-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/34] python3-markupsafe-0:3.0.2-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/35] python3-requests-0:2.32.3-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/38] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/39] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/40] mpdecimal-0:2.5.1-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/41] python-pip-wheel-0:24.3.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/42] glib2-0:2.83.0-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/43] graphite2-0:1.3.14-16.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/51] python3-charset-normalizer-0:3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/52] python3-idna-0:3.10-1.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/53] gnutls-0:3.8.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/54] lcms2-0:2.16-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/55] libimagequant-0:4.0.3-5.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/56] libjpeg-turbo-0:3.0.4-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/58] libtiff-0:4.7.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/59] libwebp-0:1.4.0-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/60] libxcb-0:1.17.0-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/61] openjpeg-0:2.5.2-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/65] nettle-0:3.10-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/67] jbigkit-libs-0:2.1-30.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/68] liblerc-0:4.0.0-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/69] libXau-0:1.0.12-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/70] python3-pytest-0:8.3.4-1.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/71] python3-iniconfig-0:1.1.1-23.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [36/72] python3-pluggy-0:1.5.0-1.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [37/73] python3-0:3.13.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [38/74] python3-urllib3-0:2.2.3-5.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [39/75] python3-packaging-0:24.2-2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [40/76] python3-platformdirs-0:4.2.2-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [41/80] fontconfig-0:2.15.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [42/81] libX11-0:1.8.10-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [43/83] default-fonts-core-sans-0:4.2-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [44/84] xml-common-0:0.6.3-65.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [45/85] libX11-common-0:1.8.10-2.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [46/87] abattis-cantarell-vf-fonts-0:0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [47/88] google-noto-sans-vf-fonts-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [48/89] google-noto-fonts-common-0:2024 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [49/94] libXext-0:1.3.6-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [50/97] pyproject-rpm-macros-0:1.16.3-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [51/98] python-rpm-macros-0:3.13-3.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [52/99] python3-rpm-generators-0:14-11. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/100] python3-rpm-macros-0:3.13-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/100] dejavu-sans-fonts-0:2.37-24.f 100% | 6.2 MiB/s | 1.3 MiB | 00m00s [ 55/100] libqhull_r-1:8.0.2-5.fc41.x86 100% | 4.6 MiB/s | 201.8 KiB | 00m00s [ 56/100] python3-matplotlib-0:3.9.3-1. 100% | 15.5 MiB/s | 4.6 MiB | 00m00s [ 57/100] python3-contourpy-0:1.3.1-1.f 100% | 6.2 MiB/s | 278.6 KiB | 00m00s [ 58/100] python3-cycler-0:0.11.0-13.fc 100% | 520.6 KiB/s | 21.3 KiB | 00m00s [ 59/100] python3-kiwisolver-0:1.4.7-1. 100% | 1.6 MiB/s | 66.7 KiB | 00m00s [ 60/100] python3-fonttools-0:4.55.2-1. 100% | 24.3 MiB/s | 3.0 MiB | 00m00s [ 61/100] python3-matplotlib-data-0:3.9 100% | 10.4 MiB/s | 522.4 KiB | 00m00s [ 62/100] python3-matplotlib-tk-0:3.9.3 100% | 2.5 MiB/s | 107.3 KiB | 00m00s [ 63/100] python3-pyparsing-0:3.1.2-7.f 100% | 6.2 MiB/s | 277.4 KiB | 00m00s [ 64/100] python3-h5io-0:0.2.4-2.fc41.n 100% | 1.0 MiB/s | 51.9 KiB | 00m00s [ 65/100] python3-lazy-loader-0:0.4-3.f 100% | 939.2 KiB/s | 38.5 KiB | 00m00s [ 66/100] python3-pooch-0:1.8.2-3.fc41. 100% | 2.0 MiB/s | 138.6 KiB | 00m00s [ 67/100] python3-numpy-1:2.2.0-2.fc42. 100% | 24.0 MiB/s | 7.9 MiB | 00m00s [ 68/100] python3-tempita-0:0.5.2-14.fc 100% | 1.0 MiB/s | 44.9 KiB | 00m00s [ 69/100] python3-tqdm-0:4.67.1-1.fc42. 100% | 3.9 MiB/s | 177.9 KiB | 00m00s [ 70/100] python3-mne-0:1.8.0-12.fc42.x 100% | 10.2 MiB/s | 9.1 MiB | 00m01s [ 71/100] python3-pillow-tk-0:11.0.0-1. 100% | 734.6 KiB/s | 30.9 KiB | 00m00s [ 72/100] python3-matplotlib-data-fonts 100% | 16.4 MiB/s | 2.3 MiB | 00m00s [ 73/100] python3-h5py-0:3.12.1-4.fc42. 100% | 7.8 MiB/s | 1.1 MiB | 00m00s [ 74/100] flexiblas-netlib-0:3.4.4-3.fc 100% | 14.5 MiB/s | 3.2 MiB | 00m00s [ 75/100] libgfortran-0:14.2.1-6.fc42.x 100% | 11.9 MiB/s | 939.2 KiB | 00m00s [ 76/100] python3-numpy-f2py-1:2.2.0-2. 100% | 6.4 MiB/s | 490.6 KiB | 00m00s [ 77/100] flexiblas-0:3.4.4-3.fc41.x86_ 100% | 665.4 KiB/s | 25.3 KiB | 00m00s [ 78/100] python3-pillow-0:11.0.0-1.fc4 100% | 12.2 MiB/s | 1.0 MiB | 00m00s [ 79/100] flexiblas-openblas-openmp-0:3 100% | 442.2 KiB/s | 17.2 KiB | 00m00s [ 80/100] libquadmath-0:14.2.1-6.fc42.x 100% | 5.0 MiB/s | 204.3 KiB | 00m00s [ 81/100] liblzf-0:3.6-29.fc41.x86_64 100% | 737.2 KiB/s | 28.0 KiB | 00m00s [ 82/100] python3-cached_property-0:2.0 100% | 342.9 KiB/s | 19.9 KiB | 00m00s [ 83/100] libraqm-0:0.10.1-1.fc42.x86_6 100% | 575.2 KiB/s | 22.4 KiB | 00m00s [ 84/100] hdf5-0:1.14.5-1.fc42.x86_64 100% | 11.4 MiB/s | 2.1 MiB | 00m00s [ 85/100] python3-olefile-0:0.47-5.fc41 100% | 1.7 MiB/s | 74.6 KiB | 00m00s [ 86/100] libaec-0:1.1.3-1.fc42.x86_64 100% | 912.4 KiB/s | 37.4 KiB | 00m00s [ 87/100] fribidi-0:1.0.16-1.fc42.x86_6 100% | 1.3 MiB/s | 53.7 KiB | 00m00s [ 88/100] python3-tkinter-0:3.13.1-2.fc 100% | 6.3 MiB/s | 377.9 KiB | 00m00s [ 89/100] tcl-1:8.6.15-6.fc42.x86_64 100% | 11.7 MiB/s | 1.1 MiB | 00m00s [ 90/100] openblas-openmp-0:0.3.28-2.fc 100% | 15.8 MiB/s | 5.0 MiB | 00m00s [ 91/100] libXft-0:2.3.8-7.fc41.x86_64 100% | 1.8 MiB/s | 72.3 KiB | 00m00s [ 92/100] tk-1:8.6.15-1.fc42.x86_64 100% | 12.8 MiB/s | 1.6 MiB | 00m00s [ 93/100] libXrender-0:0.9.12-1.fc42.x8 100% | 687.0 KiB/s | 26.1 KiB | 00m00s [ 94/100] python3-pymatreader-0:1.0.0-1 100% | 871.9 KiB/s | 24.4 KiB | 00m00s [ 95/100] python3-xmltodict-0:0.13.0-5. 100% | 641.6 KiB/s | 26.3 KiB | 00m00s [ 96/100] python3-cairo-0:1.25.1-5.fc41 100% | 2.9 MiB/s | 124.6 KiB | 00m00s [ 97/100] python3-scipy-0:1.14.1-2.fc42 100% | 12.8 MiB/s | 16.8 MiB | 00m01s [ 98/100] pixman-0:0.44.2-1.fc42.x86_64 100% | 5.5 MiB/s | 269.5 KiB | 00m00s [ 99/100] cairo-0:1.18.2-2.fc42.x86_64 100% | 8.4 MiB/s | 694.5 KiB | 00m00s [100/100] openblas-0:0.3.28-2.fc42.x86_ 100% | 1.1 MiB/s | 41.0 KiB | 00m00s -------------------------------------------------------------------------------- [100/100] Total 100% | 31.3 MiB/s | 65.6 MiB | 00m02s Running transaction [ 1/102] Verify package files 100% | 333.0 B/s | 100.0 B | 00m00s [ 2/102] Prepare transaction 100% | 675.0 B/s | 100.0 B | 00m00s [ 3/102] Installing libgfortran-0:14.2 100% | 253.7 MiB/s | 3.0 MiB | 00m00s [ 4/102] Installing fonts-filesystem-1 100% | 0.0 B/s | 788.0 B | 00m00s [ 5/102] Installing python-rpm-macros- 100% | 22.3 MiB/s | 22.8 KiB | 00m00s [ 6/102] Installing python3-rpm-macros 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 7/102] Installing python3-matplotlib 100% | 263.7 MiB/s | 7.9 MiB | 00m00s [ 8/102] Installing python3-matplotlib 100% | 103.6 MiB/s | 742.6 KiB | 00m00s [ 9/102] Installing tcl-1:8.6.15-6.fc4 100% | 193.2 MiB/s | 4.2 MiB | 00m00s [ 10/102] Installing libwebp-0:1.4.0-4. 100% | 201.8 MiB/s | 826.8 KiB | 00m00s [ 11/102] Installing libjpeg-turbo-0:3. 100% | 110.3 MiB/s | 790.8 KiB | 00m00s [ 12/102] Installing tzdata-0:2024b-1.f 100% | 25.5 MiB/s | 1.9 MiB | 00m00s [ 13/102] Installing libpng-2:1.6.44-1. 100% | 120.6 MiB/s | 247.0 KiB | 00m00s [ 14/102] Installing pyproject-rpm-macr 100% | 56.5 MiB/s | 115.7 KiB | 00m00s [ 15/102] Installing dejavu-sans-fonts- 100% | 324.0 MiB/s | 5.5 MiB | 00m00s [ 16/102] Installing abattis-cantarell- 100% | 94.9 MiB/s | 194.4 KiB | 00m00s [ 17/102] Installing openblas-0:0.3.28- 100% | 105.8 MiB/s | 108.3 KiB | 00m00s [ 18/102] Installing openblas-openmp-0: 100% | 462.2 MiB/s | 39.3 MiB | 00m00s [ 19/102] Installing pixman-0:0.44.2-1. 100% | 216.7 MiB/s | 665.6 KiB | 00m00s [ 20/102] Installing google-noto-fonts- 100% | 17.8 MiB/s | 18.3 KiB | 00m00s [ 21/102] Installing google-noto-sans-v 100% | 249.8 MiB/s | 1.2 MiB | 00m00s [ 22/102] Installing default-fonts-core 100% | 8.9 MiB/s | 18.2 KiB | 00m00s [ 23/102] Installing libX11-common-0:1. 100% | 44.0 MiB/s | 1.2 MiB | 00m00s [ 24/102] Installing xml-common-0:0.6.3 100% | 39.6 MiB/s | 81.1 KiB | 00m00s [ 25/102] Installing libXau-0:1.0.12-1. 100% | 75.6 MiB/s | 77.4 KiB | 00m00s [ 26/102] Installing libxcb-0:1.17.0-3. 100% | 132.0 MiB/s | 1.2 MiB | 00m00s [ 27/102] Installing libX11-0:1.8.10-2. 100% | 257.1 MiB/s | 1.3 MiB | 00m00s [ 28/102] Installing libXrender-0:0.9.1 100% | 48.8 MiB/s | 50.0 KiB | 00m00s [ 29/102] Installing libXext-0:1.3.6-2. 100% | 89.2 MiB/s | 91.3 KiB | 00m00s [ 30/102] Installing liblerc-0:4.0.0-7. 100% | 198.3 MiB/s | 609.0 KiB | 00m00s [ 31/102] Installing jbigkit-libs-0:2.1 100% | 116.8 MiB/s | 119.6 KiB | 00m00s [ 32/102] Installing libtiff-0:4.7.0-2. 100% | 202.6 MiB/s | 622.3 KiB | 00m00s [ 33/102] Installing fribidi-0:1.0.16-1 100% | 96.2 MiB/s | 197.0 KiB | 00m00s [ 34/102] Installing nettle-0:3.10-3.fc 100% | 194.4 MiB/s | 796.1 KiB | 00m00s [ 35/102] Installing gnutls-0:3.8.8-1.f 100% | 216.6 MiB/s | 3.2 MiB | 00m00s [ 36/102] Installing glib2-0:2.83.0-3.f 100% | 248.6 MiB/s | 14.7 MiB | 00m00s [ 37/102] Installing libaec-0:1.1.3-1.f 100% | 49.1 MiB/s | 100.5 KiB | 00m00s [ 38/102] Installing hdf5-0:1.14.5-1.fc 100% | 263.6 MiB/s | 7.1 MiB | 00m00s [ 39/102] Installing openjpeg-0:2.5.2-4 100% | 145.7 MiB/s | 447.6 KiB | 00m00s [ 40/102] Installing libimagequant-0:4. 100% | 217.6 MiB/s | 668.3 KiB | 00m00s [ 41/102] Installing lcms2-0:2.16-4.fc4 100% | 208.3 MiB/s | 426.5 KiB | 00m00s [ 42/102] Installing liblzf-0:3.6-29.fc 100% | 27.4 MiB/s | 56.2 KiB | 00m00s [ 43/102] Installing libquadmath-0:14.2 100% | 159.8 MiB/s | 327.2 KiB | 00m00s [ 44/102] Installing flexiblas-0:3.4.4- 100% | 48.5 MiB/s | 49.7 KiB | 00m00s [ 45/102] Installing flexiblas-openblas 100% | 43.1 MiB/s | 44.1 KiB | 00m00s [ 46/102] Installing flexiblas-netlib-0 100% | 313.7 MiB/s | 10.7 MiB | 00m00s [ 47/102] Installing graphite2-0:1.3.14 100% | 94.8 MiB/s | 194.1 KiB | 00m00s [ 48/102] Installing harfbuzz-0:10.1.0- 100% | 265.7 MiB/s | 2.7 MiB | 00m00s [ 49/102] Installing freetype-0:2.13.3- 100% | 166.4 MiB/s | 852.2 KiB | 00m00s [ 50/102] Installing fontconfig-0:2.15. 100% | 777.7 KiB/s | 811.1 KiB | 00m01s [ 51/102] Installing libXft-0:2.3.8-7.f 100% | 13.5 MiB/s | 166.0 KiB | 00m00s [ 52/102] Installing tk-1:8.6.15-1.fc42 100% | 153.6 MiB/s | 3.7 MiB | 00m00s [ 53/102] Installing cairo-0:1.18.2-2.f 100% | 218.6 MiB/s | 1.7 MiB | 00m00s [ 54/102] Installing libraqm-0:0.10.1-1 100% | 33.0 MiB/s | 33.8 KiB | 00m00s [ 55/102] Installing python-pip-wheel-0 100% | 414.7 MiB/s | 1.2 MiB | 00m00s [ 56/102] Installing mpdecimal-0:2.5.1- 100% | 201.2 MiB/s | 206.0 KiB | 00m00s [ 57/102] Installing libb2-0:0.98.1-12. 100% | 42.3 MiB/s | 43.3 KiB | 00m00s [ 58/102] Installing expat-0:2.6.4-1.fc 100% | 35.1 MiB/s | 287.6 KiB | 00m00s [ 59/102] Installing python3-libs-0:3.1 100% | 206.2 MiB/s | 40.2 MiB | 00m00s [ 60/102] Installing python3-0:3.13.1-2 100% | 6.3 MiB/s | 32.4 KiB | 00m00s [ 61/102] Installing python3-numpy-1:2. 100% | 243.1 MiB/s | 41.1 MiB | 00m00s [ 62/102] Installing python3-packaging- 100% | 110.9 MiB/s | 568.0 KiB | 00m00s [ 63/102] Installing python3-six-0:1.16 100% | 58.9 MiB/s | 120.7 KiB | 00m00s [ 64/102] Installing python3-idna-0:3.1 100% | 154.9 MiB/s | 634.3 KiB | 00m00s [ 65/102] Installing python3-tkinter-0: 100% | 171.9 MiB/s | 1.9 MiB | 00m00s [ 66/102] Installing python3-urllib3-0: 100% | 110.8 MiB/s | 1.0 MiB | 00m00s [ 67/102] Installing python3-dateutil-1 100% | 145.3 MiB/s | 892.9 KiB | 00m00s [ 68/102] Installing python3-lazy-loade 100% | 26.2 MiB/s | 80.4 KiB | 00m00s [ 69/102] Installing python3-rpm-genera 100% | 40.5 MiB/s | 82.9 KiB | 00m00s [ 70/102] Installing python3-devel-0:3. 100% | 106.8 MiB/s | 1.8 MiB | 00m00s [ 71/102] Installing python3-numpy-f2py 100% | 94.0 MiB/s | 2.1 MiB | 00m00s [ 72/102] Installing python3-contourpy- 100% | 135.8 MiB/s | 834.4 KiB | 00m00s [ 73/102] Installing python3-cycler-0:0 100% | 9.7 MiB/s | 39.8 KiB | 00m00s [ 74/102] Installing python3-fonttools- 100% | 212.1 MiB/s | 18.2 MiB | 00m00s [ 75/102] Installing python3-kiwisolver 100% | 77.1 MiB/s | 157.8 KiB | 00m00s [ 76/102] Installing python3-pyparsing- 100% | 164.8 MiB/s | 1.0 MiB | 00m00s [ 77/102] Installing python3-decorator- 100% | 39.6 MiB/s | 81.1 KiB | 00m00s [ 78/102] Installing python3-tempita-0: 100% | 76.9 MiB/s | 157.4 KiB | 00m00s [ 79/102] Installing python3-tqdm-0:4.6 100% | 82.3 MiB/s | 590.0 KiB | 00m00s [ 80/102] Installing python3-markupsafe 100% | 19.6 MiB/s | 60.2 KiB | 00m00s [ 81/102] Installing python3-jinja2-0:3 100% | 223.5 MiB/s | 2.9 MiB | 00m00s [ 82/102] Installing python3-cached_pro 100% | 18.3 MiB/s | 37.5 KiB | 00m00s [ 83/102] Installing python3-h5py-0:3.1 100% | 210.4 MiB/s | 4.4 MiB | 00m00s [ 84/102] Installing python3-h5io-0:0.2 100% | 88.4 MiB/s | 181.0 KiB | 00m00s [ 85/102] Installing python3-charset-no 100% | 80.5 MiB/s | 329.8 KiB | 00m00s [ 86/102] Installing python3-requests-0 100% | 97.3 MiB/s | 498.0 KiB | 00m00s [ 87/102] Installing python3-olefile-0: 100% | 111.9 MiB/s | 343.6 KiB | 00m00s [ 88/102] Installing python3-pillow-0:1 100% | 173.5 MiB/s | 4.0 MiB | 00m00s [ 89/102] Installing python3-pillow-tk- 100% | 73.1 MiB/s | 74.8 KiB | 00m00s [ 90/102] Installing python3-iniconfig- 100% | 23.0 MiB/s | 23.6 KiB | 00m00s [ 91/102] Installing python3-pluggy-0:1 100% | 97.4 MiB/s | 199.4 KiB | 00m00s [ 92/102] Installing python3-platformdi 100% | 54.8 MiB/s | 168.4 KiB | 00m00s [ 93/102] Installing python3-pooch-0:1. 100% | 56.9 MiB/s | 640.5 KiB | 00m00s [ 94/102] Installing python3-scipy-0:1. 100% | 254.4 MiB/s | 67.1 MiB | 00m00s [ 95/102] Installing python3-xmltodict- 100% | 56.0 MiB/s | 57.4 KiB | 00m00s [ 96/102] Installing python3-pymatreade 100% | 19.7 MiB/s | 40.4 KiB | 00m00s [ 97/102] Installing python3-cairo-0:1. 100% | 121.2 MiB/s | 496.6 KiB | 00m00s [ 98/102] Installing libqhull_r-1:8.0.2 100% | 236.4 MiB/s | 484.2 KiB | 00m00s [ 99/102] Installing python3-matplotlib 100% | 50.6 MiB/s | 259.0 KiB | 00m00s [100/102] Installing python3-matplotlib 100% | 209.3 MiB/s | 21.1 MiB | 00m00s [101/102] Installing python3-mne-0:1.8. 100% | 173.4 MiB/s | 27.4 MiB | 00m00s [102/102] Installing python3-pytest-0:8 100% | 85.4 MiB/s | 21.0 MiB | 00m00s Warning: skipped OpenPGP checks for 4 packages from repository: copr_base Complete! Finish: build setup for python-pybv-0.7.6-4.fc42.src.rpm Start: rpmbuild python-pybv-0.7.6-4.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 Reading /var/tmp/rpm-tmp.p3sOrl setting SOURCE_DATE_EPOCH=1732579200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.6uslOW + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-build + test -d /builddir/build/BUILD/python-pybv-0.7.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-pybv-0.7.6-build + /usr/bin/rm -rf /builddir/build/BUILD/python-pybv-0.7.6-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pybv-0.7.6-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pybv-0.7.6-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OppkVc + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-build + cd /builddir/build/BUILD/python-pybv-0.7.6-build + rm -rf python-pybv-0.7.6 + /usr/lib/rpm/rpmuncompress -x -C python-pybv-0.7.6 /builddir/build/SOURCES/pybv-0.7.6-filtered.tar.zst + STATUS=0 + '[' 0 -ne 0 ']' + cd python-pybv-0.7.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -r -i 's/--cov[^[:blank:]]+//g' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.37M3xN + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-build + cd python-pybv-0.7.6 + export SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + 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-pybv-0.7.6-build/python-pybv-0.7.6/.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-pybv-0.7.6-build/python-pybv-0.7.6/.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-pybv-0.7.6-build/python-pybv-0.7.6/pyproject-wheeldir --output /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-buildrequires Handling hatch-vcs from build-system.requires Requirement not satisfied: hatch-vcs Handling hatchling from build-system.requires Requirement not satisfied: hatchling Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pybv-0.7.6-4.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 1.0 MiB/s | 26.0 KiB | 00m00s Copr repository 100% | 67.2 KiB/s | 2.1 KiB | 00m00s Copr repository 100% | 2.1 MiB/s | 188.4 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-devel-3.13.1-2.fc42.x86_64" is already installed. Package "python3-matplotlib-3.9.3-1.fc42.x86_64" is already installed. Package "python3-mne-1.8.0-12.fc42.x86_64" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pytest-8.3.4-1.fc42.noarch" is already installed. Package Arch Version Repository Size Installing: python3-hatch-vcs noarch 0.4.0-6.fc42 copr_base 33.6 KiB python3-hatchling noarch 1.27.0-1.fc42 copr_base 604.2 KiB python3-pip noarch 24.3.1-1.fc42 fedora 11.3 MiB Installing dependencies: python3-pathspec noarch 0.12.1-6.fc41 fedora 195.2 KiB python3-setuptools noarch 74.1.3-4.fc42 fedora 8.4 MiB python3-setuptools_scm noarch 8.1.0-1.fc42 fedora 320.0 KiB python3-trove-classifiers noarch 2024.10.21.16-2.fc42 fedora 92.1 KiB Transaction Summary: Installing: 7 packages Total size of inbound packages is 5 MiB. Need to download 141 KiB. After this operation, 21 MiB extra will be used (install 21 MiB, remove 0 B). [1/1] python3-pip-0:24.3.1-1.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] python3-hatchling-0:1.27.0-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] python3-pathspec-0:0.12.1-6.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/6] python3-trove-classifiers-0:2024. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/7] python3-setuptools-0:74.1.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/7] python3-hatch-vcs-0:0.4.0-6.fc42. 100% | 735.4 KiB/s | 23.5 KiB | 00m00s [6/7] python3-setuptools_scm-0:8.1.0-1. 100% | 245.8 KiB/s | 117.0 KiB | 00m00s -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/9] Verify package files 100% | 411.0 B/s | 7.0 B | 00m00s [2/9] Prepare transaction 100% | 148.0 B/s | 7.0 B | 00m00s [3/9] Installing python3-setuptools-0:7 100% | 114.1 MiB/s | 8.6 MiB | 00m00s [4/9] Installing python3-setuptools_scm 100% | 55.3 MiB/s | 339.7 KiB | 00m00s [5/9] Installing python3-trove-classifi 100% | 46.5 MiB/s | 95.3 KiB | 00m00s [6/9] Installing python3-pathspec-0:0.1 100% | 65.8 MiB/s | 202.0 KiB | 00m00s [7/9] Installing python3-hatchling-0:1. 100% | 39.9 MiB/s | 653.4 KiB | 00m00s [8/9] Installing python3-hatch-vcs-0:0. 100% | 7.7 MiB/s | 39.7 KiB | 00m00s [9/9] Installing python3-pip-0:24.3.1-1 100% | 90.7 MiB/s | 11.6 MiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 Reading /var/tmp/rpm-tmp.hKfsEP setting SOURCE_DATE_EPOCH=1732579200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.RtZSOv + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-build + cd python-pybv-0.7.6 + export SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + 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-pybv-0.7.6-build/python-pybv-0.7.6/.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-pybv-0.7.6-build/python-pybv-0.7.6/.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-pybv-0.7.6-build/python-pybv-0.7.6/pyproject-wheeldir --output /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-buildrequires Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.4.0) Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.27.0) Handling numpy>=1.18.1 from hook generated metadata: Requires-Dist (pybv) Requirement satisfied: numpy>=1.18.1 (installed: numpy 2.2.0) Handling build; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: build; extra == 'dev' Handling intersphinx-registry; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: intersphinx-registry; extra == 'dev' Handling ipykernel; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ipykernel; extra == 'dev' Handling ipython; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ipython; extra == 'dev' Handling matplotlib; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: matplotlib; extra == 'dev' Handling mne; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: mne; extra == 'dev' Handling numpydoc; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: numpydoc; extra == 'dev' Handling pre-commit; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pre-commit; extra == 'dev' Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest; extra == 'dev' Handling pytest-cov; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-cov; extra == 'dev' Handling pytest-sugar; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-sugar; extra == 'dev' Handling ruff; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ruff; extra == 'dev' Handling sphinx; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx; extra == 'dev' Handling sphinx-copybutton; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx-copybutton; extra == 'dev' Handling twine; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: twine; extra == 'dev' Handling intersphinx-registry; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: intersphinx-registry; extra == 'docs' Handling matplotlib; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: matplotlib; extra == 'docs' Handling numpydoc; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: numpydoc; extra == 'docs' Handling sphinx; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx; extra == 'docs' Handling sphinx-copybutton; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx-copybutton; extra == 'docs' Handling build; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: build; extra == 'test' Handling matplotlib; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: matplotlib; extra == 'test' Handling mne; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: mne; extra == 'test' Handling pre-commit; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pre-commit; extra == 'test' Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest; extra == 'test' Handling pytest-cov; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-cov; extra == 'test' Handling pytest-sugar; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-sugar; extra == 'test' Handling ruff; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ruff; extra == 'test' Handling twine; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: twine; extra == 'test' + cat /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-buildrequires + rm -rfv pybv-0.7.6.dist-info/ removed 'pybv-0.7.6.dist-info/METADATA' removed directory 'pybv-0.7.6.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pybv-0.7.6-4.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 63.2 KiB/s | 2.1 KiB | 00m00s fedora 100% | 1.1 MiB/s | 26.0 KiB | 00m00s Repositories loaded. Nothing to do. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-devel-3.13.1-2.fc42.x86_64" is already installed. Package "python3-hatch-vcs-0.4.0-6.fc42.noarch" is already installed. Package "python3-hatchling-1.27.0-1.fc42.noarch" is already installed. Package "python3-matplotlib-3.9.3-1.fc42.x86_64" is already installed. Package "python3-mne-1.8.0-12.fc42.x86_64" is already installed. Package "python3-numpy-1:2.2.0-2.fc42.x86_64" 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-pytest-8.3.4-1.fc42.noarch" is already installed. Building target platforms: x86_64 Building for target x86_64 Reading /var/tmp/rpm-tmp.qTzLJ6 setting SOURCE_DATE_EPOCH=1732579200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.d9OMF6 + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-build + cd python-pybv-0.7.6 + export SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + 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-pybv-0.7.6-build/python-pybv-0.7.6/.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-pybv-0.7.6-build/python-pybv-0.7.6/.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-pybv-0.7.6-build/python-pybv-0.7.6/pyproject-wheeldir --output /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-buildrequires Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.4.0) Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.27.0) Handling numpy>=1.18.1 from hook generated metadata: Requires-Dist (pybv) Requirement satisfied: numpy>=1.18.1 (installed: numpy 2.2.0) Handling build; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: build; extra == 'dev' Handling intersphinx-registry; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: intersphinx-registry; extra == 'dev' Handling ipykernel; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ipykernel; extra == 'dev' Handling ipython; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ipython; extra == 'dev' Handling matplotlib; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: matplotlib; extra == 'dev' Handling mne; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: mne; extra == 'dev' Handling numpydoc; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: numpydoc; extra == 'dev' Handling pre-commit; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pre-commit; extra == 'dev' Handling pytest; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest; extra == 'dev' Handling pytest-cov; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-cov; extra == 'dev' Handling pytest-sugar; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-sugar; extra == 'dev' Handling ruff; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ruff; extra == 'dev' Handling sphinx; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx; extra == 'dev' Handling sphinx-copybutton; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx-copybutton; extra == 'dev' Handling twine; extra == 'dev' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: twine; extra == 'dev' Handling intersphinx-registry; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: intersphinx-registry; extra == 'docs' Handling matplotlib; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: matplotlib; extra == 'docs' Handling numpydoc; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: numpydoc; extra == 'docs' Handling sphinx; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx; extra == 'docs' Handling sphinx-copybutton; extra == 'docs' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: sphinx-copybutton; extra == 'docs' Handling build; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: build; extra == 'test' Handling matplotlib; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: matplotlib; extra == 'test' Handling mne; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: mne; extra == 'test' Handling pre-commit; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pre-commit; extra == 'test' Handling pytest; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest; extra == 'test' Handling pytest-cov; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-cov; extra == 'test' Handling pytest-sugar; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: pytest-sugar; extra == 'test' Handling ruff; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: ruff; extra == 'test' Handling twine; extra == 'test' from hook generated metadata: Requires-Dist (pybv) Ignoring alien requirement: twine; extra == 'test' + cat /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-buildrequires + rm -rfv pybv-0.7.6.dist-info/ removed 'pybv-0.7.6.dist-info/METADATA' removed directory 'pybv-0.7.6.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%conf): /bin/sh -e /var/tmp/rpm-tmp.S3ET3M + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-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 python-pybv-0.7.6 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gIMWCy + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-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 python-pybv-0.7.6 + export SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + SETUPTOOLS_SCM_PRETEND_VERSION=0.7.6 + mkdir -p /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/.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-pybv-0.7.6-build/python-pybv-0.7.6/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/pyproject-wheeldir Processing /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pybv Building wheel for pybv (pyproject.toml): started Running command Building wheel for pybv (pyproject.toml) Building wheel for pybv (pyproject.toml): finished with status 'done' Created wheel for pybv: filename=pybv-0.7.6-py3-none-any.whl size=16220 sha256=b04b6d83a9c003676922ff79476b8bd01884f84ec5d2462106efe18ee971318c Stored in directory: /builddir/.cache/pip/wheels/34/ab/02/447e34989b0981444f75a55b2e160f6903db00c534e7b416cd Successfully built pybv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.U8iliX + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-build + '[' /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-pybv-0.7.6-build + mkdir /builddir/build/BUILD/python-pybv-0.7.6-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 python-pybv-0.7.6 ++ ls /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/pyproject-wheeldir/pybv-0.7.6-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pybv==0.7.6 + '[' -z pybv==0.7.6 ']' + TMPDIR=/builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-pybv-0.7.6-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-pybv-0.7.6-build/python-pybv-0.7.6/pyproject-wheeldir pybv==0.7.6 Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/pyproject-wheeldir Processing ./pyproject-wheeldir/pybv-0.7.6-py3-none-any.whl Installing collected packages: pybv Successfully installed pybv-0.7.6 + '[' -d /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/pybv-0.7.6.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv-0.7.6.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-pybv-0.7.6-build/BUILDROOT --record /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv-0.7.6.dist-info/RECORD --output /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv-0.7.6.dist-info/RECORD removed '/builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv-0.7.6.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv-0.7.6.dist-info/REQUESTED removed '/builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv-0.7.6.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.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-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-pybv-0.7.6-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-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-record --prefix /usr -l pybv + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-pybv-0.7.6-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-pybv-0.7.6-build/BUILDROOT /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv/__pycache__/io.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages/pybv/__pycache__/io.cpython-313.pyc: replacing with normalized version Scanned 9 directories and 10 files, processed 3 inodes, 3 modified (2 replaced + 1 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.AD8KWh + umask 022 + cd /builddir/build/BUILD/python-pybv-0.7.6-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 python-pybv-0.7.6 + '[' '!' -f /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-modules ']' + PATH=/builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages + _PYTHONSITE=/builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-pybv-0.7.6-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6-4.fc42.x86_64-pyproject-modules Check import: pybv Check import: pybv.io + PYTHONPATH=/builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6 + 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-pybv-0.7.6-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6 + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest --ignore=docs ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6 configfile: pyproject.toml collecting ... collected 197 items pybv/io.py::pybv.io.write_brainvision PASSED tests/test_write_brainvision.py::test_non_stim_resp_event_first PASSED tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg0] PASSED tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg1] PASSED tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg2] PASSED tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg3] PASSED tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg4] PASSED tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg5] PASSED tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg6] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg0] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg1] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg2] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg3] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg4] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg5] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg6] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg7] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg8] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg9] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg10] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg11] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg12] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg13] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg14] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg15] PASSED tests/test_write_brainvision.py::test_bv_writer_events_list_of_dict[events_errormsg16] PASSED tests/test_write_brainvision.py::test_kw_only_args PASSED tests/test_write_brainvision.py::test_bv_writer_inputs PASSED tests/test_write_brainvision.py::test_bv_bad_format PASSED tests/test_write_brainvision.py::test_bad_meas_date[1-`meas_date` must be of type str, datetime] PASSED tests/test_write_brainvision.py::test_bad_meas_date[-Got a str for `meas_date`, but it was] PASSED tests/test_write_brainvision.py::test_bad_meas_date[1973-Got a str for `meas_date`, but it was] PASSED tests/test_write_brainvision.py::test_comma_in_ch_name[ch_names_tricky0] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 428, in test_comma_in_ch_name raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_comma_in_ch_name[ch_names_tricky1] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 428, in test_comma_in_ch_name raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_read_cycle[20000101120000000000-ch_9] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 472, in test_write_read_cycle raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_read_cycle[meas_date1-None] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 472, in test_write_read_cycle raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.1-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.1-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.01-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.01-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.001-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.0001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.0001-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-05-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-05-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-06-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-06-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-07-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-08-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-08-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-09-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-09-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[V-3.141592653589793-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-3.141592653589793-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.5-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.5-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-2.7e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-2.7e-07-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-13.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-13.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.1-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.1-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.01-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.01-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.001-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.0001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.0001-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-05-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-05-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-06-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-06-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-08-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-08-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-09-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-09-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[mV-3.141592653589793-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-3.141592653589793-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.5-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.5-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-2.7e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-2.7e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[mV-13.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-13.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.1-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.1-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.01-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.01-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.001-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.0001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.0001-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-05-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-05-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-06-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-06-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-08-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-08-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-09-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-09-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-3.141592653589793-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-3.141592653589793-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.5-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.5-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-2.7e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-2.7e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-13.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-13.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.1-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.1-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.01-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.01-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.001-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.0001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.0001-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-05-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-05-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-06-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-06-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-08-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-08-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-09-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-09-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-3.141592653589793-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-3.141592653589793-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.5-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.5-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-2.7e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-2.7e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[uV-13.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-13.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1.0-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.1-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.1-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.01-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.01-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.001-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.0001-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.0001-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-05-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-05-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-06-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-06-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-08-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-08-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-09-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-09-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-3.141592653589793-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-3.141592653589793-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.5-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.5-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-2.7e-07-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-2.7e-07-binary_int16] PASSED tests/test_write_brainvision.py::test_format_resolution_unit[nV-13.0-binary_float32] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-13.0-binary_int16] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 543, in test_format_resolution_unit raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[100] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[125] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[128] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[500] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[512] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[1000] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[1024] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_sampling_frequencies[512.1] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 569, in test_sampling_frequencies raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_multiple_units[V] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 605, in test_write_multiple_units raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_multiple_units[mV] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 605, in test_write_multiple_units raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_multiple_units[\xb5V] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 605, in test_write_multiple_units raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_multiple_units[uV] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 605, in test_write_multiple_units raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_multiple_units[nV] A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 605, in test_write_multiple_units raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_write_unsupported_units A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 660, in test_write_unsupported_units raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED tests/test_write_brainvision.py::test_ref_ch[None] PASSED tests/test_write_brainvision.py::test_ref_ch[ch_9] PASSED tests/test_write_brainvision.py::test_ref_ch[ref_ch_names2] PASSED tests/test_write_brainvision.py::test_ref_ch[foobar] PASSED tests/test_write_brainvision.py::test_cleanup PASSED tests/test_write_brainvision.py::test_overwrite PASSED tests/test_write_brainvision.py::test_event_writing A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be 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-pybv-0.7.6-build/python-pybv-0.7.6/tests/test_write_brainvision.py", line 766, in test_event_writing raw = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py", line 7, in from .brainvision import read_raw_brainvision File "/usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py", line 20, in from ...channels import make_dig_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/channels/montage.py", line 55, in from ..viz import plot_montage File "/usr/lib/python3.13/site-packages/lazy_loader/__init__.py", line 82, in __getattr__ submod = importlib.import_module(submod_path) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.13/site-packages/mne/viz/montage.py", line 15, in from .utils import plot_sensors File "/usr/lib/python3.13/site-packages/mne/viz/utils.py", line 61, in from .ui_events import ColormapRange, publish, subscribe File "/usr/lib/python3.13/site-packages/mne/viz/ui_events.py", line 24, in from matplotlib.colors import Colormap File "/usr/lib64/python3.13/site-packages/matplotlib/__init__.py", line 159, in from . import _api, _version, cbook, _docstring, rcsetup File "/usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py", line 28, in from matplotlib.colors import Colormap, is_color_like File "/usr/lib64/python3.13/site-packages/matplotlib/colors.py", line 57, in from matplotlib import _api, _cm, cbook, scale File "/usr/lib64/python3.13/site-packages/matplotlib/scale.py", line 22, in from matplotlib.ticker import ( File "/usr/lib64/python3.13/site-packages/matplotlib/ticker.py", line 144, in from matplotlib import transforms as mtransforms File "/usr/lib64/python3.13/site-packages/matplotlib/transforms.py", line 49, in from matplotlib._path import ( 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.2.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. FAILED =================================== FAILURES =================================== ___________________ test_comma_in_ch_name[ch_names_tricky0] ____________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_comma_in_ch_name_ch_names0') ch_names_tricky = ['ch_0 f o o', 'ch_1 f o o', 'ch_2 f o o', 'ch_3 f o o', 'ch_4 f o o', 'ch_5 f o o', ...] @pytest.mark.parametrize( "ch_names_tricky", [ [ch + " f o o" for ch in ch_names], [ch + ",foo" for ch in ch_names], ], ) def test_comma_in_ch_name(tmpdir, ch_names_tricky): """Test that writing channel names with special characters works.""" mne = pytest.importorskip("mne", minversion="1.0") # write and read data to BV format write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names_tricky, fname_base=fname, folder_out=tmpdir, ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________________ test_comma_in_ch_name[ch_names_tricky1] ____________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_comma_in_ch_name_ch_names1') ch_names_tricky = ['ch_0,foo', 'ch_1,foo', 'ch_2,foo', 'ch_3,foo', 'ch_4,foo', 'ch_5,foo', ...] @pytest.mark.parametrize( "ch_names_tricky", [ [ch + " f o o" for ch in ch_names], [ch + ",foo" for ch in ch_names], ], ) def test_comma_in_ch_name(tmpdir, ch_names_tricky): """Test that writing channel names with special characters works.""" mne = pytest.importorskip("mne", minversion="1.0") # write and read data to BV format write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names_tricky, fname_base=fname, folder_out=tmpdir, ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_write_read_cycle[20000101120000000000-ch_9] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_read_cycle_200001010') meas_date = '20000101120000000000', ref_ch_names = 'ch_9' @pytest.mark.parametrize( "meas_date, ref_ch_names", [("20000101120000000000", ref_ch_name), (datetime(2000, 1, 1, 12, 0, 0, 0), None)], ) def test_write_read_cycle(tmpdir, meas_date, ref_ch_names): """Test that a write/read cycle produces identical data.""" # First fail writing due to wrong unit unsupported_unit = "rV" with pytest.warns(UserWarning, match="Encountered unsupported " "non-voltage unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, ref_ch_names=ref_ch_names, fname_base=fname, folder_out=tmpdir, unit=unsupported_unit, overwrite=True, ) # write and read data to BV format # ensure that greek small letter mu gets converted to micro sign with pytest.warns(UserWarning, match="Encountered small Greek letter mu"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, ref_ch_names=ref_ch_names, fname_base=fname, folder_out=tmpdir, events=events_array, resolution=np.power(10.0, -np.arange(10)), unit="μV", meas_date=meas_date, overwrite=True, ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:472: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________________ test_write_read_cycle[meas_date1-None] ____________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_read_cycle_meas_dat0') meas_date = datetime.datetime(2000, 1, 1, 12, 0), ref_ch_names = None @pytest.mark.parametrize( "meas_date, ref_ch_names", [("20000101120000000000", ref_ch_name), (datetime(2000, 1, 1, 12, 0, 0, 0), None)], ) def test_write_read_cycle(tmpdir, meas_date, ref_ch_names): """Test that a write/read cycle produces identical data.""" # First fail writing due to wrong unit unsupported_unit = "rV" with pytest.warns(UserWarning, match="Encountered unsupported " "non-voltage unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, ref_ch_names=ref_ch_names, fname_base=fname, folder_out=tmpdir, unit=unsupported_unit, overwrite=True, ) # write and read data to BV format # ensure that greek small letter mu gets converted to micro sign with pytest.warns(UserWarning, match="Encountered small Greek letter mu"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, ref_ch_names=ref_ch_names, fname_base=fname, folder_out=tmpdir, events=events_array, resolution=np.power(10.0, -np.arange(10)), unit="μV", meas_date=meas_date, overwrite=True, ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:472: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-1.0-binary_float32] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_0') format = 'binary_float32', resolution = np.float64(1.0), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[V-1.0-binary_int16] ________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_1') format = 'binary_int16', resolution = np.float64(1.0), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-0.1-binary_float32] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_2') format = 'binary_float32', resolution = np.float64(0.1), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[V-0.1-binary_int16] ________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_3') format = 'binary_int16', resolution = np.float64(0.1), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-0.01-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_4') format = 'binary_float32', resolution = np.float64(0.01), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[V-0.01-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_5') format = 'binary_int16', resolution = np.float64(0.01), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-0.001-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_6') format = 'binary_float32', resolution = np.float64(0.001), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-0.001-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_7') format = 'binary_int16', resolution = np.float64(0.001), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-0.0001-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_8') format = 'binary_float32', resolution = np.float64(0.0001), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-0.0001-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_9') format = 'binary_int16', resolution = np.float64(0.0001), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-1e-05-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_10') format = 'binary_float32', resolution = np.float64(1e-05), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-1e-05-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_11') format = 'binary_int16', resolution = np.float64(1e-05), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-1e-06-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_12') format = 'binary_float32', resolution = np.float64(1e-06), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-1e-06-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_13') format = 'binary_int16', resolution = np.float64(1e-06), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-1e-07-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_14') format = 'binary_float32', resolution = np.float64(1e-07), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-1e-07-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_15') format = 'binary_int16', resolution = np.float64(1e-07), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-1e-08-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_16') format = 'binary_float32', resolution = np.float64(1e-08), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-1e-08-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_17') format = 'binary_int16', resolution = np.float64(1e-08), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-1e-09-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_18') format = 'binary_float32', resolution = np.float64(1e-09), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______ test_format_resolution_unit[V-3.141592653589793-binary_float32] ________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_20') format = 'binary_float32', resolution = np.float64(3.141592653589793) unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________ test_format_resolution_unit[V-3.141592653589793-binary_int16] _________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_21') format = 'binary_int16', resolution = np.float64(3.141592653589793), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-0.5-binary_float32] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_22') format = 'binary_float32', resolution = np.float64(0.5), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[V-0.5-binary_int16] ________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_23') format = 'binary_int16', resolution = np.float64(0.5), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[V-2.7e-07-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_24') format = 'binary_float32', resolution = np.float64(2.7e-07), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[V-2.7e-07-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_25') format = 'binary_int16', resolution = np.float64(2.7e-07), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[V-13.0-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_26') format = 'binary_float32', resolution = np.float64(13.0), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[V-13.0-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_V_27') format = 'binary_int16', resolution = np.float64(13.0), unit = 'V' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[mV-1.0-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV0') format = 'binary_float32', resolution = np.float64(1.0), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[mV-1.0-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV1') format = 'binary_int16', resolution = np.float64(1.0), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[mV-0.1-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV2') format = 'binary_float32', resolution = np.float64(0.1), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[mV-0.1-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV3') format = 'binary_int16', resolution = np.float64(0.1), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-0.01-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV4') format = 'binary_float32', resolution = np.float64(0.01), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[mV-0.01-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV5') format = 'binary_int16', resolution = np.float64(0.01), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-0.001-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV6') format = 'binary_float32', resolution = np.float64(0.001), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[mV-0.001-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV7') format = 'binary_int16', resolution = np.float64(0.001), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[mV-0.0001-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV8') format = 'binary_float32', resolution = np.float64(0.0001), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-0.0001-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV9') format = 'binary_int16', resolution = np.float64(0.0001), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-1e-05-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV10') format = 'binary_float32', resolution = np.float64(1e-05), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[mV-1e-05-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV11') format = 'binary_int16', resolution = np.float64(1e-05), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-1e-06-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV12') format = 'binary_float32', resolution = np.float64(1e-06), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-1e-07-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV14') format = 'binary_float32', resolution = np.float64(1e-07), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-1e-08-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV16') format = 'binary_float32', resolution = np.float64(1e-08), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-1e-09-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV18') format = 'binary_float32', resolution = np.float64(1e-09), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______ test_format_resolution_unit[mV-3.141592653589793-binary_float32] _______ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV20') format = 'binary_float32', resolution = np.float64(3.141592653589793) unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________ test_format_resolution_unit[mV-3.141592653589793-binary_int16] ________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV21') format = 'binary_int16', resolution = np.float64(3.141592653589793), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[mV-0.5-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV22') format = 'binary_float32', resolution = np.float64(0.5), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[mV-0.5-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV23') format = 'binary_int16', resolution = np.float64(0.5), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[mV-2.7e-07-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV24') format = 'binary_float32', resolution = np.float64(2.7e-07), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[mV-13.0-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV26') format = 'binary_float32', resolution = np.float64(13.0), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[mV-13.0-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_mV27') format = 'binary_int16', resolution = np.float64(13.0), unit = 'mV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[\xb5V-1.0-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x0') format = 'binary_float32', resolution = np.float64(1.0), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[\xb5V-1.0-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x1') format = 'binary_int16', resolution = np.float64(1.0), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[\xb5V-0.1-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x2') format = 'binary_float32', resolution = np.float64(0.1), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[\xb5V-0.1-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x3') format = 'binary_int16', resolution = np.float64(0.1), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[\xb5V-0.01-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x4') format = 'binary_float32', resolution = np.float64(0.01), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[\xb5V-0.01-binary_int16] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x5') format = 'binary_int16', resolution = np.float64(0.01), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________ test_format_resolution_unit[\xb5V-0.001-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x6') format = 'binary_float32', resolution = np.float64(0.001), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________ test_format_resolution_unit[\xb5V-0.0001-binary_float32] ___________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x8') format = 'binary_float32', resolution = np.float64(0.0001), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________ test_format_resolution_unit[\xb5V-1e-05-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x10') format = 'binary_float32', resolution = np.float64(1e-05), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________ test_format_resolution_unit[\xb5V-1e-06-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x12') format = 'binary_float32', resolution = np.float64(1e-06), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________ test_format_resolution_unit[\xb5V-1e-07-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x14') format = 'binary_float32', resolution = np.float64(1e-07), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________ test_format_resolution_unit[\xb5V-1e-08-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x16') format = 'binary_float32', resolution = np.float64(1e-08), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ___________ test_format_resolution_unit[\xb5V-1e-09-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x18') format = 'binary_float32', resolution = np.float64(1e-09), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____ test_format_resolution_unit[\xb5V-3.141592653589793-binary_float32] ______ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x20') format = 'binary_float32', resolution = np.float64(3.141592653589793) unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______ test_format_resolution_unit[\xb5V-3.141592653589793-binary_int16] _______ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x21') format = 'binary_int16', resolution = np.float64(3.141592653589793), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[\xb5V-0.5-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x22') format = 'binary_float32', resolution = np.float64(0.5), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[\xb5V-0.5-binary_int16] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x23') format = 'binary_int16', resolution = np.float64(0.5), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError __________ test_format_resolution_unit[\xb5V-2.7e-07-binary_float32] ___________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x24') format = 'binary_float32', resolution = np.float64(2.7e-07), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[\xb5V-13.0-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x26') format = 'binary_float32', resolution = np.float64(13.0), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[\xb5V-13.0-binary_int16] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit__x27') format = 'binary_int16', resolution = np.float64(13.0), unit = 'µV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[uV-1.0-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV0') format = 'binary_float32', resolution = np.float64(1.0), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[uV-1.0-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV1') format = 'binary_int16', resolution = np.float64(1.0), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[uV-0.1-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV2') format = 'binary_float32', resolution = np.float64(0.1), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[uV-0.1-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV3') format = 'binary_int16', resolution = np.float64(0.1), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-0.01-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV4') format = 'binary_float32', resolution = np.float64(0.01), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[uV-0.01-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV5') format = 'binary_int16', resolution = np.float64(0.01), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-0.001-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV6') format = 'binary_float32', resolution = np.float64(0.001), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[uV-0.0001-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV8') format = 'binary_float32', resolution = np.float64(0.0001), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-1e-05-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV10') format = 'binary_float32', resolution = np.float64(1e-05), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-1e-06-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV12') format = 'binary_float32', resolution = np.float64(1e-06), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-1e-07-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV14') format = 'binary_float32', resolution = np.float64(1e-07), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-1e-08-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV16') format = 'binary_float32', resolution = np.float64(1e-08), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-1e-09-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV18') format = 'binary_float32', resolution = np.float64(1e-09), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______ test_format_resolution_unit[uV-3.141592653589793-binary_float32] _______ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV20') format = 'binary_float32', resolution = np.float64(3.141592653589793) unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________ test_format_resolution_unit[uV-3.141592653589793-binary_int16] ________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV21') format = 'binary_int16', resolution = np.float64(3.141592653589793), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[uV-0.5-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV22') format = 'binary_float32', resolution = np.float64(0.5), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________ test_format_resolution_unit[uV-0.5-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV23') format = 'binary_int16', resolution = np.float64(0.5), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[uV-2.7e-07-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV24') format = 'binary_float32', resolution = np.float64(2.7e-07), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[uV-13.0-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV26') format = 'binary_float32', resolution = np.float64(13.0), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[uV-13.0-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_uV27') format = 'binary_int16', resolution = np.float64(13.0), unit = 'uV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[nV-1.0-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV0') format = 'binary_float32', resolution = np.float64(1.0), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[nV-0.1-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV2') format = 'binary_float32', resolution = np.float64(0.1), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-0.01-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV4') format = 'binary_float32', resolution = np.float64(0.01), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-0.001-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV6') format = 'binary_float32', resolution = np.float64(0.001), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[nV-0.0001-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV8') format = 'binary_float32', resolution = np.float64(0.0001), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-1e-05-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV10') format = 'binary_float32', resolution = np.float64(1e-05), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-1e-06-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV12') format = 'binary_float32', resolution = np.float64(1e-06), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-1e-07-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV14') format = 'binary_float32', resolution = np.float64(1e-07), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-1e-08-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV16') format = 'binary_float32', resolution = np.float64(1e-08), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-1e-09-binary_float32] _____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV18') format = 'binary_float32', resolution = np.float64(1e-09), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______ test_format_resolution_unit[nV-3.141592653589793-binary_float32] _______ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV20') format = 'binary_float32', resolution = np.float64(3.141592653589793) unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________ test_format_resolution_unit[nV-3.141592653589793-binary_int16] ________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV21') format = 'binary_int16', resolution = np.float64(3.141592653589793), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[nV-0.5-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV22') format = 'binary_float32', resolution = np.float64(0.5), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ____________ test_format_resolution_unit[nV-2.7e-07-binary_float32] ____________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV24') format = 'binary_float32', resolution = np.float64(2.7e-07), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _____________ test_format_resolution_unit[nV-13.0-binary_float32] ______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV26') format = 'binary_float32', resolution = np.float64(13.0), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________ test_format_resolution_unit[nV-13.0-binary_int16] _______________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_format_resolution_unit_nV27') format = 'binary_int16', resolution = np.float64(13.0), unit = 'nV' @pytest.mark.filterwarnings("ignore:Encountered unsupported voltage units") @pytest.mark.filterwarnings("ignore:Encountered small Greek letter mu") @pytest.mark.parametrize("format", SUPPORTED_FORMATS.keys()) @pytest.mark.parametrize("resolution", resolutions) @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_format_resolution_unit(tmpdir, format, resolution, unit): # noqa: A002 """Test different combinations of formats, resolutions, and units. This test would raise warnings for several cases of "unit" ("Encountered unsupported voltage units"), and a specific warning if "unit" is "uV" ("Encountered small Greek letter mu"). We ignore those warnings throughout the test. Each run of the test is furthermore expected to exit early with a ValueError for combinations of "resolution" and "format" that would result in data that cannot accurately be written. """ # check whether this test will be numerically possible tmpdata = _scale_data_to_unit(data.copy(), [unit] * n_chans) tmpdata = tmpdata * np.atleast_2d(1 / resolution).T _, dtype = _chk_fmt(format) data_will_fit = _check_data_in_range(tmpdata, dtype) kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, resolution=resolution, unit=unit, fmt=format, ) if not data_will_fit: # end this test early match = f"can not be represented in '{format}' given" with pytest.raises(ValueError, match=match): write_brainvision(**kwargs) return write_brainvision(**kwargs) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_sampling_frequencies[100] ________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_100_0') sfreq = 100 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_sampling_frequencies[125] ________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_125_0') sfreq = 125 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_sampling_frequencies[128] ________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_128_0') sfreq = 128 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_sampling_frequencies[500] ________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_500_0') sfreq = 500 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_sampling_frequencies[512] ________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_512_0') sfreq = 512 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________________ test_sampling_frequencies[1000] ________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_10000') sfreq = 1000 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________________ test_sampling_frequencies[1024] ________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_10240') sfreq = 1024 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________________ test_sampling_frequencies[512.1] _______________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_sampling_frequencies_512_1') sfreq = 512.1 @pytest.mark.parametrize("sfreq", [100, 125, 128, 500, 512, 1000, 1024, 512.1]) def test_sampling_frequencies(tmpdir, sfreq): """Test different sampling frequencies.""" # sampling frequency gets written as sampling interval write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) vhdr_fname = tmpdir / fname + ".vhdr" > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _________________________ test_write_multiple_units[V] _________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_multiple_units_V_0') unit = 'V' @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_write_multiple_units(tmpdir, unit): """Test writing data with a list of units.""" wrong_num_units = [unit] with pytest.raises(ValueError, match="Number of channels in unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=wrong_num_units, ) expect_warn = unit in ["V", "mV", "nV", "uV"] expect_match = "Converting" if unit == "uV" else "unsupported" # write brain vision file vhdr_fname = tmpdir / fname + ".vhdr" kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=[unit] * n_chans, ) if expect_warn: with pytest.warns(UserWarning, match=expect_match): write_brainvision(**kwargs) else: write_brainvision(**kwargs) > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_write_multiple_units[mV] _________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_multiple_units_mV_0') unit = 'mV' @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_write_multiple_units(tmpdir, unit): """Test writing data with a list of units.""" wrong_num_units = [unit] with pytest.raises(ValueError, match="Number of channels in unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=wrong_num_units, ) expect_warn = unit in ["V", "mV", "nV", "uV"] expect_match = "Converting" if unit == "uV" else "unsupported" # write brain vision file vhdr_fname = tmpdir / fname + ".vhdr" kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=[unit] * n_chans, ) if expect_warn: with pytest.warns(UserWarning, match=expect_match): write_brainvision(**kwargs) else: write_brainvision(**kwargs) > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _______________________ test_write_multiple_units[\xb5V] _______________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_multiple_units__xb50') unit = 'µV' @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_write_multiple_units(tmpdir, unit): """Test writing data with a list of units.""" wrong_num_units = [unit] with pytest.raises(ValueError, match="Number of channels in unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=wrong_num_units, ) expect_warn = unit in ["V", "mV", "nV", "uV"] expect_match = "Converting" if unit == "uV" else "unsupported" # write brain vision file vhdr_fname = tmpdir / fname + ".vhdr" kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=[unit] * n_chans, ) if expect_warn: with pytest.warns(UserWarning, match=expect_match): write_brainvision(**kwargs) else: write_brainvision(**kwargs) > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_write_multiple_units[uV] _________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_multiple_units_uV_0') unit = 'uV' @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_write_multiple_units(tmpdir, unit): """Test writing data with a list of units.""" wrong_num_units = [unit] with pytest.raises(ValueError, match="Number of channels in unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=wrong_num_units, ) expect_warn = unit in ["V", "mV", "nV", "uV"] expect_match = "Converting" if unit == "uV" else "unsupported" # write brain vision file vhdr_fname = tmpdir / fname + ".vhdr" kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=[unit] * n_chans, ) if expect_warn: with pytest.warns(UserWarning, match=expect_match): write_brainvision(**kwargs) else: write_brainvision(**kwargs) > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ________________________ test_write_multiple_units[nV] _________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_multiple_units_nV_0') unit = 'nV' @pytest.mark.parametrize("unit", SUPPORTED_VOLTAGE_SCALINGS) def test_write_multiple_units(tmpdir, unit): """Test writing data with a list of units.""" wrong_num_units = [unit] with pytest.raises(ValueError, match="Number of channels in unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=wrong_num_units, ) expect_warn = unit in ["V", "mV", "nV", "uV"] expect_match = "Converting" if unit == "uV" else "unsupported" # write brain vision file vhdr_fname = tmpdir / fname + ".vhdr" kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=[unit] * n_chans, ) if expect_warn: with pytest.warns(UserWarning, match=expect_match): write_brainvision(**kwargs) else: write_brainvision(**kwargs) > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError _________________________ test_write_unsupported_units _________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_write_unsupported_units0') def test_write_unsupported_units(tmpdir): """Test writing data with a list of possibly unsupported BV units.""" unit = "V" # supported test unit units = [unit] * n_chans units[-1] = "°C" # write brain vision file vhdr_fname = tmpdir / (fname + ".vhdr") with pytest.warns(UserWarning, match="Encountered unsupported " "non-voltage unit"): write_brainvision( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir, unit=units, ) > raw_written = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:660: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError ______________________________ test_event_writing ______________________________ ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_event_writing0') def test_event_writing(tmpdir): """Test writing some advanced event specifications.""" kwargs = dict( data=data, sfreq=sfreq, ch_names=ch_names, fname_base=fname, folder_out=tmpdir ) with pytest.warns(UserWarning, match="Such events will be written to .vmrk"): write_brainvision(**kwargs, events=events) vhdr_fname = tmpdir / fname + ".vhdr" > raw = mne.io.read_raw_brainvision(vhdr_fname=vhdr_fname, preload=True) tests/test_write_brainvision.py:766: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1387: in _gcd_import ??? :1360: in _find_and_load ??? :1331: in _find_and_load_unlocked ??? :935: in _load_unlocked ??? :1026: in exec_module ??? :488: in _call_with_frames_removed ??? /usr/lib/python3.13/site-packages/mne/io/brainvision/__init__.py:7: in from .brainvision import read_raw_brainvision /usr/lib/python3.13/site-packages/mne/io/brainvision/brainvision.py:20: in from ...channels import make_dig_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/channels/montage.py:55: in from ..viz import plot_montage /usr/lib/python3.13/site-packages/lazy_loader/__init__.py:82: in __getattr__ submod = importlib.import_module(submod_path) /usr/lib64/python3.13/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) /usr/lib/python3.13/site-packages/mne/viz/montage.py:15: in from .utils import plot_sensors /usr/lib/python3.13/site-packages/mne/viz/utils.py:61: in from .ui_events import ColormapRange, publish, subscribe /usr/lib/python3.13/site-packages/mne/viz/ui_events.py:24: in from matplotlib.colors import Colormap /usr/lib64/python3.13/site-packages/matplotlib/__init__.py:159: in from . import _api, _version, cbook, _docstring, rcsetup /usr/lib64/python3.13/site-packages/matplotlib/rcsetup.py:28: in from matplotlib.colors import Colormap, is_color_like /usr/lib64/python3.13/site-packages/matplotlib/colors.py:57: in from matplotlib import _api, _cm, cbook, scale /usr/lib64/python3.13/site-packages/matplotlib/scale.py:22: in from matplotlib.ticker import ( /usr/lib64/python3.13/site-packages/matplotlib/ticker.py:144: in from matplotlib import transforms as mtransforms _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ """ Matplotlib includes a framework for arbitrary geometric transformations that is used determine the final position of all elements drawn on the canvas. Transforms are composed into trees of `TransformNode` objects whose actual value depends on their children. When the contents of children change, their parents are automatically invalidated. The next time an invalidated transform is accessed, it is recomputed to reflect those changes. This invalidation/caching approach prevents unnecessary recomputations of transforms, and contributes to better interactive performance. For example, here is a graph of the transform tree used to plot data to the graph: .. image:: ../_static/transforms.png The framework can be used for both affine and non-affine transformations. However, for speed, we want to use the backend renderers to perform affine transformations whenever possible. Therefore, it is possible to perform just the affine or non-affine part of a transformation on a set of data. The affine is always assumed to occur after the non-affine. For any transform:: full transform == non-affine part + affine part The backends are not expected to handle non-affine transformations themselves. See the tutorial :ref:`transforms_tutorial` for examples of how to use transforms. """ # Note: There are a number of places in the code where we use `np.min` or # `np.minimum` instead of the builtin `min`, and likewise for `max`. This is # done so that `nan`s are propagated, instead of being silently dropped. import copy import functools import textwrap import weakref import math import numpy as np from numpy.linalg import inv from matplotlib import _api > from matplotlib._path import ( affine_transform, count_bboxes_overlapping_bbox, update_path_extents) E ImportError: initialization failed /usr/lib64/python3.13/site-packages/matplotlib/transforms.py:49: ImportError =============================== warnings summary =============================== pybv/io.py::pybv.io.write_brainvision /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/pybv/io.py:675: UserWarning: Encountered unsupported voltage units: mV We will scale the data appropriately, but for maximum compatibility you should use µV for all channels. warn(msg) pybv/io.py::pybv.io.write_brainvision /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/pybv/io.py:682: UserWarning: Encountered unsupported non-voltage units: °C Note that the BrainVision format specification supports only µV. warn(msg) tests/test_write_brainvision.py::test_non_stim_resp_event_first /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/pybv/io.py:563: UserWarning: events: you specified at least one event that impacts more than one but less than all channels in the data. Such events will be written to .vmrk for as many times as channels are specified. This feature may not be supported by all BrainVision readers. warn( tests/test_write_brainvision.py::test_bv_writer_events_array[events_errormsg3] /usr/lib64/python3.13/site-packages/numpy/_core/numerictypes.py:530: DeprecationWarning: Data type alias 'a' was deprecated in NumPy 2.0. Use the 'S' alias instead. arg1 = dtype(arg1).type tests/test_write_brainvision.py::test_write_unsupported_units /builddir/build/BUILD/python-pybv-0.7.6-build/python-pybv-0.7.6/pybv/io.py:675: UserWarning: Encountered unsupported voltage units: V We will scale the data appropriately, but for maximum compatibility you should use µV for all channels. warn(msg) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_write_brainvision.py::test_comma_in_ch_name[ch_names_tricky0] FAILED tests/test_write_brainvision.py::test_comma_in_ch_name[ch_names_tricky1] FAILED tests/test_write_brainvision.py::test_write_read_cycle[20000101120000000000-ch_9] FAILED tests/test_write_brainvision.py::test_write_read_cycle[meas_date1-None] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.1-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.1-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.01-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.01-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.001-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.0001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.0001-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-05-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-05-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-06-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-06-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-07-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-08-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-08-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-1e-09-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-3.141592653589793-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-3.141592653589793-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.5-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-0.5-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-2.7e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-2.7e-07-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-13.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[V-13.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.1-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.1-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.01-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.01-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.001-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.0001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.0001-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-05-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-05-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-06-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-08-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-1e-09-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-3.141592653589793-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-3.141592653589793-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.5-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-0.5-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-2.7e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-13.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[mV-13.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.1-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.1-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.01-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.01-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.0001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-05-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-06-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-08-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-1e-09-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-3.141592653589793-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-3.141592653589793-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.5-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-0.5-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-2.7e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-13.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[\xb5V-13.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.1-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.1-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.01-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.01-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.0001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-05-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-06-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-08-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-1e-09-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-3.141592653589793-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-3.141592653589793-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.5-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-0.5-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-2.7e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-13.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[uV-13.0-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.1-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.01-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.0001-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-05-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-06-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-08-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-1e-09-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-3.141592653589793-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-3.141592653589793-binary_int16] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-0.5-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-2.7e-07-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-13.0-binary_float32] FAILED tests/test_write_brainvision.py::test_format_resolution_unit[nV-13.0-binary_int16] FAILED tests/test_write_brainvision.py::test_sampling_frequencies[100] - Impo... FAILED tests/test_write_brainvision.py::test_sampling_frequencies[125] - Impo... FAILED tests/test_write_brainvision.py::test_sampling_frequencies[128] - Impo... FAILED tests/test_write_brainvision.py::test_sampling_frequencies[500] - Impo... FAILED tests/test_write_brainvision.py::test_sampling_frequencies[512] - Impo... FAILED tests/test_write_brainvision.py::test_sampling_frequencies[1000] - Imp... FAILED tests/test_write_brainvision.py::test_sampling_frequencies[1024] - Imp... FAILED tests/test_write_brainvision.py::test_sampling_frequencies[512.1] - Im... FAILED tests/test_write_brainvision.py::test_write_multiple_units[V] - Import... FAILED tests/test_write_brainvision.py::test_write_multiple_units[mV] - Impor... FAILED tests/test_write_brainvision.py::test_write_multiple_units[\xb5V] - Im... FAILED tests/test_write_brainvision.py::test_write_multiple_units[uV] - Impor... FAILED tests/test_write_brainvision.py::test_write_multiple_units[nV] - Impor... FAILED tests/test_write_brainvision.py::test_write_unsupported_units - Import... FAILED tests/test_write_brainvision.py::test_event_writing - ImportError: ini... ================= 125 failed, 72 passed, 5 warnings in 32.02s ================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.AD8KWh (%check) Bad exit status from /var/tmp/rpm-tmp.AD8KWh (%check) Finish: rpmbuild python-pybv-0.7.6-4.fc42.src.rpm Finish: build phase for python-pybv-0.7.6-4.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-1734573954.833439/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-pybv-0.7.6-4.fc42.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 50 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 e71e248d52e344f382cbf2c3b8788af1 -D /var/lib/mock/fedora-rawhide-x86_64-1734573954.833439/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.uhrn24kf:/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-pybv.spec' Copr build error: Build failed