Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c109' (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/7644166-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 0.73 PID: 15833 Logging PID: 15834 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 7644166, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'f3eac6299006379858eafdbcf19b88f627611fd5', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/thrnciar/pytest-8.2.2/python-xarray', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-xarray', 'package_version': '2024.6.0-1', 'project_dirname': 'pytest-8.2.2', 'project_name': 'pytest-8.2.2', 'project_owner': 'thrnciar', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/thrnciar/pytest-8.2.2/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'thrnciar/pytest-8.2.2--thrnciar', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'thrnciar', 'tags': [], 'task_id': '7644166-fedora-rawhide-x86_64', 'timeout': None, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/thrnciar/pytest-8.2.2/python-xarray /var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/thrnciar/pytest-8.2.2/python-xarray', '/var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray'... Running: git checkout f3eac6299006379858eafdbcf19b88f627611fd5 -- cmd: ['git', 'checkout', 'f3eac6299006379858eafdbcf19b88f627611fd5', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray rc: 0 stdout: stderr: Note: switching to 'f3eac6299006379858eafdbcf19b88f627611fd5'. 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 f3eac62 automatic import of python-xarray Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray rc: 0 stdout: /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated 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 xarray-2024.6.0.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o xarray-2024.6.0.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/thrnciar/pytest-8.2.2/python-xarray/xarray-2024.6.0.tar.gz/md5/1abd28db799227dac49cb269144c7efe/xarray-2024.6.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3628k 100 3628k 0 0 16.1M 0 --:--:-- --:--:-- --:--:-- 16.1M INFO: Reading stdout from command: md5sum xarray-2024.6.0.tar.gz INFO: Downloading xarray-data-7d8290e0be9d2a8f4b4381641f20a97db6eaea3d.tar.gz INFO: Calling: curl -H Pragma: -o xarray-data-7d8290e0be9d2a8f4b4381641f20a97db6eaea3d.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/thrnciar/pytest-8.2.2/python-xarray/xarray-data-7d8290e0be9d2a8f4b4381641f20a97db6eaea3d.tar.gz/md5/707161fcb3cafae056d96d9850c9f2e7/xarray-data-7d8290e0be9d2a8f4b4381641f20a97db6eaea3d.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 106M 100 106M 0 0 14.2M 0 0:00:07 0:00:07 --:--:-- 9390k INFO: Reading stdout from command: md5sum xarray-data-7d8290e0be9d2a8f4b4381641f20a97db6eaea3d.tar.gz Running (timeout=None): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray/python-xarray.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1718984006.925341 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.6 starting (python version = 3.12.1, NVR = mock-5.6-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray/python-xarray.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1718984006.925341 -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-4raqvor8/python-xarray/python-xarray.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1718984006.925341/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-1718984006.925341/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/e8fc6821c4b113add850ee44a2914144be252a92dd8c882623487c283bedbfb4/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/e8fc6821c4b113add850ee44a2914144be252a92dd8c882623487c283bedbfb4/merged) with podman image umount INFO: Package manager dnf5 detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf5 tooling Updating and loading repositories: Copr repository 100% | 6.0 MiB/s | 1.3 MiB | 00m00s fedora 100% | 16.1 MiB/s | 21.2 MiB | 00m01s Repositories loaded. Package "dnf5-5.2.3.0-3.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: dnf5-plugins x86_64 5.2.3.0-3.fc41 fedora 1.0 MiB Installing dependencies: elfutils-default-yama-scope noarch 0.191-7.fc41 fedora 1.8 KiB elfutils-libelf x86_64 0.191-7.fc41 fedora 1.2 MiB elfutils-libs x86_64 0.191-7.fc41 fedora 646.1 KiB file-libs x86_64 5.45-6.fc41 fedora 9.9 MiB libgomp x86_64 14.1.1-5.fc41 fedora 523.6 KiB rpm-build-libs x86_64 4.19.91-13.fc41 fedora 206.6 KiB Transaction Summary: Installing: 7 packages Total size of inbound packages is 2 MiB. Need to download 2 MiB. After this operation 13 MiB will be used (install 13 MiB, remove 0 B). [1/7] rpm-build-libs-0:4.19.91-13.fc41. 100% | 398.1 KiB/s | 99.1 KiB | 00m00s [2/7] dnf5-plugins-0:5.2.3.0-3.fc41.x86 100% | 1.1 MiB/s | 367.8 KiB | 00m00s [3/7] elfutils-libelf-0:0.191-7.fc41.x8 100% | 624.2 KiB/s | 208.5 KiB | 00m00s [4/7] elfutils-libs-0:0.191-7.fc41.x86_ 100% | 1.3 MiB/s | 258.1 KiB | 00m00s [5/7] file-libs-0:5.45-6.fc41.x86_64 100% | 5.5 MiB/s | 761.7 KiB | 00m00s [6/7] elfutils-default-yama-scope-0:0.1 100% | 296.6 KiB/s | 13.3 KiB | 00m00s [7/7] libgomp-0:14.1.1-5.fc41.x86_64 100% | 1.5 MiB/s | 350.3 KiB | 00m00s -------------------------------------------------------------------------------- [7/7] Total 100% | 3.4 MiB/s | 2.0 MiB | 00m01s Running transaction [1/9] Verify package files 100% | 875.0 B/s | 7.0 B | 00m00s [2/9] Prepare transaction 100% | 700.0 B/s | 7.0 B | 00m00s [3/9] Installing elfutils-libelf-0:0.19 100% | 233.9 MiB/s | 1.2 MiB | 00m00s [4/9] Installing elfutils-default-yama- 100% | 127.7 KiB/s | 2.0 KiB | 00m00s >>> Running post-install scriptlet: elfutils-default-yama-scope-0:0.191-7.fc41.n >>> Stop post-install scriptlet: elfutils-default-yama-scope-0:0.191-7.fc41.noar [5/9] Installing elfutils-libs-0:0.191- 100% | 158.2 MiB/s | 648.0 KiB | 00m00s [6/9] Installing libgomp-0:14.1.1-5.fc4 100% | 170.9 MiB/s | 525.0 KiB | 00m00s [7/9] Installing file-libs-0:5.45-6.fc4 100% | 381.9 MiB/s | 9.9 MiB | 00m00s [8/9] Installing rpm-build-libs-0:4.19. 100% | 101.3 MiB/s | 207.5 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [9/9] Installing dnf5-plugins-0:5.2.3.0 100% | 21.7 MiB/s | 1.0 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 Finish(bootstrap): installing dnf5 tooling 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-1718984006.925341/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.19.91-13.fc41.x86_64 rpm-sequoia-1.6.0-3.fc41.x86_64 dnf5-5.2.3.0-3.fc41.x86_64 dnf5-plugins-5.2.3.0-3.fc41.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 296.3 KiB/s | 5.9 KiB | 00m00s Copr repository 100% | 19.9 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 6.5 MiB/s | 1.3 MiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.26-3.fc40 fedora 8.1 MiB bzip2 x86_64 1.0.8-18.fc40 fedora 91.7 KiB coreutils x86_64 9.5-2.fc41 fedora 5.5 MiB cpio x86_64 2.15-1.fc40 fedora 1.1 MiB diffutils x86_64 3.10-5.fc40 fedora 1.6 MiB fedora-release-common noarch 41-0.13 fedora 19.2 KiB findutils x86_64 1:4.10.0-2.fc41 fedora 1.8 MiB gawk x86_64 5.3.0-3.fc40 fedora 1.7 MiB glibc-minimal-langpack x86_64 2.39.9000-26.fc41 fedora 0.0 B grep x86_64 3.11-8.fc41 fedora 1.0 MiB gzip x86_64 1.13-1.fc40 fedora 385.0 KiB info x86_64 7.1-2.fc40 fedora 357.8 KiB patch x86_64 2.7.6-24.fc40 fedora 262.8 KiB redhat-rpm-config noarch 293-1.fc41 fedora 183.5 KiB rpm-build x86_64 4.19.91-13.fc41 fedora 194.1 KiB sed x86_64 4.9-1.fc40 fedora 861.5 KiB shadow-utils x86_64 2:4.15.1-5.fc41 fedora 4.1 MiB tar x86_64 2:1.35-3.fc40 fedora 2.9 MiB unzip x86_64 6.0-63.fc40 fedora 382.8 KiB util-linux x86_64 2.40.1-2.fc41 fedora 3.7 MiB which x86_64 2.21-41.fc40 fedora 80.2 KiB xz x86_64 1:5.6.2-1.fc41 fedora 1.2 MiB Installing dependencies: add-determinism x86_64 0.3.1-1.fc41 fedora 2.1 MiB alternatives x86_64 1.27-1.fc41 fedora 66.3 KiB ansible-srpm-macros noarch 1-15.fc41 fedora 35.7 KiB audit-libs x86_64 4.0.1-3.fc41 fedora 327.3 KiB authselect x86_64 1.5.0-5.fc41 fedora 153.6 KiB authselect-libs x86_64 1.5.0-5.fc41 fedora 818.2 KiB basesystem noarch 11-20.fc40 fedora 0.0 B binutils x86_64 2.42.50-14.fc41 fedora 26.7 MiB build-reproducibility-srpm-macros noarch 0.3.1-1.fc41 fedora 735.0 B bzip2-libs x86_64 1.0.8-18.fc40 fedora 80.7 KiB ca-certificates noarch 2023.2.62_v7.0.401-6.fc40 fedora 2.3 MiB coreutils-common x86_64 9.5-2.fc41 fedora 11.2 MiB cracklib x86_64 2.9.11-5.fc40 fedora 238.9 KiB crypto-policies noarch 20240521-1.gitf71d135.fc41 copr_base 120.0 KiB curl x86_64 8.8.0-1.fc41 fedora 743.7 KiB cyrus-sasl-lib x86_64 2.1.28-24.fc41 fedora 2.3 MiB debugedit x86_64 5.0-16.fc41 fedora 199.3 KiB dwz x86_64 0.15-6.fc40 fedora 290.9 KiB ed x86_64 1.20.2-1.fc41 fedora 146.8 KiB efi-srpm-macros noarch 5-11.fc40 fedora 40.1 KiB elfutils x86_64 0.191-7.fc41 fedora 2.5 MiB elfutils-debuginfod-client x86_64 0.191-7.fc41 fedora 64.9 KiB elfutils-default-yama-scope noarch 0.191-7.fc41 fedora 1.8 KiB elfutils-libelf x86_64 0.191-7.fc41 fedora 1.2 MiB elfutils-libs x86_64 0.191-7.fc41 fedora 646.1 KiB fedora-gpg-keys noarch 41-0.2 fedora 124.7 KiB fedora-release noarch 41-0.13 fedora 0.0 B fedora-release-identity-basic noarch 41-0.13 fedora 694.0 B fedora-repos noarch 41-0.2 fedora 4.9 KiB fedora-repos-rawhide noarch 41-0.2 fedora 2.2 KiB file x86_64 5.45-6.fc41 fedora 103.5 KiB file-libs x86_64 5.45-6.fc41 fedora 9.9 MiB filesystem x86_64 3.18-9.fc41 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-16.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.3.1-1.fc41 copr_base 39.0 KiB fpc-srpm-macros noarch 1.3-12.fc40 fedora 144.0 B gdb-minimal x86_64 14.2-12.fc41 fedora 12.7 MiB gdbm x86_64 1:1.23-6.fc40 fedora 460.9 KiB gdbm-libs x86_64 1:1.23-6.fc40 fedora 121.9 KiB ghc-srpm-macros noarch 1.9.1-1.fc41 fedora 747.0 B glibc x86_64 2.39.9000-26.fc41 fedora 6.7 MiB glibc-common x86_64 2.39.9000-26.fc41 fedora 1.0 MiB glibc-gconv-extra x86_64 2.39.9000-26.fc41 fedora 7.8 MiB gmp x86_64 1:6.3.0-1.fc41 fedora 803.4 KiB gnat-srpm-macros noarch 6-5.fc40 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-1.fc41 fedora 60.8 KiB jansson x86_64 2.13.1-9.fc40 fedora 88.3 KiB kernel-srpm-macros noarch 1.0-23.fc41 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-3.fc40 fedora 54.4 KiB krb5-libs x86_64 1.21.2-5.fc40 fedora 2.3 MiB libacl x86_64 2.3.2-1.fc40 fedora 40.0 KiB libarchive x86_64 3.7.4-1.fc41 fedora 914.6 KiB libattr x86_64 2.5.2-3.fc40 fedora 28.5 KiB libblkid x86_64 2.40.1-2.fc41 fedora 258.5 KiB libbrotli x86_64 1.1.0-4.fc41 fedora 829.6 KiB libcap x86_64 2.70-1.fc41 fedora 220.3 KiB libcap-ng x86_64 0.8.5-2.fc41 fedora 69.2 KiB libcom_err x86_64 1.47.0-5.fc40 fedora 67.2 KiB libcurl x86_64 8.8.0-1.fc41 fedora 805.7 KiB libeconf x86_64 0.6.2-2.fc41 fedora 58.0 KiB libevent x86_64 2.1.12-13.fc41 fedora 895.6 KiB libfdisk x86_64 2.40.1-2.fc41 fedora 362.9 KiB libffi x86_64 3.4.6-1.fc41 fedora 82.4 KiB libgcc x86_64 14.1.1-5.fc41 fedora 274.6 KiB libgomp x86_64 14.1.1-5.fc41 fedora 523.6 KiB libidn2 x86_64 2.3.7-1.fc40 fedora 329.1 KiB libmount x86_64 2.40.1-2.fc41 fedora 351.8 KiB libnghttp2 x86_64 1.62.0-1.fc41 fedora 166.1 KiB libnsl2 x86_64 2.0.1-1.fc40 fedora 57.9 KiB libpkgconf x86_64 2.1.1-1.fc41 fedora 74.2 KiB libpsl x86_64 0.21.5-3.fc40 fedora 80.5 KiB libpwquality x86_64 1.4.5-10.fc41 fedora 417.8 KiB libselinux x86_64 3.6-6.fc41 fedora 177.0 KiB libsemanage x86_64 3.6-4.fc41 fedora 293.5 KiB libsepol x86_64 3.6-3.fc40 fedora 802.0 KiB libsmartcols x86_64 2.40.1-2.fc41 fedora 180.4 KiB libssh x86_64 0.10.6-6.fc41 fedora 513.3 KiB libssh-config noarch 0.10.6-6.fc41 fedora 277.0 B libstdc++ x86_64 14.1.1-5.fc41 fedora 2.8 MiB libtasn1 x86_64 4.19.0-6.fc40 fedora 175.7 KiB libtirpc x86_64 1.3.4-1.rc3.fc41 fedora 202.8 KiB libtool-ltdl x86_64 2.4.7-11.fc41 fedora 66.1 KiB libunistring x86_64 1.1-7.fc41 fedora 1.7 MiB libutempter x86_64 1.2.1-13.fc40 fedora 57.7 KiB libuuid x86_64 2.40.1-2.fc41 fedora 37.4 KiB libverto x86_64 0.3.2-8.fc40 fedora 29.5 KiB libxcrypt x86_64 4.4.36-5.fc40 fedora 262.8 KiB libxml2 x86_64 2.12.8-1.fc41 fedora 1.7 MiB libzstd x86_64 1.5.6-1.fc41 fedora 787.9 KiB lua-libs x86_64 5.4.6-5.fc40 fedora 281.1 KiB lua-srpm-macros noarch 1-13.fc40 fedora 1.3 KiB lz4-libs x86_64 1.9.4-6.fc40 fedora 129.4 KiB mpfr x86_64 4.2.1-4.fc41 fedora 828.0 KiB ncurses-base noarch 6.4-12.20240127.fc40 fedora 326.2 KiB ncurses-libs x86_64 6.4-12.20240127.fc40 fedora 963.2 KiB ocaml-srpm-macros noarch 10-2.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-17.fc41 fedora 112.0 B openldap x86_64 2.6.8-2.fc41 fedora 640.3 KiB openssl-libs x86_64 1:3.2.2-1.fc41 fedora 7.8 MiB p11-kit x86_64 0.25.3-4.fc40 fedora 2.2 MiB p11-kit-trust x86_64 0.25.3-4.fc40 fedora 391.4 KiB package-notes-srpm-macros noarch 0.5-11.fc40 fedora 1.6 KiB pam x86_64 1.6.1-3.fc41 fedora 1.8 MiB pam-libs x86_64 1.6.1-3.fc41 fedora 135.0 KiB pcre2 x86_64 10.43-2.fc41.1 fedora 653.5 KiB pcre2-syntax noarch 10.43-2.fc41.1 fedora 249.0 KiB perl-srpm-macros noarch 1-55.fc41 fedora 861.0 B pkgconf x86_64 2.1.1-1.fc41 fedora 82.9 KiB pkgconf-m4 noarch 2.1.1-1.fc41 fedora 13.9 KiB pkgconf-pkg-config x86_64 2.1.1-1.fc41 fedora 989.0 B popt x86_64 1.19-6.fc40 fedora 136.9 KiB publicsuffix-list-dafsa noarch 20240107-3.fc40 fedora 67.5 KiB pyproject-srpm-macros noarch 1.12.1-1.fc41 copr_base 1.5 KiB python-srpm-macros noarch 3.13-1.fc41 fedora 50.5 KiB qt5-srpm-macros noarch 5.15.14-1.fc41 fedora 500.0 B qt6-srpm-macros noarch 6.7.1-1.fc41 fedora 456.0 B readline x86_64 8.2-8.fc40 fedora 489.2 KiB rpm x86_64 4.19.91-13.fc41 fedora 3.0 MiB rpm-build-libs x86_64 4.19.91-13.fc41 fedora 206.6 KiB rpm-libs x86_64 4.19.91-13.fc41 fedora 717.9 KiB rpm-sequoia x86_64 1.6.0-3.fc41 fedora 2.2 MiB rust-srpm-macros noarch 26.3-1.fc41 fedora 4.8 KiB setup noarch 2.15.0-4.fc41 fedora 720.7 KiB sqlite-libs x86_64 3.46.0-2.fc41 fedora 1.4 MiB systemd-libs x86_64 256.1-3.fc41 fedora 2.0 MiB util-linux-core x86_64 2.40.1-2.fc41 fedora 1.5 MiB xxhash-libs x86_64 0.8.2-2.fc40 fedora 88.5 KiB xz-libs x86_64 1:5.6.2-1.fc41 fedora 214.4 KiB zig-srpm-macros noarch 1-2.fc40 fedora 1.1 KiB zip x86_64 3.0-40.fc40 fedora 703.2 KiB zlib-ng-compat x86_64 2.1.6-6.fc41 fedora 134.0 KiB zstd x86_64 1.5.6-1.fc41 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 154 packages Total size of inbound packages is 53 MiB. Need to download 0 B. After this operation 178 MiB will be used (install 178 MiB, remove 0 B). [ 1/154] tar-2:1.35-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/154] bzip2-0:1.0.8-18.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/154] redhat-rpm-config-0:293-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/154] rpm-build-0:4.19.91-13.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/154] unzip-0:6.0-63.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/154] cpio-0:2.15-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/154] which-0:2.21-41.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/154] bash-0:5.2.26-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/154] coreutils-0:9.5-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/154] grep-0:3.11-8.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/154] patch-0:2.7.6-24.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/154] sed-0:4.9-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/154] shadow-utils-2:4.15.1-5.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/154] diffutils-0:3.10-5.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/154] fedora-release-common-0:41-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/154] findutils-1:4.10.0-2.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/154] glibc-minimal-langpack-0:2.39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/154] gzip-0:1.13-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/154] info-0:7.1-2.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/154] xz-1:5.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/154] util-linux-0:2.40.1-2.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/154] gawk-0:5.3.0-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/154] glibc-0:2.39.9000-26.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/154] libacl-0:2.3.2-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/154] libselinux-0:3.6-6.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/154] bzip2-libs-0:1.0.8-18.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/154] ansible-srpm-macros-0:1-15.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/154] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/154] dwz-0:0.15-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/154] efi-srpm-macros-0:5-11.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/154] file-0:5.45-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/154] fonts-srpm-macros-1:2.0.5-16. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/154] fpc-srpm-macros-0:1.3-12.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/154] ghc-srpm-macros-0:1.9.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/154] gnat-srpm-macros-0:6-5.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/154] go-srpm-macros-0:3.6.0-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/154] kernel-srpm-macros-0:1.0-23.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/154] lua-srpm-macros-0:1-13.fc40.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/154] ocaml-srpm-macros-0:10-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/154] openblas-srpm-macros-0:2-17.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/154] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/154] perl-srpm-macros-0:1-55.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/154] python-srpm-macros-0:3.13-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/154] qt5-srpm-macros-0:5.15.14-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/154] qt6-srpm-macros-0:6.7.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/154] rpm-0:4.19.91-13.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/154] rust-srpm-macros-0:26.3-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/154] zig-srpm-macros-0:1-2.fc40.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/154] zip-0:3.0-40.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/154] debugedit-0:5.0-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/154] elfutils-0:0.191-7.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/154] elfutils-libelf-0:0.191-7.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/154] libarchive-0:3.7.4-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/154] popt-0:1.19-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/154] readline-0:8.2-8.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/154] rpm-build-libs-0:4.19.91-13.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/154] rpm-libs-0:4.19.91-13.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/154] zstd-0:1.5.6-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/154] filesystem-0:3.18-9.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/154] ncurses-libs-0:6.4-12.2024012 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/154] coreutils-common-0:9.5-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/154] libattr-0:2.5.2-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/154] libcap-0:2.70-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/154] openssl-libs-1:3.2.2-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/154] pcre2-0:10.43-2.fc41.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/154] ed-0:1.20.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/154] audit-libs-0:4.0.1-3.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/154] libeconf-0:0.6.2-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/154] libsemanage-0:3.6-4.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/154] libxcrypt-0:4.4.36-5.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/154] pam-libs-0:1.6.1-3.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/154] setup-0:2.15.0-4.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/154] fedora-repos-0:41-0.2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/154] glibc-common-0:2.39.9000-26.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/154] xz-libs-1:5.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/154] libblkid-0:2.40.1-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/154] libcap-ng-0:0.8.5-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/154] libfdisk-0:2.40.1-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/154] libmount-0:2.40.1-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/154] libsmartcols-0:2.40.1-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/154] libutempter-0:1.2.1-13.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/154] libuuid-0:2.40.1-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/154] systemd-libs-0:256.1-3.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/154] util-linux-core-0:2.40.1-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/154] zlib-ng-compat-0:2.1.6-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/154] mpfr-0:4.2.1-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/154] glibc-gconv-extra-0:2.39.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/154] basesystem-0:11-20.fc40.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/154] libgcc-0:14.1.1-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/154] libsepol-0:3.6-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/154] add-determinism-0:0.3.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/154] file-libs-0:5.45-6.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/154] curl-0:8.8.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/154] elfutils-libs-0:0.191-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/154] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/154] libstdc++-0:14.1.1-5.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/154] libzstd-0:1.5.6-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/154] libxml2-0:2.12.8-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/154] lz4-libs-0:1.9.4-6.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/154] libgomp-0:14.1.1-5.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/154] lua-libs-0:5.4.6-5.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/154] rpm-sequoia-0:1.6.0-3.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/154] sqlite-libs-0:3.46.0-2.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/154] ncurses-base-0:6.4-12.2024012 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/154] ca-certificates-0:2023.2.62_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/154] pcre2-syntax-0:10.43-2.fc41.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/154] fedora-gpg-keys-0:41-0.2.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/154] fedora-repos-rawhide-0:41-0.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/154] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/154] authselect-libs-0:1.5.0-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/154] pam-0:1.6.1-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/154] authselect-0:1.5.0-5.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/154] gdbm-libs-1:1.23-6.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/154] libnsl2-0:2.0.1-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/154] libpwquality-0:1.4.5-10.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/154] libtirpc-0:1.3.4-1.rc3.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/154] cracklib-0:2.9.11-5.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/154] krb5-libs-0:1.21.2-5.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/154] libcom_err-0:1.47.0-5.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/154] keyutils-libs-0:1.6.3-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/154] libverto-0:0.3.2-8.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/154] binutils-0:2.42.50-14.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/154] alternatives-0:1.27-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/154] jansson-0:2.13.1-9.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/154] pkgconf-pkg-config-0:2.1.1-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/154] pkgconf-0:2.1.1-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/154] pkgconf-m4-0:2.1.1-1.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/154] libpkgconf-0:2.1.1-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/154] forge-srpm-macros-0:0.3.1-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/154] pyproject-srpm-macros-0:1.12. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/154] gdbm-1:1.23-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/154] crypto-policies-0:20240521-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/154] p11-kit-0:0.25.3-4.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/154] libffi-0:3.4.6-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/154] libtasn1-0:4.19.0-6.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/154] p11-kit-trust-0:0.25.3-4.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/154] fedora-release-0:41-0.13.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/154] gdb-minimal-0:14.2-12.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/154] xxhash-libs-0:0.8.2-2.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/154] gmp-1:6.3.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/154] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/154] libcurl-0:8.8.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/154] libbrotli-0:1.1.0-4.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/154] libidn2-0:2.3.7-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/154] libnghttp2-0:1.62.0-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/154] libpsl-0:0.21.5-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/154] libssh-0:0.10.6-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/154] openldap-0:2.6.8-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/154] libunistring-0:1.1-7.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/154] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/154] libssh-config-0:0.10.6-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/154] cyrus-sasl-lib-0:2.1.28-24.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/154] libevent-0:2.1.12-13.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/154] libtool-ltdl-0:2.4.7-11.fc41. 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 PGP 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 PGP 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 PGP key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115DF9AEF857853EE8445D0A0727707EA15B79CC From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary The key was successfully imported. [ 1/156] Verify package files 100% | 647.0 B/s | 154.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 >>> Stop pre-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 [ 2/156] Prepare transaction 100% | 1.9 KiB/s | 154.0 B | 00m00s [ 3/156] Installing libgcc-0:14.1.1-5. 100% | 134.8 MiB/s | 276.2 KiB | 00m00s >>> Running post-install scriptlet: libgcc-0:14.1.1-5.fc41.x86_64 >>> Stop post-install scriptlet: libgcc-0:14.1.1-5.fc41.x86_64 [ 4/156] Installing crypto-policies-0: 100% | 14.4 MiB/s | 147.0 KiB | 00m00s >>> Running post-install scriptlet: crypto-policies-0:20240521-1.gitf71d135.fc41 >>> Stop post-install scriptlet: crypto-policies-0:20240521-1.gitf71d135.fc41.no [ 5/156] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/156] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 7/156] Installing fedora-release-ide 100% | 929.7 KiB/s | 952.0 B | 00m00s [ 8/156] Installing fedora-gpg-keys-0: 100% | 18.4 MiB/s | 169.7 KiB | 00m00s [ 9/156] Installing fedora-repos-rawhi 100% | 2.4 MiB/s | 2.4 KiB | 00m00s [ 10/156] Installing fedora-repos-0:41- 100% | 5.6 MiB/s | 5.7 KiB | 00m00s [ 11/156] Installing fedora-release-com 100% | 11.5 MiB/s | 23.5 KiB | 00m00s [ 12/156] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 13/156] Installing setup-0:2.15.0-4.f 100% | 44.3 MiB/s | 726.1 KiB | 00m00s >>> Running post-install scriptlet: setup-0:2.15.0-4.fc41.noarch >>> Stop post-install scriptlet: setup-0:2.15.0-4.fc41.noarch [ 14/156] Installing filesystem-0:3.18- 100% | 1.6 MiB/s | 212.5 KiB | 00m00s [ 15/156] Installing basesystem-0:11-20 100% | 0.0 B/s | 124.0 B | 00m00s [ 16/156] Installing pkgconf-m4-0:2.1.1 100% | 14.0 MiB/s | 14.3 KiB | 00m00s [ 17/156] Installing pcre2-syntax-0:10. 100% | 81.9 MiB/s | 251.5 KiB | 00m00s [ 18/156] Installing ncurses-base-0:6.4 100% | 38.2 MiB/s | 351.6 KiB | 00m00s [ 19/156] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 20/156] Installing ncurses-libs-0:6.4 100% | 135.3 MiB/s | 969.7 KiB | 00m00s >>> Running pre-install scriptlet: glibc-0:2.39.9000-26.fc41.x86_64 >>> Stop pre-install scriptlet: glibc-0:2.39.9000-26.fc41.x86_64 warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [ 21/156] Installing glibc-0:2.39.9000- 100% | 121.5 MiB/s | 6.7 MiB | 00m00s >>> Running post-install scriptlet: glibc-0:2.39.9000-26.fc41.x86_64 >>> Stop post-install scriptlet: glibc-0:2.39.9000-26.fc41.x86_64 [ 22/156] Installing bash-0:5.2.26-3.fc 100% | 233.2 MiB/s | 8.2 MiB | 00m00s >>> Running post-install scriptlet: bash-0:5.2.26-3.fc40.x86_64 >>> Stop post-install scriptlet: bash-0:5.2.26-3.fc40.x86_64 [ 23/156] Installing glibc-common-0:2.3 100% | 115.0 MiB/s | 1.0 MiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [ 24/156] Installing glibc-gconv-extra- 100% | 114.0 MiB/s | 7.9 MiB | 00m00s >>> Running post-install scriptlet: glibc-gconv-extra-0:2.39.9000-26.fc41.x86_64 >>> Stop post-install scriptlet: glibc-gconv-extra-0:2.39.9000-26.fc41.x86_64 [ 25/156] Installing zlib-ng-compat-0:2 100% | 131.6 MiB/s | 134.8 KiB | 00m00s [ 26/156] Installing bzip2-libs-0:1.0.8 100% | 79.9 MiB/s | 81.8 KiB | 00m00s [ 27/156] Installing xz-libs-1:5.6.2-1. 100% | 105.2 MiB/s | 215.5 KiB | 00m00s [ 28/156] Installing popt-0:1.19-6.fc40 100% | 28.0 MiB/s | 143.5 KiB | 00m00s [ 29/156] Installing readline-0:8.2-8.f 100% | 160.0 MiB/s | 491.4 KiB | 00m00s [ 30/156] Installing libuuid-0:2.40.1-2 100% | 37.5 MiB/s | 38.4 KiB | 00m00s [ 31/156] Installing libblkid-0:2.40.1- 100% | 126.7 MiB/s | 259.5 KiB | 00m00s [ 32/156] Installing libattr-0:2.5.2-3. 100% | 28.8 MiB/s | 29.5 KiB | 00m00s [ 33/156] Installing libacl-0:2.3.2-1.f 100% | 39.9 MiB/s | 40.8 KiB | 00m00s [ 34/156] Installing libxcrypt-0:4.4.36 100% | 129.7 MiB/s | 265.5 KiB | 00m00s [ 35/156] Installing libstdc++-0:14.1.1 100% | 212.8 MiB/s | 2.8 MiB | 00m00s [ 36/156] Installing libzstd-0:1.5.6-1. 100% | 192.7 MiB/s | 789.2 KiB | 00m00s [ 37/156] Installing elfutils-libelf-0: 100% | 233.9 MiB/s | 1.2 MiB | 00m00s [ 38/156] Installing gmp-1:6.3.0-1.fc41 100% | 196.7 MiB/s | 805.6 KiB | 00m00s [ 39/156] Installing libeconf-0:0.6.2-2 100% | 58.3 MiB/s | 59.7 KiB | 00m00s [ 40/156] Installing gdbm-libs-1:1.23-6 100% | 120.7 MiB/s | 123.6 KiB | 00m00s [ 41/156] Installing mpfr-0:4.2.1-4.fc4 100% | 202.6 MiB/s | 829.7 KiB | 00m00s [ 42/156] Installing gawk-0:5.3.0-3.fc4 100% | 157.1 MiB/s | 1.7 MiB | 00m00s [ 43/156] Installing dwz-0:0.15-6.fc40. 100% | 142.7 MiB/s | 292.3 KiB | 00m00s [ 44/156] Installing unzip-0:6.0-63.fc4 100% | 125.8 MiB/s | 386.3 KiB | 00m00s [ 45/156] Installing file-libs-0:5.45-6 100% | 431.7 MiB/s | 9.9 MiB | 00m00s [ 46/156] Installing file-0:5.45-6.fc41 100% | 51.3 MiB/s | 105.0 KiB | 00m00s [ 47/156] Installing pcre2-0:10.43-2.fc 100% | 213.2 MiB/s | 654.9 KiB | 00m00s [ 48/156] Installing grep-0:3.11-8.fc41 100% | 111.0 MiB/s | 1.0 MiB | 00m00s [ 49/156] Installing xz-1:5.6.2-1.fc41. 100% | 120.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.1 100% | 107.2 MiB/s | 329.4 KiB | 00m00s [ 52/156] Installing pam-libs-0:1.6.1-3 100% | 67.1 MiB/s | 137.4 KiB | 00m00s [ 53/156] Installing libcap-0:2.70-1.fc 100% | 73.3 MiB/s | 225.2 KiB | 00m00s [ 54/156] Installing systemd-libs-0:256 100% | 253.7 MiB/s | 2.0 MiB | 00m00s [ 55/156] Installing libsmartcols-0:2.4 100% | 88.6 MiB/s | 181.5 KiB | 00m00s [ 56/156] Installing libsepol-0:3.6-3.f 100% | 196.0 MiB/s | 803.0 KiB | 00m00s [ 57/156] Installing libselinux-0:3.6-6 100% | 87.0 MiB/s | 178.3 KiB | 00m00s [ 58/156] Installing sed-0:4.9-1.fc40.x 100% | 94.4 MiB/s | 869.7 KiB | 00m00s [ 59/156] Installing findutils-1:4.10.0 100% | 154.8 MiB/s | 1.9 MiB | 00m00s [ 60/156] Installing libmount-0:2.40.1- 100% | 172.3 MiB/s | 352.9 KiB | 00m00s [ 61/156] Installing lz4-libs-0:1.9.4-6 100% | 127.4 MiB/s | 130.5 KiB | 00m00s [ 62/156] Installing lua-libs-0:5.4.6-5 100% | 137.8 MiB/s | 282.3 KiB | 00m00s [ 63/156] Installing libcom_err-0:1.47. 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 64/156] Installing alternatives-0:1.2 100% | 66.4 MiB/s | 68.0 KiB | 00m00s [ 65/156] Installing libtasn1-0:4.19.0- 100% | 86.7 MiB/s | 177.5 KiB | 00m00s [ 66/156] Installing libunistring-0:1.1 100% | 247.2 MiB/s | 1.7 MiB | 00m00s [ 67/156] Installing libidn2-0:2.3.7-1. 100% | 65.4 MiB/s | 335.0 KiB | 00m00s [ 68/156] Installing libpsl-0:0.21.5-3. 100% | 79.7 MiB/s | 81.6 KiB | 00m00s [ 69/156] Installing zstd-0:1.5.6-1.fc4 100% | 239.4 MiB/s | 1.7 MiB | 00m00s [ 70/156] Installing util-linux-core-0: 100% | 114.3 MiB/s | 1.5 MiB | 00m00s [ 71/156] Installing tar-2:1.35-3.fc40. 100% | 184.4 MiB/s | 3.0 MiB | 00m00s [ 72/156] Installing libsemanage-0:3.6- 100% | 72.1 MiB/s | 295.3 KiB | 00m00s [ 73/156] Installing shadow-utils-2:4.1 100% | 73.2 MiB/s | 4.2 MiB | 00m00s >>> Running pre-install scriptlet: libutempter-0:1.2.1-13.fc40.x86_64 >>> Stop pre-install scriptlet: libutempter-0:1.2.1-13.fc40.x86_64 [ 74/156] Installing libutempter-0:1.2. 100% | 29.2 MiB/s | 59.7 KiB | 00m00s [ 75/156] Installing zip-0:3.0-40.fc40. 100% | 138.1 MiB/s | 707.1 KiB | 00m00s [ 76/156] Installing gdbm-1:1.23-6.fc40 100% | 113.7 MiB/s | 465.8 KiB | 00m00s [ 77/156] Installing cyrus-sasl-lib-0:2 100% | 209.6 MiB/s | 2.3 MiB | 00m00s [ 78/156] Installing libfdisk-0:2.40.1- 100% | 177.7 MiB/s | 363.9 KiB | 00m00s [ 79/156] Installing libxml2-0:2.12.8-1 100% | 190.2 MiB/s | 1.7 MiB | 00m00s [ 80/156] Installing bzip2-0:1.0.8-18.f 100% | 47.0 MiB/s | 96.2 KiB | 00m00s [ 81/156] Installing add-determinism-0: 100% | 267.7 MiB/s | 2.1 MiB | 00m00s [ 82/156] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 83/156] Installing sqlite-libs-0:3.46 100% | 238.2 MiB/s | 1.4 MiB | 00m00s [ 84/156] Installing ed-0:1.20.2-1.fc41 100% | 72.8 MiB/s | 149.2 KiB | 00m00s [ 85/156] Installing patch-0:2.7.6-24.f 100% | 129.0 MiB/s | 264.3 KiB | 00m00s [ 86/156] Installing elfutils-default-y 100% | 204.3 KiB/s | 2.0 KiB | 00m00s >>> Running post-install scriptlet: elfutils-default-yama-scope-0:0.191-7.fc41.n >>> Stop post-install scriptlet: elfutils-default-yama-scope-0:0.191-7.fc41.noar [ 87/156] Installing elfutils-libs-0:0. 100% | 158.2 MiB/s | 648.0 KiB | 00m00s [ 88/156] Installing cpio-0:2.15-1.fc40 100% | 137.5 MiB/s | 1.1 MiB | 00m00s [ 89/156] Installing diffutils-0:3.10-5 100% | 158.6 MiB/s | 1.6 MiB | 00m00s [ 90/156] Installing libgomp-0:14.1.1-5 100% | 170.9 MiB/s | 525.0 KiB | 00m00s [ 91/156] Installing keyutils-libs-0:1. 100% | 54.5 MiB/s | 55.8 KiB | 00m00s [ 92/156] Installing libverto-0:0.3.2-8 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [ 93/156] Installing jansson-0:2.13.1-9 100% | 87.6 MiB/s | 89.7 KiB | 00m00s [ 94/156] Installing libpkgconf-0:2.1.1 100% | 73.6 MiB/s | 75.3 KiB | 00m00s [ 95/156] Installing pkgconf-0:2.1.1-1. 100% | 41.7 MiB/s | 85.4 KiB | 00m00s [ 96/156] Installing pkgconf-pkg-config 100% | 1.7 MiB/s | 1.8 KiB | 00m00s [ 97/156] Installing libffi-0:3.4.6-1.f 100% | 81.8 MiB/s | 83.8 KiB | 00m00s [ 98/156] Installing p11-kit-0:0.25.3-4 100% | 146.3 MiB/s | 2.2 MiB | 00m00s [ 99/156] Installing p11-kit-trust-0:0. 100% | 24.0 MiB/s | 393.1 KiB | 00m00s >>> Running post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.x86_64 >>> Stop post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.x86_64 [100/156] Installing xxhash-libs-0:0.8. 100% | 87.8 MiB/s | 89.9 KiB | 00m00s [101/156] Installing libbrotli-0:1.1.0- 100% | 203.1 MiB/s | 831.8 KiB | 00m00s [102/156] Installing libnghttp2-0:1.62. 100% | 163.3 MiB/s | 167.2 KiB | 00m00s [103/156] Installing libtool-ltdl-0:2.4 100% | 32.8 MiB/s | 67.3 KiB | 00m00s [104/156] Installing coreutils-common-0 100% | 238.1 MiB/s | 11.2 MiB | 00m00s [105/156] Installing openssl-libs-1:3.2 100% | 300.1 MiB/s | 7.8 MiB | 00m00s [106/156] Installing coreutils-0:9.5-2. 100% | 136.4 MiB/s | 5.6 MiB | 00m00s >>> Running pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.n >>> Stop pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noar [107/156] Installing ca-certificates-0: 100% | 2.2 MiB/s | 2.3 MiB | 00m01s >>> Running post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40. >>> Stop post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noa [108/156] Installing krb5-libs-0:1.21.2 100% | 143.4 MiB/s | 2.3 MiB | 00m00s [109/156] Installing libarchive-0:3.7.4 100% | 149.2 MiB/s | 916.6 KiB | 00m00s [110/156] Installing libtirpc-0:1.3.4-1 100% | 99.9 MiB/s | 204.6 KiB | 00m00s [111/156] Installing gzip-0:1.13-1.fc40 100% | 95.4 MiB/s | 390.6 KiB | 00m00s [112/156] Installing authselect-libs-0: 100% | 81.4 MiB/s | 833.2 KiB | 00m00s [113/156] Installing authselect-0:1.5.0 100% | 38.6 MiB/s | 157.9 KiB | 00m00s [114/156] Installing cracklib-0:2.9.11- 100% | 34.9 MiB/s | 250.3 KiB | 00m00s [115/156] Installing libpwquality-0:1.4 100% | 46.7 MiB/s | 430.1 KiB | 00m00s [116/156] Installing libnsl2-0:2.0.1-1. 100% | 28.8 MiB/s | 59.0 KiB | 00m00s [117/156] Installing pam-0:1.6.1-3.fc41 100% | 72.8 MiB/s | 1.8 MiB | 00m00s [118/156] Installing libssh-0:0.10.6-6. 100% | 125.8 MiB/s | 515.4 KiB | 00m00s [119/156] Installing rpm-sequoia-0:1.6. 100% | 245.6 MiB/s | 2.2 MiB | 00m00s [120/156] Installing rpm-libs-0:4.19.91 100% | 175.6 MiB/s | 719.3 KiB | 00m00s [121/156] Installing rpm-build-libs-0:4 100% | 101.3 MiB/s | 207.5 KiB | 00m00s [122/156] Installing libevent-0:2.1.12- 100% | 175.7 MiB/s | 899.4 KiB | 00m00s [123/156] Installing openldap-0:2.6.8-2 100% | 125.8 MiB/s | 644.0 KiB | 00m00s [124/156] Installing libcurl-0:8.8.0-1. 100% | 197.0 MiB/s | 806.8 KiB | 00m00s [125/156] Installing elfutils-debuginfo 100% | 32.7 MiB/s | 66.9 KiB | 00m00s [126/156] Installing elfutils-0:0.191-7 100% | 212.7 MiB/s | 2.6 MiB | 00m00s [127/156] Installing binutils-0:2.42.50 100% | 241.3 MiB/s | 26.8 MiB | 00m00s >>> Running post-install scriptlet: binutils-0:2.42.50-14.fc41.x86_64 >>> Stop post-install scriptlet: binutils-0:2.42.50-14.fc41.x86_64 [128/156] Installing gdb-minimal-0:14.2 100% | 271.2 MiB/s | 12.7 MiB | 00m00s [129/156] Installing debugedit-0:5.0-16 100% | 65.8 MiB/s | 202.0 KiB | 00m00s [130/156] Installing curl-0:8.8.0-1.fc4 100% | 30.4 MiB/s | 746.2 KiB | 00m00s >>> Running pre-install scriptlet: rpm-0:4.19.91-13.fc41.x86_64 >>> Stop pre-install scriptlet: rpm-0:4.19.91-13.fc41.x86_64 [131/156] Installing rpm-0:4.19.91-13.f 100% | 75.5 MiB/s | 2.5 MiB | 00m00s [132/156] Installing efi-srpm-macros-0: 100% | 20.1 MiB/s | 41.2 KiB | 00m00s [133/156] Installing lua-srpm-macros-0: 100% | 1.9 MiB/s | 1.9 KiB | 00m00s [134/156] Installing zig-srpm-macros-0: 100% | 1.6 MiB/s | 1.7 KiB | 00m00s [135/156] Installing rust-srpm-macros-0 100% | 5.4 MiB/s | 5.6 KiB | 00m00s [136/156] Installing qt6-srpm-macros-0: 100% | 714.8 KiB/s | 732.0 B | 00m00s [137/156] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [138/156] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [139/156] Installing package-notes-srpm 100% | 2.0 MiB/s | 2.0 KiB | 00m00s [140/156] Installing openblas-srpm-macr 100% | 382.8 KiB/s | 392.0 B | 00m00s [141/156] Installing ocaml-srpm-macros- 100% | 2.1 MiB/s | 2.2 KiB | 00m00s [142/156] Installing kernel-srpm-macros 100% | 2.3 MiB/s | 2.3 KiB | 00m00s [143/156] Installing gnat-srpm-macros-0 100% | 1.2 MiB/s | 1.3 KiB | 00m00s [144/156] Installing ghc-srpm-macros-0: 100% | 1.0 MiB/s | 1.0 KiB | 00m00s [145/156] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [146/156] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [147/156] Installing python-srpm-macros 100% | 50.5 MiB/s | 51.7 KiB | 00m00s [148/156] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [149/156] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [150/156] Installing forge-srpm-macros- 100% | 19.7 MiB/s | 40.3 KiB | 00m00s [151/156] Installing redhat-rpm-config- 100% | 46.4 MiB/s | 190.1 KiB | 00m00s [152/156] Installing rpm-build-0:4.19.9 100% | 49.5 MiB/s | 202.6 KiB | 00m00s [153/156] Installing pyproject-srpm-mac 100% | 1.0 MiB/s | 2.1 KiB | 00m00s [154/156] Installing util-linux-0:2.40. 100% | 73.4 MiB/s | 3.7 MiB | 00m00s >>> Running post-install scriptlet: util-linux-0:2.40.1-2.fc41.x86_64 >>> Stop post-install scriptlet: util-linux-0:2.40.1-2.fc41.x86_64 [155/156] Installing which-0:2.21-41.fc 100% | 26.8 MiB/s | 82.4 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [156/156] Installing info-0:7.1-2.fc40. 100% | 174.9 KiB/s | 358.2 KiB | 00m02s >>> Running post-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 >>> Stop post-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 >>> Running post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.f >>> Stop post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40 >>> Running post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc41.x86_64 >>> Stop post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc41.x86_64 >>> Running post-transaction scriptlet: rpm-0:4.19.91-13.fc41.x86_64 >>> Stop post-transaction scriptlet: rpm-0:4.19.91-13.fc41.x86_64 >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 Warning: skipped PGP checks for 3 packages from repository: copr_base Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.3.1-1.fc41.x86_64 alternatives-1.27-1.fc41.x86_64 ansible-srpm-macros-1-15.fc41.noarch audit-libs-4.0.1-3.fc41.x86_64 authselect-1.5.0-5.fc41.x86_64 authselect-libs-1.5.0-5.fc41.x86_64 basesystem-11-20.fc40.noarch bash-5.2.26-3.fc40.x86_64 binutils-2.42.50-14.fc41.x86_64 build-reproducibility-srpm-macros-0.3.1-1.fc41.noarch bzip2-1.0.8-18.fc40.x86_64 bzip2-libs-1.0.8-18.fc40.x86_64 ca-certificates-2023.2.62_v7.0.401-6.fc40.noarch coreutils-9.5-2.fc41.x86_64 coreutils-common-9.5-2.fc41.x86_64 cpio-2.15-1.fc40.x86_64 cracklib-2.9.11-5.fc40.x86_64 crypto-policies-20240521-1.gitf71d135.fc41.noarch curl-8.8.0-1.fc41.x86_64 cyrus-sasl-lib-2.1.28-24.fc41.x86_64 debugedit-5.0-16.fc41.x86_64 diffutils-3.10-5.fc40.x86_64 dwz-0.15-6.fc40.x86_64 ed-1.20.2-1.fc41.x86_64 efi-srpm-macros-5-11.fc40.noarch elfutils-0.191-7.fc41.x86_64 elfutils-debuginfod-client-0.191-7.fc41.x86_64 elfutils-default-yama-scope-0.191-7.fc41.noarch elfutils-libelf-0.191-7.fc41.x86_64 elfutils-libs-0.191-7.fc41.x86_64 fedora-gpg-keys-41-0.2.noarch fedora-release-41-0.13.noarch fedora-release-common-41-0.13.noarch fedora-release-identity-basic-41-0.13.noarch fedora-repos-41-0.2.noarch fedora-repos-rawhide-41-0.2.noarch file-5.45-6.fc41.x86_64 file-libs-5.45-6.fc41.x86_64 filesystem-3.18-9.fc41.x86_64 findutils-4.10.0-2.fc41.x86_64 fonts-srpm-macros-2.0.5-16.fc41.noarch forge-srpm-macros-0.3.1-1.fc41.noarch fpc-srpm-macros-1.3-12.fc40.noarch gawk-5.3.0-3.fc40.x86_64 gdb-minimal-14.2-12.fc41.x86_64 gdbm-1.23-6.fc40.x86_64 gdbm-libs-1.23-6.fc40.x86_64 ghc-srpm-macros-1.9.1-1.fc41.noarch glibc-2.39.9000-26.fc41.x86_64 glibc-common-2.39.9000-26.fc41.x86_64 glibc-gconv-extra-2.39.9000-26.fc41.x86_64 glibc-minimal-langpack-2.39.9000-26.fc41.x86_64 gmp-6.3.0-1.fc41.x86_64 gnat-srpm-macros-6-5.fc40.noarch go-srpm-macros-3.6.0-1.fc41.noarch gpg-pubkey-a15b79cc-63d04c2c gpg-pubkey-e99d6ad1-64d2612c grep-3.11-8.fc41.x86_64 gzip-1.13-1.fc40.x86_64 info-7.1-2.fc40.x86_64 jansson-2.13.1-9.fc40.x86_64 kernel-srpm-macros-1.0-23.fc41.noarch keyutils-libs-1.6.3-3.fc40.x86_64 krb5-libs-1.21.2-5.fc40.x86_64 libacl-2.3.2-1.fc40.x86_64 libarchive-3.7.4-1.fc41.x86_64 libattr-2.5.2-3.fc40.x86_64 libblkid-2.40.1-2.fc41.x86_64 libbrotli-1.1.0-4.fc41.x86_64 libcap-2.70-1.fc41.x86_64 libcap-ng-0.8.5-2.fc41.x86_64 libcom_err-1.47.0-5.fc40.x86_64 libcurl-8.8.0-1.fc41.x86_64 libeconf-0.6.2-2.fc41.x86_64 libevent-2.1.12-13.fc41.x86_64 libfdisk-2.40.1-2.fc41.x86_64 libffi-3.4.6-1.fc41.x86_64 libgcc-14.1.1-5.fc41.x86_64 libgomp-14.1.1-5.fc41.x86_64 libidn2-2.3.7-1.fc40.x86_64 libmount-2.40.1-2.fc41.x86_64 libnghttp2-1.62.0-1.fc41.x86_64 libnsl2-2.0.1-1.fc40.x86_64 libpkgconf-2.1.1-1.fc41.x86_64 libpsl-0.21.5-3.fc40.x86_64 libpwquality-1.4.5-10.fc41.x86_64 libselinux-3.6-6.fc41.x86_64 libsemanage-3.6-4.fc41.x86_64 libsepol-3.6-3.fc40.x86_64 libsmartcols-2.40.1-2.fc41.x86_64 libssh-0.10.6-6.fc41.x86_64 libssh-config-0.10.6-6.fc41.noarch libstdc++-14.1.1-5.fc41.x86_64 libtasn1-4.19.0-6.fc40.x86_64 libtirpc-1.3.4-1.rc3.fc41.x86_64 libtool-ltdl-2.4.7-11.fc41.x86_64 libunistring-1.1-7.fc41.x86_64 libutempter-1.2.1-13.fc40.x86_64 libuuid-2.40.1-2.fc41.x86_64 libverto-0.3.2-8.fc40.x86_64 libxcrypt-4.4.36-5.fc40.x86_64 libxml2-2.12.8-1.fc41.x86_64 libzstd-1.5.6-1.fc41.x86_64 lua-libs-5.4.6-5.fc40.x86_64 lua-srpm-macros-1-13.fc40.noarch lz4-libs-1.9.4-6.fc40.x86_64 mpfr-4.2.1-4.fc41.x86_64 ncurses-base-6.4-12.20240127.fc40.noarch ncurses-libs-6.4-12.20240127.fc40.x86_64 ocaml-srpm-macros-10-2.fc41.noarch openblas-srpm-macros-2-17.fc41.noarch openldap-2.6.8-2.fc41.x86_64 openssl-libs-3.2.2-1.fc41.x86_64 p11-kit-0.25.3-4.fc40.x86_64 p11-kit-trust-0.25.3-4.fc40.x86_64 package-notes-srpm-macros-0.5-11.fc40.noarch pam-1.6.1-3.fc41.x86_64 pam-libs-1.6.1-3.fc41.x86_64 patch-2.7.6-24.fc40.x86_64 pcre2-10.43-2.fc41.1.x86_64 pcre2-syntax-10.43-2.fc41.1.noarch perl-srpm-macros-1-55.fc41.noarch pkgconf-2.1.1-1.fc41.x86_64 pkgconf-m4-2.1.1-1.fc41.noarch pkgconf-pkg-config-2.1.1-1.fc41.x86_64 popt-1.19-6.fc40.x86_64 publicsuffix-list-dafsa-20240107-3.fc40.noarch pyproject-srpm-macros-1.12.1-1.fc41.noarch python-srpm-macros-3.13-1.fc41.noarch qt5-srpm-macros-5.15.14-1.fc41.noarch qt6-srpm-macros-6.7.1-1.fc41.noarch readline-8.2-8.fc40.x86_64 redhat-rpm-config-293-1.fc41.noarch rpm-4.19.91-13.fc41.x86_64 rpm-build-4.19.91-13.fc41.x86_64 rpm-build-libs-4.19.91-13.fc41.x86_64 rpm-libs-4.19.91-13.fc41.x86_64 rpm-sequoia-1.6.0-3.fc41.x86_64 rust-srpm-macros-26.3-1.fc41.noarch sed-4.9-1.fc40.x86_64 setup-2.15.0-4.fc41.noarch shadow-utils-4.15.1-5.fc41.x86_64 sqlite-libs-3.46.0-2.fc41.x86_64 systemd-libs-256.1-3.fc41.x86_64 tar-1.35-3.fc40.x86_64 unzip-6.0-63.fc40.x86_64 util-linux-2.40.1-2.fc41.x86_64 util-linux-core-2.40.1-2.fc41.x86_64 which-2.21-41.fc40.x86_64 xxhash-libs-0.8.2-2.fc40.x86_64 xz-5.6.2-1.fc41.x86_64 xz-libs-5.6.2-1.fc41.x86_64 zig-srpm-macros-1-2.fc40.noarch zip-3.0-40.fc40.x86_64 zlib-ng-compat-2.1.6-6.fc41.x86_64 zstd-1.5.6-1.fc41.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1718668800 Wrote: /builddir/build/SRPMS/python-xarray-2024.6.0-1.fc41.src.rpm Finish: rpmbuild -bs cp: preserving permissions for ‘/var/lib/copr-rpmbuild/results/chroot_scan/var/lib/mock/fedora-rawhide-x86_64-1718984006.925341/root/var/log’: No such file or directory INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1718984006.925341/root/var/log/dnf5.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-4raqvor8/python-xarray/python-xarray.spec) Config(child) 0 minutes 33 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-xarray-2024.6.0-1.fc41.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1718984006.925341/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1718984006.925341/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-1718984006.925341/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.19.91-13.fc41.x86_64 rpm-sequoia-1.6.0-3.fc41.x86_64 dnf5-5.2.3.0-3.fc41.x86_64 dnf5-plugins-5.2.3.0-3.fc41.x86_64 Finish: chroot init Start: build phase for python-xarray-2024.6.0-1.fc41.src.rpm Start: build setup for python-xarray-2024.6.0-1.fc41.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1718668800 Wrote: /builddir/build/SRPMS/python-xarray-2024.6.0-1.fc41.src.rpm Updating and loading repositories: fedora 100% | 191.2 KiB/s | 5.9 KiB | 00m00s Copr repository 100% | 16.3 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 6.2 MiB/s | 1.3 MiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-Bottleneck x86_64 1.3.7-6.fc41 copr_base 628.1 KiB python3-cftime x86_64 1.6.3-5.fc41 copr_base 628.1 KiB python3-dask+array x86_64 2024.6.2-2.fc41~bootstrap copr_base 6.9 KiB python3-dask+dataframe x86_64 2024.6.2-2.fc41~bootstrap copr_base 6.9 KiB python3-devel x86_64 3.13.0~b2-3.fc41 fedora 1.7 MiB python3-netcdf4 x86_64 1.6.5-4.fc41 fedora 2.2 MiB python3-pint noarch 0.24-2.fc41 copr_base 3.2 MiB python3-pytest noarch 8.2.2-2.fc41 copr_base 19.1 MiB python3-pytest-xdist noarch 3.6.1-2.fc41 copr_base 447.2 KiB python3-rasterio x86_64 1.3.10-4.fc41 copr_base 4.0 MiB python3-seaborn noarch 0.13.2-2.fc41 fedora 2.3 MiB python3-zarr noarch 2.16.1-4.fc41 fedora 3.2 MiB Installing dependencies: SuperLU x86_64 6.0.1-5.fc41 fedora 474.3 KiB abattis-cantarell-vf-fonts noarch 0.301-12.fc40 fedora 192.7 KiB abseil-cpp x86_64 20240116.2-2.fc41 fedora 2.5 MiB armadillo x86_64 12.8.1-1.fc41 fedora 90.3 KiB arpack x86_64 3.9.1-3.fc40 fedora 646.0 KiB blosc x86_64 1.21.5-4.fc40 fedora 122.1 KiB boost-program-options x86_64 1.83.0-7.fc41 fedora 272.7 KiB c-ares x86_64 1.30.0-1.fc41 fedora 213.1 KiB cairo x86_64 1.18.0-3.fc40 fedora 1.7 MiB cfitsio x86_64 4.4.0-2.fc41 fedora 1.8 MiB crypto-policies-scripts noarch 20240521-1.gitf71d135.fc41 copr_base 323.3 KiB default-fonts-core-sans noarch 4.0-14.fc41 fedora 11.9 KiB dejavu-sans-fonts noarch 2.37-23.fc40 fedora 5.5 MiB expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB flexiblas x86_64 3.4.4-1.fc41 fedora 48.5 KiB flexiblas-netlib x86_64 3.4.4-1.fc41 fedora 10.4 MiB flexiblas-netlib64 x86_64 3.4.4-1.fc41 fedora 10.5 MiB flexiblas-openblas-openmp x86_64 3.4.4-1.fc41 fedora 39.3 KiB flexiblas-openblas-openmp64 x86_64 3.4.4-1.fc41 fedora 39.3 KiB fontconfig x86_64 2.15.0-6.fc41 fedora 768.0 KiB fonts-filesystem noarch 1:2.0.5-16.fc41 fedora 0.0 B freetype x86_64 2.13.2-5.fc40 fedora 842.6 KiB freexl x86_64 2.0.0-7.fc41 fedora 89.4 KiB fribidi x86_64 1.0.15-1.fc41 fedora 368.3 KiB gdal-libs x86_64 3.9.0-4.fc41 copr_base 29.3 MiB geos x86_64 3.12.2-1.fc41 fedora 3.5 MiB giflib x86_64 5.2.2-1.fc41 fedora 112.2 KiB glib2 x86_64 2.80.3-1.fc41 fedora 14.6 MiB gnupg2 x86_64 2.4.5-1.fc41 fedora 9.5 MiB gnutls x86_64 3.8.5-5.fc41 fedora 3.2 MiB google-noto-fonts-common noarch 20240601-1.fc41 fedora 17.5 KiB google-noto-sans-vf-fonts noarch 20240601-1.fc41 fedora 1.2 MiB gpgme x86_64 1.23.2-4.fc41 fedora 575.3 KiB gpgmepp x86_64 1.23.2-4.fc41 fedora 420.2 KiB graphite2 x86_64 1.3.14-15.fc40 fedora 192.0 KiB grpc x86_64 1.48.4-37.fc41 fedora 10.5 MiB grpc-cpp x86_64 1.48.4-37.fc41 fedora 3.0 MiB grpc-data noarch 1.48.4-37.fc41 fedora 29.6 KiB harfbuzz x86_64 8.5.0-1.fc41 fedora 2.7 MiB hdf-libs x86_64 4.2.16.2-1.fc40 fedora 683.5 KiB hdf5 x86_64 1.12.1-15.fc40 fedora 8.4 MiB imath x86_64 3.1.11-2.fc41 fedora 368.0 KiB jbigkit-libs x86_64 2.1-29.fc40 fedora 117.6 KiB json-c x86_64 0.17-3.fc40 fedora 82.4 KiB lcms2 x86_64 2.16-3.fc40 fedora 420.9 KiB libX11 x86_64 1.8.9-1.fc41 fedora 1.3 MiB libX11-common noarch 1.8.9-1.fc41 fedora 1.1 MiB libXau x86_64 1.0.11-6.fc40 fedora 66.9 KiB libXext x86_64 1.3.6-1.fc40 fedora 90.1 KiB libXft x86_64 2.3.8-6.fc40 fedora 164.5 KiB libXrender x86_64 0.9.11-6.fc40 fedora 50.1 KiB libaec x86_64 1.1.2-1.fc40 fedora 94.1 KiB libarrow x86_64 16.1.0-5.fc41 fedora 22.7 MiB libarrow-acero-libs x86_64 16.1.0-5.fc41 fedora 1.4 MiB libarrow-dataset-libs x86_64 16.1.0-5.fc41 fedora 1.5 MiB libarrow-doc noarch 16.1.0-5.fc41 fedora 115.7 KiB libarrow-flight-libs x86_64 16.1.0-5.fc41 fedora 1.4 MiB libarrow-glib-libs x86_64 16.1.0-5.fc41 fedora 1.4 MiB libassuan x86_64 2.5.7-1.fc41 fedora 163.8 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libdeflate x86_64 1.20-6.fc41 fedora 116.6 KiB libgcrypt x86_64 1.10.3-4.fc41 fedora 1.3 MiB libgeotiff x86_64 1.7.3-1.fc41 fedora 311.9 KiB libgfortran x86_64 14.1.1-5.fc41 fedora 3.0 MiB libgpg-error x86_64 1.50-1.fc41 fedora 889.5 KiB libgta x86_64 1.2.1-12.fc40 fedora 70.2 KiB libimagequant x86_64 4.0.3-3.fc40 fedora 690.3 KiB libjpeg-turbo x86_64 3.0.2-2.fc41 fedora 772.9 KiB libkml x86_64 1.3.0-48.fc41 fedora 1.2 MiB libksba x86_64 1.6.6-1.fc41 fedora 392.9 KiB liblerc x86_64 4.0.0-6.fc40 fedora 603.5 KiB liborc2 x86_64 2.0.1-3.fc41 fedora 1.6 MiB libpng x86_64 2:1.6.40-3.fc40 fedora 241.8 KiB libpq x86_64 16.3-3.fc41 fedora 965.4 KiB libqhull_r x86_64 1:8.0.2-4.fc40 fedora 475.4 KiB libquadmath x86_64 14.1.1-5.fc41 fedora 325.9 KiB libraqm x86_64 0.8.0-7.fc40 fedora 28.6 KiB librttopo x86_64 1.1.0-14.fc40 fedora 504.8 KiB libspatialite x86_64 5.1.0-6.fc41 fedora 15.2 MiB libtiff x86_64 4.6.0-2.fc40 fedora 1.1 MiB libwebp x86_64 1.4.0-1.fc41 fedora 802.7 KiB libxcb x86_64 1.17.0-1.fc41 fedora 1.1 MiB libxslt x86_64 1.1.41-1.fc41 fedora 482.7 KiB libyaml x86_64 0.2.5-14.fc40 fedora 130.4 KiB mariadb-connector-c x86_64 3.3.8-3.fc40 fedora 513.4 KiB mariadb-connector-c-config noarch 3.3.8-3.fc40 fedora 497.0 B metis x86_64 5.1.0.3-5.fc40 fedora 973.2 KiB minizip-ng-compat x86_64 3.0.10-8.fc41 fedora 158.5 KiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB netcdf x86_64 4.9.2-5.fc40 fedora 2.4 MiB nettle x86_64 3.10-2.fc41 fedora 793.0 KiB npth x86_64 1.7-1.fc41 fedora 49.4 KiB nspr x86_64 4.35.0-25.fc41 fedora 316.4 KiB nss x86_64 3.101.0-2.fc41 fedora 1.9 MiB nss-softokn x86_64 3.101.0-2.fc41 fedora 1.9 MiB nss-softokn-freebl x86_64 3.101.0-2.fc41 fedora 787.3 KiB nss-sysinit x86_64 3.101.0-2.fc41 fedora 18.2 KiB nss-util x86_64 3.101.0-2.fc41 fedora 226.2 KiB ogdi x86_64 4.1.1-1.fc40 fedora 797.2 KiB openblas x86_64 0.3.26-4.fc40 fedora 96.0 KiB openblas-openmp x86_64 0.3.26-4.fc40 fedora 38.9 MiB openblas-openmp64 x86_64 0.3.26-4.fc40 fedora 39.1 MiB openexr-libs x86_64 3.2.4-2.fc41 fedora 6.5 MiB openjpeg2 x86_64 2.5.2-1.fc41 fedora 441.7 KiB parquet-libs x86_64 16.1.0-5.fc41 fedora 3.3 MiB pixman x86_64 0.43.4-1.fc41 fedora 710.1 KiB poppler x86_64 24.02.0-2.fc40 fedora 3.5 MiB poppler-data noarch 0.4.11-7.fc40 fedora 12.3 MiB proj x86_64 9.4.1-1.fc41 fedora 4.4 MiB proj-data noarch 9.4.1-1.fc41 fedora 9.0 MiB protobuf x86_64 3.19.6-9.fc41 fedora 3.2 MiB protobuf-compiler x86_64 3.19.6-9.fc41 fedora 2.5 MiB pyproject-rpm-macros noarch 1.12.1-1.fc41 copr_base 99.6 KiB python-pip-wheel noarch 24.0-5.fc41 copr_base 1.5 MiB python-rpm-macros noarch 3.13-1.fc41 fedora 22.1 KiB python3 x86_64 3.13.0~b2-3.fc41 fedora 31.8 KiB python3-affine noarch 2.4.0-7.fc41 copr_base 163.5 KiB python3-appdirs noarch 1.4.4-22.fc41 fedora 68.8 KiB python3-asciitree noarch 0.3.3-29.fc41 fedora 20.6 KiB python3-attrs noarch 23.2.0-9.fc41 copr_base 378.4 KiB python3-babel noarch 2.15.0-3.fc41 copr_base 28.4 MiB python3-brotli x86_64 1.1.0-4.fc41 fedora 824.0 KiB python3-cairo x86_64 1.25.1-4.fc41 copr_base 492.5 KiB python3-certifi noarch 2023.05.07-6.fc41 copr_base 6.6 KiB python3-charset-normalizer noarch 3.3.2-4.fc41 copr_base 315.0 KiB python3-click noarch 8.1.7-5.fc41 copr_base 1.1 MiB python3-click-plugins noarch 1.1.1-20.fc41 copr_base 24.2 KiB python3-cligj noarch 0.7.2-13.fc41 copr_base 33.1 KiB python3-cloudpickle noarch 3.0.0-7.fc41 copr_base 123.8 KiB python3-contourpy x86_64 1.2.1-3.fc41 copr_base 791.0 KiB python3-cycler noarch 0.11.0-12.fc41 fedora 37.6 KiB python3-cython x86_64 3.0.9-5.fc41 fedora 18.2 MiB python3-dask noarch 2024.6.2-2.fc41~bootstrap copr_base 17.0 MiB python3-dask-expr noarch 1.1.3-9.fc41 copr_base 2.6 MiB python3-dateutil noarch 1:2.8.2-15.fc41 copr_base 1.0 MiB python3-docutils noarch 0.20.1-5.fc41 fedora 4.9 MiB python3-execnet noarch 2.1.1-2.fc41 copr_base 914.6 KiB python3-fasteners noarch 0.19-6.fc41 fedora 116.6 KiB python3-flexcache noarch 0.3-1.fc41 copr_base 76.4 KiB python3-flexparser noarch 0.3.1-2.fc41 copr_base 231.8 KiB python3-fonttools x86_64 4.52.4-3.fc41 copr_base 18.2 MiB python3-fs noarch 2.4.16-8.fc41 copr_base 1.3 MiB python3-fsspec noarch 2024.6.0-2.fc41 copr_base 1.7 MiB python3-husl noarch 4.0.3-30.fc41 fedora 20.8 KiB python3-idna noarch 3.7-2.fc41 copr_base 595.9 KiB python3-imagesize noarch 1.4.1-8.fc41 copr_base 35.3 KiB python3-iniconfig noarch 1.1.1-22.fc41 copr_base 20.6 KiB python3-jinja2 noarch 3.1.4-4.fc41 copr_base 2.9 MiB python3-kiwisolver x86_64 1.4.5-4.fc41 copr_base 154.2 KiB python3-libs x86_64 3.13.0~b2-3.fc41 fedora 40.5 MiB python3-locket noarch 1.0.0-9.fc41 copr_base 20.8 KiB python3-lxml x86_64 5.2.1-4.fc41 fedora 4.9 MiB python3-markupsafe x86_64 2.1.5-2.fc41 copr_base 57.5 KiB python3-matplotlib x86_64 3.9.0-4.fc41 copr_base 21.9 MiB python3-matplotlib-data noarch 3.9.0-4.fc41 copr_base 741.5 KiB python3-matplotlib-data-fonts noarch 3.9.0-4.fc41 copr_base 7.9 MiB python3-matplotlib-tk x86_64 3.9.0-4.fc41 copr_base 262.7 KiB python3-numcodecs x86_64 0.12.1-4.fc41 copr_base 1.6 MiB python3-numpy x86_64 1:1.26.4-7.fc41 copr_base 44.2 MiB python3-numpy-f2py x86_64 1:1.26.4-7.fc41 copr_base 2.8 MiB python3-numpydoc noarch 1.7.0-2.fc41 copr_base 645.0 KiB python3-olefile noarch 0.47-4.fc41 fedora 340.8 KiB python3-packaging noarch 24.1-1.fc41 copr_base 422.7 KiB python3-pandas x86_64 2.2.1-4.fc41~bootstrap fedora 42.0 MiB python3-partd noarch 1.4.1-4.fc41 copr_base 164.6 KiB python3-pillow x86_64 10.3.0-2.fc41 copr_base 3.4 MiB python3-pillow-tk x86_64 10.3.0-2.fc41 copr_base 64.7 KiB python3-platformdirs noarch 3.11.0-4.fc41 copr_base 162.3 KiB python3-pluggy noarch 1.5.0-1.fc41 copr_base 193.4 KiB python3-pooch noarch 1.8.1-6.fc41 copr_base 620.1 KiB python3-pyarrow x86_64 16.1.0-5.fc41 fedora 14.2 MiB python3-pygments noarch 2.17.2-6.fc41 copr_base 10.4 MiB python3-pyparsing noarch 3.1.2-6.fc41 copr_base 1.3 MiB python3-pytz noarch 2024.1-2.fc41 fedora 231.6 KiB python3-pyyaml x86_64 6.0.1-17.fc41 fedora 791.4 KiB python3-requests noarch 2.32.3-1.fc41 copr_base 486.1 KiB python3-rpm-generators noarch 14-10.fc40 fedora 81.7 KiB python3-rpm-macros noarch 3.13-1.fc41 fedora 6.4 KiB python3-scipy x86_64 1.11.3-13.fc41 fedora 62.4 MiB python3-setuptools noarch 69.2.0-6.fc41 copr_base 7.3 MiB python3-six noarch 1.16.0-22.fc41 copr_base 159.4 KiB python3-snowballstemmer noarch 2.2.0-11.fc41 fedora 1.7 MiB python3-snuggs noarch 1.4.7-18.fc41 copr_base 25.3 KiB python3-sphinx noarch 1:7.2.6-8.fc41 fedora 10.9 MiB python3-sphinx-theme-alabaster noarch 0.7.16-5.fc41 fedora 41.9 KiB python3-tabulate noarch 0.9.0-9.fc41 copr_base 342.2 KiB python3-tkinter x86_64 3.13.0~b2-3.fc41 fedora 2.0 MiB python3-toolz noarch 0.12.1-1.fc41 copr_base 616.7 KiB python3-typing-extensions noarch 4.12.2-2.fc41 fedora 464.8 KiB python3-urllib3 noarch 1.26.18-6.fc41 copr_base 1.0 MiB re2 x86_64 1:20220601-5.fc40 fedora 492.9 KiB snappy x86_64 1.2.1-1.fc41 fedora 71.1 KiB tcl x86_64 1:8.6.14-1.fc41 fedora 4.2 MiB thrift x86_64 0.20.0-2.fc41 fedora 4.8 MiB tk x86_64 1:8.6.14-1.fc41 fedora 3.6 MiB tpm2-tss x86_64 4.1.3-1.fc41 fedora 1.5 MiB tzdata noarch 2024a-8.fc41 fedora 1.7 MiB unixODBC x86_64 2.3.12-4.fc40 fedora 1.2 MiB uriparser x86_64 0.9.8-1.fc41 fedora 141.9 KiB utf8proc x86_64 2.7.0-7.fc40 fedora 362.4 KiB xerces-c x86_64 3.2.5-4.fc41 fedora 3.6 MiB xml-common noarch 0.6.3-64.fc41 fedora 78.4 KiB Transaction Summary: Installing: 214 packages Total size of inbound packages is 178 MiB. Need to download 148 MiB. After this operation 775 MiB will be used (install 775 MiB, remove 0 B). [ 1/214] python3-devel-0:3.13.0~b2-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/214] python3-pytest-0:8.2.2-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/214] python3-libs-0:3.13.0~b2-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/214] python3-typing-extensions-0:4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/214] python3-pluggy-0:1.5.0-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/214] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/214] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/214] mpdecimal-0:2.5.1-9.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/214] tzdata-0:2024a-8.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/214] python3-pyyaml-0:6.0.1-17.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/214] libyaml-0:0.2.5-14.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/214] python-rpm-macros-0:3.13-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/214] python3-rpm-generators-0:14-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/214] python3-rpm-macros-0:3.13-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/214] python3-0:3.13.0~b2-3.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/214] python3-attrs-0:23.2.0-9.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/214] python3-click-0:8.1.7-5.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/214] python3-setuptools-0:69.2.0-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/214] python3-iniconfig-0:1.1.1-22. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/214] python3-packaging-0:24.1-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/214] python3-sphinx-1:7.2.6-8.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/214] python3-docutils-0:0.20.1-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/214] python3-snowballstemmer-0:2.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/214] python3-sphinx-theme-alabaste 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/214] python-pip-wheel-0:24.0-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/214] pyproject-rpm-macros-0:1.12.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/214] python3-platformdirs-0:3.11.0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/214] python3-requests-0:2.32.3-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/214] python3-brotli-0:1.1.0-4.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/214] python3-six-0:1.16.0-22.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/214] python3-babel-0:2.15.0-3.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/214] python3-imagesize-0:1.4.1-8.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/214] python3-jinja2-0:3.1.4-4.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/214] python3-pygments-0:2.17.2-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/214] python3-charset-normalizer-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/214] python3-idna-0:3.7-2.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/214] python3-markupsafe-0:2.1.5-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/214] python3-zarr-0:2.16.1-4.fc41. 100% | 3.8 MiB/s | 552.5 KiB | 00m00s [ 39/214] python3-seaborn-0:0.13.2-2.fc 100% | 4.2 MiB/s | 626.1 KiB | 00m00s [ 40/214] python3-netcdf4-0:1.6.5-4.fc4 100% | 4.0 MiB/s | 628.1 KiB | 00m00s [ 41/214] python3-dask+array-0:2024.6.2 100% | 246.3 KiB/s | 12.8 KiB | 00m00s [ 42/214] python3-Bottleneck-0:1.3.7-6. 100% | 1.4 MiB/s | 165.7 KiB | 00m00s [ 43/214] python3-dask+dataframe-0:2024 100% | 265.8 KiB/s | 13.0 KiB | 00m00s [ 44/214] python3-pytest-xdist-0:3.6.1- 100% | 5.2 MiB/s | 102.1 KiB | 00m00s [ 45/214] python3-cftime-0:1.6.3-5.fc41 100% | 1.5 MiB/s | 225.9 KiB | 00m00s [ 46/214] python3-pint-0:0.24-2.fc41.no 100% | 12.4 MiB/s | 657.6 KiB | 00m00s [ 47/214] python3-rasterio-0:1.3.10-4.f 100% | 9.1 MiB/s | 1.1 MiB | 00m00s [ 48/214] python3-cython-0:3.0.9-5.fc41 100% | 27.4 MiB/s | 3.9 MiB | 00m00s [ 49/214] netcdf-0:4.9.2-5.fc40.x86_64 100% | 5.0 MiB/s | 832.9 KiB | 00m00s [ 50/214] python3-husl-0:4.0.3-30.fc41. 100% | 387.2 KiB/s | 18.2 KiB | 00m00s [ 51/214] python3-asciitree-0:0.3.3-29. 100% | 748.7 KiB/s | 18.0 KiB | 00m00s [ 52/214] python3-fasteners-0:0.19-6.fc 100% | 1.9 MiB/s | 50.6 KiB | 00m00s [ 53/214] python3-dask-0:2024.6.2-2.fc4 100% | 24.1 MiB/s | 3.0 MiB | 00m00s [ 54/214] python3-pandas-0:2.2.1-4.fc41 100% | 34.1 MiB/s | 8.1 MiB | 00m00s [ 55/214] python3-appdirs-0:1.4.4-22.fc 100% | 188.8 KiB/s | 23.4 KiB | 00m00s [ 56/214] blosc-0:1.21.5-4.fc40.x86_64 100% | 505.9 KiB/s | 58.7 KiB | 00m00s [ 57/214] python3-scipy-0:1.11.3-13.fc4 100% | 42.3 MiB/s | 16.1 MiB | 00m00s [ 58/214] libaec-0:1.1.2-1.fc40.x86_64 100% | 652.7 KiB/s | 37.2 KiB | 00m00s [ 59/214] hdf5-0:1.12.1-15.fc40.x86_64 100% | 16.3 MiB/s | 2.2 MiB | 00m00s [ 60/214] python3-pytz-0:2024.1-2.fc41. 100% | 1.4 MiB/s | 65.0 KiB | 00m00s [ 61/214] flexiblas-netlib-0:3.4.4-1.fc 100% | 50.3 MiB/s | 3.2 MiB | 00m00s [ 62/214] libgfortran-0:14.1.1-5.fc41.x 100% | 14.1 MiB/s | 936.0 KiB | 00m00s [ 63/214] snappy-0:1.2.1-1.fc41.x86_64 100% | 1.3 MiB/s | 39.4 KiB | 00m00s [ 64/214] flexiblas-0:3.4.4-1.fc41.x86_ 100% | 1.7 MiB/s | 25.4 KiB | 00m00s [ 65/214] flexiblas-openblas-openmp-0:3 100% | 1.1 MiB/s | 17.2 KiB | 00m00s [ 66/214] libquadmath-0:14.1.1-5.fc41.x 100% | 5.0 MiB/s | 198.6 KiB | 00m00s [ 67/214] openblas-openmp-0:0.3.26-4.fc 100% | 32.4 MiB/s | 5.1 MiB | 00m00s [ 68/214] armadillo-0:12.8.1-1.fc41.x86 100% | 261.7 KiB/s | 31.9 KiB | 00m00s [ 69/214] gdal-libs-0:3.9.0-4.fc41.x86_ 100% | 49.4 MiB/s | 9.5 MiB | 00m00s [ 70/214] freexl-0:2.0.0-7.fc41.x86_64 100% | 1.1 MiB/s | 45.3 KiB | 00m00s [ 71/214] cfitsio-0:4.4.0-2.fc41.x86_64 100% | 13.6 MiB/s | 611.8 KiB | 00m00s [ 72/214] giflib-0:5.2.2-1.fc41.x86_64 100% | 3.6 MiB/s | 51.9 KiB | 00m00s [ 73/214] imath-0:3.1.11-2.fc41.x86_64 100% | 6.4 MiB/s | 98.0 KiB | 00m00s [ 74/214] json-c-0:0.17-3.fc40.x86_64 100% | 2.7 MiB/s | 44.0 KiB | 00m00s [ 75/214] geos-0:3.12.2-1.fc41.x86_64 100% | 29.1 MiB/s | 1.1 MiB | 00m00s [ 76/214] libarrow-0:16.1.0-5.fc41.x86_ 100% | 59.9 MiB/s | 5.4 MiB | 00m00s [ 77/214] libarrow-dataset-libs-0:16.1. 100% | 6.3 MiB/s | 501.4 KiB | 00m00s [ 78/214] libdeflate-0:1.20-6.fc41.x86_ 100% | 714.9 KiB/s | 67.2 KiB | 00m00s [ 79/214] libgta-0:1.2.1-12.fc40.x86_64 100% | 1.4 MiB/s | 35.3 KiB | 00m00s [ 80/214] libgeotiff-0:1.7.3-1.fc41.x86 100% | 3.2 MiB/s | 101.0 KiB | 00m00s [ 81/214] libjpeg-turbo-0:3.0.2-2.fc41. 100% | 13.0 MiB/s | 226.4 KiB | 00m00s [ 82/214] liblerc-0:4.0.0-6.fc40.x86_64 100% | 11.4 MiB/s | 210.1 KiB | 00m00s [ 83/214] libpng-2:1.6.40-3.fc40.x86_64 100% | 7.8 MiB/s | 119.9 KiB | 00m00s [ 84/214] libkml-0:1.3.0-48.fc41.x86_64 100% | 11.0 MiB/s | 359.7 KiB | 00m00s [ 85/214] libpq-0:16.3-3.fc41.x86_64 100% | 12.8 MiB/s | 248.9 KiB | 00m00s [ 86/214] libqhull_r-1:8.0.2-4.fc40.x86 100% | 7.3 MiB/s | 200.7 KiB | 00m00s [ 87/214] libtiff-0:4.6.0-2.fc40.x86_64 100% | 16.2 MiB/s | 332.4 KiB | 00m00s [ 88/214] libwebp-0:1.4.0-1.fc41.x86_64 100% | 3.6 MiB/s | 290.9 KiB | 00m00s [ 89/214] mariadb-connector-c-0:3.3.8-3 100% | 2.4 MiB/s | 202.9 KiB | 00m00s [ 90/214] libspatialite-0:5.1.0-6.fc41. 100% | 26.0 MiB/s | 3.0 MiB | 00m00s [ 91/214] openexr-libs-0:3.2.4-2.fc41.x 100% | 36.2 MiB/s | 1.1 MiB | 00m00s [ 92/214] ogdi-0:4.1.1-1.fc40.x86_64 100% | 6.2 MiB/s | 235.1 KiB | 00m00s [ 93/214] openjpeg2-0:2.5.2-1.fc41.x86_ 100% | 6.3 MiB/s | 186.2 KiB | 00m00s [ 94/214] parquet-libs-0:16.1.0-5.fc41. 100% | 16.5 MiB/s | 995.3 KiB | 00m00s [ 95/214] poppler-0:24.02.0-2.fc40.x86_ 100% | 18.1 MiB/s | 1.2 MiB | 00m00s [ 96/214] proj-0:9.4.1-1.fc41.x86_64 100% | 22.2 MiB/s | 1.5 MiB | 00m00s [ 97/214] unixODBC-0:2.3.12-4.fc40.x86_ 100% | 13.5 MiB/s | 484.8 KiB | 00m00s [ 98/214] xerces-c-0:3.2.5-4.fc41.x86_6 100% | 24.7 MiB/s | 960.3 KiB | 00m00s [ 99/214] SuperLU-0:6.0.1-5.fc41.x86_64 100% | 5.2 MiB/s | 186.0 KiB | 00m00s [100/214] arpack-0:3.9.1-3.fc40.x86_64 100% | 7.9 MiB/s | 210.3 KiB | 00m00s [101/214] libarrow-doc-0:16.1.0-5.fc41. 100% | 1.9 MiB/s | 29.2 KiB | 00m00s [102/214] minizip-ng-compat-0:3.0.10-8. 100% | 2.3 MiB/s | 64.7 KiB | 00m00s [103/214] liborc2-0:2.0.1-3.fc41.x86_64 100% | 23.2 MiB/s | 499.7 KiB | 00m00s [104/214] re2-1:20220601-5.fc40.x86_64 100% | 7.5 MiB/s | 206.1 KiB | 00m00s [105/214] libarrow-acero-libs-0:16.1.0- 100% | 21.7 MiB/s | 510.2 KiB | 00m00s [106/214] uriparser-0:0.9.8-1.fc41.x86_ 100% | 2.1 MiB/s | 57.0 KiB | 00m00s [107/214] utf8proc-0:2.7.0-7.fc40.x86_6 100% | 1.7 MiB/s | 80.2 KiB | 00m00s [108/214] jbigkit-libs-0:2.1-29.fc40.x8 100% | 3.5 MiB/s | 53.1 KiB | 00m00s [109/214] mariadb-connector-c-config-0: 100% | 335.8 KiB/s | 8.7 KiB | 00m00s [110/214] librttopo-0:1.1.0-14.fc40.x86 100% | 4.7 MiB/s | 207.0 KiB | 00m00s [111/214] fontconfig-0:2.15.0-6.fc41.x8 100% | 15.5 MiB/s | 269.6 KiB | 00m00s [112/214] freetype-0:2.13.2-5.fc40.x86_ 100% | 18.2 MiB/s | 409.7 KiB | 00m00s [113/214] gpgmepp-0:1.23.2-4.fc41.x86_6 100% | 7.5 MiB/s | 137.7 KiB | 00m00s [114/214] lcms2-0:2.16-3.fc40.x86_64 100% | 11.0 MiB/s | 180.2 KiB | 00m00s [115/214] nspr-0:4.35.0-25.fc41.x86_64 100% | 8.4 MiB/s | 137.4 KiB | 00m00s [116/214] nss-0:3.101.0-2.fc41.x86_64 100% | 28.9 MiB/s | 709.7 KiB | 00m00s [117/214] thrift-0:0.20.0-2.fc41.x86_64 100% | 20.5 MiB/s | 1.7 MiB | 00m00s [118/214] poppler-data-0:0.4.11-7.fc40. 100% | 50.5 MiB/s | 2.0 MiB | 00m00s [119/214] proj-data-0:9.4.1-1.fc41.noar 100% | 29.2 MiB/s | 1.3 MiB | 00m00s [120/214] metis-0:5.1.0.3-5.fc40.x86_64 100% | 6.6 MiB/s | 570.8 KiB | 00m00s [121/214] flexiblas-netlib64-0:3.4.4-1. 100% | 37.6 MiB/s | 3.0 MiB | 00m00s [122/214] protobuf-0:3.19.6-9.fc41.x86_ 100% | 14.9 MiB/s | 1.0 MiB | 00m00s [123/214] default-fonts-core-sans-0:4.0 100% | 1.3 MiB/s | 31.0 KiB | 00m00s [124/214] fonts-filesystem-1:2.0.5-16.f 100% | 559.5 KiB/s | 8.4 KiB | 00m00s [125/214] xml-common-0:0.6.3-64.fc41.no 100% | 2.0 MiB/s | 31.1 KiB | 00m00s [126/214] harfbuzz-0:8.5.0-1.fc41.x86_6 100% | 33.0 MiB/s | 1.0 MiB | 00m00s [127/214] gpgme-0:1.23.2-4.fc41.x86_64 100% | 10.3 MiB/s | 211.6 KiB | 00m00s [128/214] libassuan-0:2.5.7-1.fc41.x86_ 100% | 3.4 MiB/s | 66.8 KiB | 00m00s [129/214] nss-softokn-0:3.101.0-2.fc41. 100% | 20.0 MiB/s | 409.6 KiB | 00m00s [130/214] nss-util-0:3.101.0-2.fc41.x86 100% | 5.1 MiB/s | 89.5 KiB | 00m00s [131/214] nss-sysinit-0:3.101.0-2.fc41. 100% | 570.4 KiB/s | 18.8 KiB | 00m00s [132/214] abattis-cantarell-vf-fonts-0: 100% | 7.3 MiB/s | 120.3 KiB | 00m00s [133/214] flexiblas-openblas-openmp64-0 100% | 748.1 KiB/s | 17.2 KiB | 00m00s [134/214] google-noto-sans-vf-fonts-0:2 100% | 26.4 MiB/s | 593.7 KiB | 00m00s [135/214] cairo-0:1.18.0-3.fc40.x86_64 100% | 23.1 MiB/s | 708.9 KiB | 00m00s [136/214] glib2-0:2.80.3-1.fc41.x86_64 100% | 46.7 MiB/s | 3.0 MiB | 00m00s [137/214] graphite2-0:1.3.14-15.fc40.x8 100% | 1.9 MiB/s | 94.8 KiB | 00m00s [138/214] gnupg2-0:2.4.5-1.fc41.x86_64 100% | 35.2 MiB/s | 2.7 MiB | 00m00s [139/214] libgpg-error-0:1.50-1.fc41.x8 100% | 5.0 MiB/s | 237.3 KiB | 00m00s [140/214] nss-softokn-freebl-0:3.101.0- 100% | 5.9 MiB/s | 302.2 KiB | 00m00s [141/214] google-noto-fonts-common-0:20 100% | 929.7 KiB/s | 17.7 KiB | 00m00s [142/214] libX11-0:1.8.9-1.fc41.x86_64 100% | 13.8 MiB/s | 647.8 KiB | 00m00s [143/214] libXext-0:1.3.6-1.fc40.x86_64 100% | 864.6 KiB/s | 38.9 KiB | 00m00s [144/214] openblas-openmp64-0:0.3.26-4. 100% | 47.5 MiB/s | 4.9 MiB | 00m00s [145/214] libXrender-0:0.9.11-6.fc40.x8 100% | 636.1 KiB/s | 27.4 KiB | 00m00s [146/214] libxcb-0:1.17.0-1.fc41.x86_64 100% | 7.8 MiB/s | 239.1 KiB | 00m00s [147/214] gnutls-0:3.8.5-5.fc41.x86_64 100% | 30.7 MiB/s | 1.1 MiB | 00m00s [148/214] pixman-0:0.43.4-1.fc41.x86_64 100% | 7.3 MiB/s | 293.3 KiB | 00m00s [149/214] libgcrypt-0:1.10.3-4.fc41.x86 100% | 13.0 MiB/s | 504.1 KiB | 00m00s [150/214] libksba-0:1.6.6-1.fc41.x86_64 100% | 9.7 MiB/s | 158.7 KiB | 00m00s [151/214] npth-0:1.7-1.fc41.x86_64 100% | 1.5 MiB/s | 24.9 KiB | 00m00s [152/214] tpm2-tss-0:4.1.3-1.fc41.x86_6 100% | 18.3 MiB/s | 411.8 KiB | 00m00s [153/214] libX11-common-0:1.8.9-1.fc41. 100% | 10.1 MiB/s | 176.1 KiB | 00m00s [154/214] libXau-0:1.0.11-6.fc40.x86_64 100% | 1.9 MiB/s | 31.7 KiB | 00m00s [155/214] nettle-0:3.10-2.fc41.x86_64 100% | 22.0 MiB/s | 428.4 KiB | 00m00s [156/214] python3-certifi-0:2023.05.07- 100% | 1.0 MiB/s | 14.9 KiB | 00m00s [157/214] python3-affine-0:2.4.0-7.fc41 100% | 2.5 MiB/s | 44.2 KiB | 00m00s [158/214] python3-click-plugins-0:1.1.1 100% | 1.2 MiB/s | 17.8 KiB | 00m00s [159/214] python3-cligj-0:0.7.2-13.fc41 100% | 1.3 MiB/s | 20.7 KiB | 00m00s [160/214] python3-execnet-0:2.1.1-2.fc4 100% | 2.3 MiB/s | 243.3 KiB | 00m00s [161/214] python3-numpy-1:1.26.4-7.fc41 100% | 55.3 MiB/s | 7.4 MiB | 00m00s [162/214] python3-snuggs-0:1.4.7-18.fc4 100% | 154.1 KiB/s | 20.3 KiB | 00m00s [163/214] python3-flexcache-0:0.3-1.fc4 100% | 1.3 MiB/s | 26.4 KiB | 00m00s [164/214] python3-flexparser-0:0.3.1-2. 100% | 2.5 MiB/s | 51.1 KiB | 00m00s [165/214] python3-cloudpickle-0:3.0.0-7 100% | 2.7 MiB/s | 46.4 KiB | 00m00s [166/214] python3-fsspec-0:2024.6.0-2.f 100% | 15.8 MiB/s | 389.5 KiB | 00m00s [167/214] python3-toolz-0:0.12.1-1.fc41 100% | 6.1 MiB/s | 156.2 KiB | 00m00s [168/214] python3-partd-0:1.4.1-4.fc41. 100% | 1.7 MiB/s | 55.3 KiB | 00m00s [169/214] python3-dask-expr-0:1.1.3-9.f 100% | 11.1 MiB/s | 477.0 KiB | 00m00s [170/214] libarrow-flight-libs-0:16.1.0 100% | 7.6 MiB/s | 414.8 KiB | 00m00s [171/214] abseil-cpp-0:20240116.2-2.fc4 100% | 16.4 MiB/s | 688.1 KiB | 00m00s [172/214] python3-pyarrow-0:16.1.0-5.fc 100% | 38.5 MiB/s | 3.3 MiB | 00m00s [173/214] grpc-cpp-0:1.48.4-37.fc41.x86 100% | 12.8 MiB/s | 721.8 KiB | 00m00s [174/214] grpc-0:1.48.4-37.fc41.x86_64 100% | 36.0 MiB/s | 2.6 MiB | 00m00s [175/214] libarrow-glib-libs-0:16.1.0-5 100% | 8.7 MiB/s | 394.0 KiB | 00m00s [176/214] c-ares-0:1.30.0-1.fc41.x86_64 100% | 2.9 MiB/s | 94.5 KiB | 00m00s [177/214] grpc-data-0:1.48.4-37.fc41.no 100% | 794.1 KiB/s | 21.4 KiB | 00m00s [178/214] python3-numcodecs-0:0.12.1-4. 100% | 8.1 MiB/s | 399.4 KiB | 00m00s [179/214] protobuf-compiler-0:3.19.6-9. 100% | 7.7 MiB/s | 774.3 KiB | 00m00s [180/214] python3-matplotlib-0:3.9.0-4. 100% | 54.9 MiB/s | 4.5 MiB | 00m00s [181/214] dejavu-sans-fonts-0:2.37-23.f 100% | 28.2 MiB/s | 1.3 MiB | 00m00s [182/214] python3-cycler-0:0.11.0-12.fc 100% | 852.3 KiB/s | 21.3 KiB | 00m00s [183/214] python3-numpydoc-0:1.7.0-2.fc 100% | 8.7 MiB/s | 152.3 KiB | 00m00s [184/214] python3-numpy-f2py-1:1.26.4-7 100% | 23.4 MiB/s | 502.5 KiB | 00m00s [185/214] python3-pooch-0:1.8.1-6.fc41. 100% | 6.9 MiB/s | 126.4 KiB | 00m00s [186/214] python3-dateutil-1:2.8.2-15.f 100% | 18.1 MiB/s | 352.5 KiB | 00m00s [187/214] crypto-policies-scripts-0:202 100% | 7.1 MiB/s | 109.0 KiB | 00m00s [188/214] boost-program-options-0:1.83. 100% | 4.2 MiB/s | 108.7 KiB | 00m00s [189/214] python3-pyparsing-0:3.1.2-6.f 100% | 16.2 MiB/s | 282.4 KiB | 00m00s [190/214] openblas-0:0.3.26-4.fc40.x86_ 100% | 840.1 KiB/s | 38.6 KiB | 00m00s [191/214] python3-locket-0:1.0.0-9.fc41 100% | 729.6 KiB/s | 18.2 KiB | 00m00s [192/214] python3-tabulate-0:0.9.0-9.fc 100% | 5.0 MiB/s | 72.4 KiB | 00m00s [193/214] python3-cairo-0:1.25.1-4.fc41 100% | 8.1 MiB/s | 125.0 KiB | 00m00s [194/214] python3-contourpy-0:1.2.1-3.f 100% | 15.0 MiB/s | 260.9 KiB | 00m00s [195/214] libxslt-0:1.1.41-1.fc41.x86_6 100% | 8.0 MiB/s | 188.6 KiB | 00m00s [196/214] python3-lxml-0:5.2.1-4.fc41.x 100% | 21.4 MiB/s | 1.4 MiB | 00m00s [197/214] python3-fonttools-0:4.52.4-3. 100% | 36.2 MiB/s | 2.9 MiB | 00m00s [198/214] python3-kiwisolver-0:1.4.5-4. 100% | 1.3 MiB/s | 67.5 KiB | 00m00s [199/214] python3-matplotlib-data-0:3.9 100% | 23.7 MiB/s | 509.3 KiB | 00m00s [200/214] python3-matplotlib-tk-0:3.9.0 100% | 5.7 MiB/s | 111.4 KiB | 00m00s [201/214] libimagequant-0:4.0.3-3.fc40. 100% | 13.6 MiB/s | 305.6 KiB | 00m00s [202/214] python3-pillow-0:10.3.0-2.fc4 100% | 29.9 MiB/s | 920.0 KiB | 00m00s [203/214] libraqm-0:0.8.0-7.fc40.x86_64 100% | 862.1 KiB/s | 19.8 KiB | 00m00s [204/214] fribidi-0:1.0.15-1.fc41.x86_6 100% | 5.6 MiB/s | 92.1 KiB | 00m00s [205/214] python3-fs-0:2.4.16-8.fc41.no 100% | 15.2 MiB/s | 280.8 KiB | 00m00s [206/214] python3-urllib3-0:1.26.18-6.f 100% | 15.0 MiB/s | 260.4 KiB | 00m00s [207/214] python3-pillow-tk-0:10.3.0-2. 100% | 2.0 MiB/s | 30.1 KiB | 00m00s [208/214] tcl-1:8.6.14-1.fc41.x86_64 100% | 26.9 MiB/s | 1.1 MiB | 00m00s [209/214] python3-tkinter-0:3.13.0~b2-3 100% | 8.4 MiB/s | 377.3 KiB | 00m00s [210/214] python3-olefile-0:0.47-4.fc41 100% | 889.7 KiB/s | 74.7 KiB | 00m00s [211/214] libXft-0:2.3.8-6.fc40.x86_64 100% | 4.7 MiB/s | 72.1 KiB | 00m00s [212/214] tk-1:8.6.14-1.fc41.x86_64 100% | 22.8 MiB/s | 1.6 MiB | 00m00s [213/214] hdf-libs-0:4.2.16.2-1.fc40.x8 100% | 5.1 MiB/s | 288.1 KiB | 00m00s [214/214] python3-matplotlib-data-fonts 100% | 32.7 MiB/s | 2.3 MiB | 00m00s -------------------------------------------------------------------------------- [214/214] Total 100% | 48.9 MiB/s | 148.2 MiB | 00m03s Running transaction [ 1/216] Verify package files 100% | 305.0 B/s | 214.0 B | 00m01s >>> Running pre-transaction scriptlet: crypto-policies-scripts-0:20240521-1.gitf >>> Stop pre-transaction scriptlet: crypto-policies-scripts-0:20240521-1.gitf71d [ 2/216] Prepare transaction 100% | 869.0 B/s | 214.0 B | 00m00s [ 3/216] Installing libgfortran-0:14.1 100% | 234.2 MiB/s | 3.0 MiB | 00m00s [ 4/216] Installing nspr-0:4.35.0-25.f 100% | 155.4 MiB/s | 318.2 KiB | 00m00s [ 5/216] Installing libarrow-doc-0:16. 100% | 113.8 MiB/s | 116.6 KiB | 00m00s [ 6/216] Installing libgpg-error-0:1.5 100% | 145.7 MiB/s | 895.4 KiB | 00m00s [ 7/216] Installing libjpeg-turbo-0:3. 100% | 252.1 MiB/s | 774.6 KiB | 00m00s [ 8/216] Installing expat-0:2.6.2-1.fc 100% | 138.1 MiB/s | 282.9 KiB | 00m00s [ 9/216] Installing nss-util-0:3.101.0 100% | 110.9 MiB/s | 227.2 KiB | 00m00s [ 10/216] Installing fonts-filesystem-1 100% | 769.5 KiB/s | 788.0 B | 00m00s [ 11/216] Installing protobuf-0:3.19.6- 100% | 270.5 MiB/s | 3.2 MiB | 00m00s [ 12/216] Installing libpng-2:1.6.40-3. 100% | 118.7 MiB/s | 243.1 KiB | 00m00s [ 13/216] Installing libassuan-0:2.5.7- 100% | 53.9 MiB/s | 165.6 KiB | 00m00s [ 14/216] Installing abseil-cpp-0:20240 100% | 118.6 MiB/s | 2.5 MiB | 00m00s [ 15/216] Installing openjpeg2-0:2.5.2- 100% | 144.4 MiB/s | 443.6 KiB | 00m00s [ 16/216] Installing libwebp-0:1.4.0-1. 100% | 157.6 MiB/s | 806.8 KiB | 00m00s [ 17/216] Installing geos-0:3.12.2-1.fc 100% | 272.4 MiB/s | 3.5 MiB | 00m00s [ 18/216] Installing python-rpm-macros- 100% | 22.3 MiB/s | 22.8 KiB | 00m00s [ 19/216] Installing snappy-0:1.2.1-1.f 100% | 14.2 MiB/s | 72.8 KiB | 00m00s [ 20/216] Installing tzdata-0:2024a-8.f 100% | 24.0 MiB/s | 1.9 MiB | 00m00s [ 21/216] Installing libaec-0:1.1.2-1.f 100% | 47.1 MiB/s | 96.5 KiB | 00m00s [ 22/216] Installing hdf5-0:1.12.1-15.f 100% | 214.7 MiB/s | 8.4 MiB | 00m00s [ 23/216] Installing blosc-0:1.21.5-4.f 100% | 40.7 MiB/s | 124.9 KiB | 00m00s [ 24/216] Installing python3-rpm-macros 100% | 6.5 MiB/s | 6.7 KiB | 00m00s [ 25/216] Installing hdf-libs-0:4.2.16. 100% | 133.7 MiB/s | 684.6 KiB | 00m00s [ 26/216] Installing netcdf-0:4.9.2-5.f 100% | 184.6 MiB/s | 2.4 MiB | 00m00s [ 27/216] Installing python3-matplotlib 100% | 272.8 MiB/s | 7.9 MiB | 00m00s [ 28/216] Installing python3-matplotlib 100% | 92.6 MiB/s | 758.7 KiB | 00m00s [ 29/216] Installing tcl-1:8.6.14-1.fc4 100% | 175.8 MiB/s | 4.2 MiB | 00m00s [ 30/216] Installing openblas-0:0.3.26- 100% | 95.5 MiB/s | 97.8 KiB | 00m00s [ 31/216] Installing lcms2-0:2.16-3.fc4 100% | 103.2 MiB/s | 422.5 KiB | 00m00s [ 32/216] Installing re2-1:20220601-5.f 100% | 120.7 MiB/s | 494.6 KiB | 00m00s [ 33/216] Installing minizip-ng-compat- 100% | 77.8 MiB/s | 159.4 KiB | 00m00s [ 34/216] Installing freexl-0:2.0.0-7.f 100% | 44.2 MiB/s | 90.6 KiB | 00m00s [ 35/216] Installing libqhull_r-1:8.0.2 100% | 155.0 MiB/s | 476.2 KiB | 00m00s [ 36/216] Installing liblerc-0:4.0.0-6. 100% | 147.7 MiB/s | 605.0 KiB | 00m00s [ 37/216] Installing libdeflate-0:1.20- 100% | 115.3 MiB/s | 118.1 KiB | 00m00s [ 38/216] Installing json-c-0:0.17-3.fc 100% | 40.8 MiB/s | 83.6 KiB | 00m00s [ 39/216] Installing imath-0:3.1.11-2.f 100% | 120.5 MiB/s | 370.1 KiB | 00m00s [ 40/216] Installing libquadmath-0:14.1 100% | 159.7 MiB/s | 327.2 KiB | 00m00s [ 41/216] Installing openexr-libs-0:3.2 100% | 106.9 MiB/s | 6.5 MiB | 00m00s >>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 >>> Stop pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 [ 42/216] Installing tpm2-tss-0:4.1.3-1 100% | 119.5 MiB/s | 1.6 MiB | 00m00s [ 43/216] Installing openblas-openmp-0: 100% | 389.0 MiB/s | 38.9 MiB | 00m00s [ 44/216] Installing flexiblas-0:3.4.4- 100% | 48.5 MiB/s | 49.7 KiB | 00m00s [ 45/216] Installing flexiblas-openblas 100% | 39.2 MiB/s | 40.1 KiB | 00m00s [ 46/216] Installing flexiblas-netlib-0 100% | 296.7 MiB/s | 10.4 MiB | 00m00s [ 47/216] Installing openblas-openmp64- 100% | 390.9 MiB/s | 39.1 MiB | 00m00s [ 48/216] Installing flexiblas-netlib64 100% | 299.7 MiB/s | 10.5 MiB | 00m00s [ 49/216] Installing flexiblas-openblas 100% | 39.2 MiB/s | 40.2 KiB | 00m00s [ 50/216] Installing arpack-0:3.9.1-3.f 100% | 126.6 MiB/s | 648.1 KiB | 00m00s [ 51/216] Installing pyproject-rpm-macr 100% | 49.6 MiB/s | 101.6 KiB | 00m00s [ 52/216] Installing liborc2-0:2.0.1-3. 100% | 181.7 MiB/s | 1.6 MiB | 00m00s [ 53/216] Installing librttopo-0:1.1.0- 100% | 164.9 MiB/s | 506.6 KiB | 00m00s [ 54/216] Installing protobuf-compiler- 100% | 223.1 MiB/s | 2.5 MiB | 00m00s [ 55/216] Installing abattis-cantarell- 100% | 63.3 MiB/s | 194.4 KiB | 00m00s [ 56/216] Installing dejavu-sans-fonts- 100% | 306.0 MiB/s | 5.5 MiB | 00m00s [ 57/216] Installing nss-softokn-freebl 100% | 154.2 MiB/s | 789.4 KiB | 00m00s [ 58/216] Installing nss-softokn-0:3.10 100% | 232.4 MiB/s | 1.9 MiB | 00m00s [ 59/216] Installing ogdi-0:4.1.1-1.fc4 100% | 130.7 MiB/s | 803.0 KiB | 00m00s [ 60/216] Installing libgcrypt-0:1.10.3 100% | 216.0 MiB/s | 1.3 MiB | 00m00s [ 61/216] Installing libksba-0:1.6.6-1. 100% | 128.7 MiB/s | 395.4 KiB | 00m00s [ 62/216] Installing fribidi-0:1.0.15-1 100% | 120.7 MiB/s | 370.9 KiB | 00m00s [ 63/216] Installing libimagequant-0:4. 100% | 135.1 MiB/s | 691.9 KiB | 00m00s [ 64/216] Installing libxslt-0:1.1.41-1 100% | 118.6 MiB/s | 485.8 KiB | 00m00s [ 65/216] Installing boost-program-opti 100% | 133.7 MiB/s | 273.8 KiB | 00m00s [ 66/216] Installing python-pip-wheel-0 100% | 382.0 MiB/s | 1.5 MiB | 00m00s [ 67/216] Installing grpc-data-0:1.48.4 100% | 29.7 MiB/s | 30.4 KiB | 00m00s [ 68/216] Installing c-ares-0:1.30.0-1. 100% | 104.9 MiB/s | 214.8 KiB | 00m00s [ 69/216] Installing grpc-0:1.48.4-37.f 100% | 309.0 MiB/s | 10.5 MiB | 00m00s [ 70/216] Installing grpc-cpp-0:1.48.4- 100% | 251.3 MiB/s | 3.0 MiB | 00m00s [ 71/216] Installing nettle-0:3.10-2.fc 100% | 194.4 MiB/s | 796.1 KiB | 00m00s [ 72/216] Installing gnutls-0:3.8.5-5.f 100% | 229.1 MiB/s | 3.2 MiB | 00m00s [ 73/216] Installing glib2-0:2.80.3-1.f 100% | 261.1 MiB/s | 14.6 MiB | 00m00s [ 74/216] Installing libXau-0:1.0.11-6. 100% | 33.4 MiB/s | 68.4 KiB | 00m00s [ 75/216] Installing libxcb-0:1.17.0-1. 100% | 124.0 MiB/s | 1.1 MiB | 00m00s [ 76/216] Installing libX11-common-0:1. 100% | 51.5 MiB/s | 1.2 MiB | 00m00s [ 77/216] Installing libX11-0:1.8.9-1.f 100% | 182.0 MiB/s | 1.3 MiB | 00m00s [ 78/216] Installing libXrender-0:0.9.1 100% | 50.2 MiB/s | 51.4 KiB | 00m00s [ 79/216] Installing libXext-0:1.3.6-1. 100% | 89.2 MiB/s | 91.3 KiB | 00m00s [ 80/216] Installing npth-0:1.7-1.fc41. 100% | 24.7 MiB/s | 50.6 KiB | 00m00s [ 81/216] Installing gnupg2-0:2.4.5-1.f 100% | 194.3 MiB/s | 9.5 MiB | 00m00s [ 82/216] Installing gpgme-0:1.23.2-4.f 100% | 141.0 MiB/s | 577.7 KiB | 00m00s [ 83/216] Installing gpgmepp-0:1.23.2-4 100% | 102.9 MiB/s | 421.3 KiB | 00m00s [ 84/216] Installing pixman-0:0.43.4-1. 100% | 231.5 MiB/s | 711.2 KiB | 00m00s [ 85/216] Installing google-noto-fonts- 100% | 17.8 MiB/s | 18.3 KiB | 00m00s [ 86/216] Installing google-noto-sans-v 100% | 208.2 MiB/s | 1.2 MiB | 00m00s [ 87/216] Installing default-fonts-core 100% | 5.9 MiB/s | 18.2 KiB | 00m00s [ 88/216] Installing graphite2-0:1.3.14 100% | 14.6 MiB/s | 194.2 KiB | 00m00s >>> Running pre-install scriptlet: xml-common-0:0.6.3-64.fc41.noarch >>> Stop pre-install scriptlet: xml-common-0:0.6.3-64.fc41.noarch [ 89/216] Installing xml-common-0:0.6.3 100% | 26.4 MiB/s | 81.1 KiB | 00m00s [ 90/216] Installing cairo-0:1.18.0-3.f 100% | 192.4 MiB/s | 1.7 MiB | 00m00s [ 91/216] Installing harfbuzz-0:8.5.0-1 100% | 225.2 MiB/s | 2.7 MiB | 00m00s [ 92/216] Installing freetype-0:2.13.2- 100% | 137.4 MiB/s | 844.3 KiB | 00m00s [ 93/216] Installing fontconfig-0:2.15. 100% | 748.9 KiB/s | 787.1 KiB | 00m01s >>> Running post-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Stop post-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 [ 94/216] Installing libXft-0:2.3.8-6.f 100% | 13.5 MiB/s | 166.0 KiB | 00m00s >>> Running pre-install scriptlet: tk-1:8.6.14-1.fc41.x86_64 >>> Stop pre-install scriptlet: tk-1:8.6.14-1.fc41.x86_64 [ 95/216] Installing tk-1:8.6.14-1.fc41 100% | 152.2 MiB/s | 3.7 MiB | 00m00s [ 96/216] Installing libraqm-0:0.8.0-7. 100% | 29.0 MiB/s | 29.7 KiB | 00m00s [ 97/216] Installing metis-0:5.1.0.3-5. 100% | 191.0 MiB/s | 977.7 KiB | 00m00s [ 98/216] Installing SuperLU-0:6.0.1-5. 100% | 154.8 MiB/s | 475.4 KiB | 00m00s [ 99/216] Installing armadillo-0:12.8.1 100% | 89.5 MiB/s | 91.6 KiB | 00m00s [100/216] Installing proj-data-0:9.4.1- 100% | 334.3 MiB/s | 9.0 MiB | 00m00s [101/216] Installing poppler-data-0:0.4 100% | 247.8 MiB/s | 12.4 MiB | 00m00s [102/216] Installing thrift-0:0.20.0-2. 100% | 253.5 MiB/s | 4.8 MiB | 00m00s [103/216] Installing mariadb-connector- 100% | 988.3 KiB/s | 1.0 KiB | 00m00s [104/216] Installing mariadb-connector- 100% | 101.3 MiB/s | 518.6 KiB | 00m00s [105/216] Installing jbigkit-libs-0:2.1 100% | 58.4 MiB/s | 119.6 KiB | 00m00s [106/216] Installing libtiff-0:4.6.0-2. 100% | 223.9 MiB/s | 1.1 MiB | 00m00s [107/216] Installing proj-0:9.4.1-1.fc4 100% | 257.4 MiB/s | 4.4 MiB | 00m00s [108/216] Installing libgeotiff-0:1.7.3 100% | 102.7 MiB/s | 315.5 KiB | 00m00s [109/216] Installing libspatialite-0:5. 100% | 338.4 MiB/s | 15.2 MiB | 00m00s [110/216] Installing uriparser-0:0.9.8- 100% | 70.3 MiB/s | 144.0 KiB | 00m00s [111/216] Installing libkml-0:1.3.0-48. 100% | 199.7 MiB/s | 1.2 MiB | 00m00s [112/216] Installing utf8proc-0:2.7.0-7 100% | 177.6 MiB/s | 363.8 KiB | 00m00s [113/216] Installing libarrow-0:16.1.0- 100% | 343.8 MiB/s | 22.7 MiB | 00m00s [114/216] Installing parquet-libs-0:16. 100% | 327.8 MiB/s | 3.3 MiB | 00m00s [115/216] Installing libarrow-acero-lib 100% | 275.2 MiB/s | 1.4 MiB | 00m00s [116/216] Installing libarrow-dataset-l 100% | 291.4 MiB/s | 1.5 MiB | 00m00s [117/216] Installing libarrow-glib-libs 100% | 281.8 MiB/s | 1.4 MiB | 00m00s [118/216] Installing libarrow-flight-li 100% | 275.8 MiB/s | 1.4 MiB | 00m00s [119/216] Installing xerces-c-0:3.2.5-4 100% | 325.4 MiB/s | 3.6 MiB | 00m00s [120/216] Installing unixODBC-0:2.3.12- 100% | 112.5 MiB/s | 1.2 MiB | 00m00s [121/216] Installing libpq-0:16.3-3.fc4 100% | 157.8 MiB/s | 969.6 KiB | 00m00s [122/216] Installing libgta-0:1.2.1-12. 100% | 69.9 MiB/s | 71.6 KiB | 00m00s [123/216] Installing giflib-0:5.2.2-1.f 100% | 111.2 MiB/s | 113.9 KiB | 00m00s [124/216] Installing cfitsio-0:4.4.0-2. 100% | 253.2 MiB/s | 1.8 MiB | 00m00s [125/216] Installing libyaml-0:0.2.5-14 100% | 128.7 MiB/s | 131.8 KiB | 00m00s [126/216] Installing mpdecimal-0:2.5.1- 100% | 98.6 MiB/s | 202.0 KiB | 00m00s [127/216] Installing libb2-0:0.98.1-11. 100% | 7.0 MiB/s | 43.3 KiB | 00m00s [128/216] Installing python3-libs-0:3.1 100% | 206.2 MiB/s | 40.8 MiB | 00m00s [129/216] Installing python3-0:3.13.0~b 100% | 8.2 MiB/s | 33.6 KiB | 00m00s [130/216] Installing python3-numpy-1:1. 100% | 240.6 MiB/s | 44.5 MiB | 00m00s [131/216] Installing python3-packaging- 100% | 105.8 MiB/s | 433.5 KiB | 00m00s [132/216] Installing python3-click-0:8. 100% | 177.9 MiB/s | 1.1 MiB | 00m00s [133/216] Installing python3-typing-ext 100% | 228.1 MiB/s | 467.2 KiB | 00m00s [134/216] Installing python3-appdirs-0: 100% | 34.6 MiB/s | 70.9 KiB | 00m00s [135/216] Installing python3-certifi-0: 100% | 3.3 MiB/s | 10.2 KiB | 00m00s [136/216] Installing python3-setuptools 100% | 143.3 MiB/s | 7.4 MiB | 00m00s [137/216] Installing python3-toolz-0:0. 100% | 88.7 MiB/s | 636.0 KiB | 00m00s [138/216] Installing python3-pyparsing- 100% | 224.4 MiB/s | 1.3 MiB | 00m00s [139/216] Installing python3-six-0:1.16 100% | 79.0 MiB/s | 161.8 KiB | 00m00s [140/216] Installing python3-dateutil-1 100% | 143.6 MiB/s | 1.0 MiB | 00m00s [141/216] Installing python3-idna-0:3.7 100% | 147.0 MiB/s | 602.2 KiB | 00m00s [142/216] Installing python3-tkinter-0: 100% | 180.0 MiB/s | 2.0 MiB | 00m00s [143/216] Installing python3-urllib3-0: 100% | 104.2 MiB/s | 1.0 MiB | 00m00s [144/216] Installing python3-fs-0:2.4.1 100% | 74.6 MiB/s | 1.3 MiB | 00m00s [145/216] Installing python3-snuggs-0:1 100% | 13.9 MiB/s | 28.5 KiB | 00m00s [146/216] Installing python3-flexcache- 100% | 39.0 MiB/s | 79.8 KiB | 00m00s [147/216] Installing python3-flexparser 100% | 114.9 MiB/s | 235.2 KiB | 00m00s [148/216] Installing python3-click-plug 100% | 5.4 MiB/s | 27.7 KiB | 00m00s [149/216] Installing python3-cligj-0:0. 100% | 17.8 MiB/s | 36.4 KiB | 00m00s [150/216] Installing python3-rpm-genera 100% | 40.5 MiB/s | 82.9 KiB | 00m00s [151/216] Installing python3-devel-0:3. 100% | 110.6 MiB/s | 1.8 MiB | 00m00s [152/216] Installing python3-numpy-f2py 100% | 123.4 MiB/s | 2.8 MiB | 00m00s [153/216] Installing python3-cftime-0:1 100% | 123.4 MiB/s | 632.0 KiB | 00m00s [154/216] Installing python3-pyarrow-0: 100% | 254.3 MiB/s | 14.2 MiB | 00m00s [155/216] Installing python3-numcodecs- 100% | 114.3 MiB/s | 1.6 MiB | 00m00s [156/216] Installing python3-contourpy- 100% | 98.1 MiB/s | 803.5 KiB | 00m00s [157/216] Installing python3-cython-0:3 100% | 220.9 MiB/s | 18.3 MiB | 00m00s [158/216] Installing python3-husl-0:4.0 100% | 22.4 MiB/s | 22.9 KiB | 00m00s [159/216] Installing python3-asciitree- 100% | 12.1 MiB/s | 24.7 KiB | 00m00s [160/216] Installing python3-fasteners- 100% | 40.5 MiB/s | 124.5 KiB | 00m00s [161/216] Installing python3-pluggy-0:1 100% | 97.5 MiB/s | 199.6 KiB | 00m00s [162/216] Installing python3-pytz-0:202 100% | 46.3 MiB/s | 236.9 KiB | 00m00s [163/216] Installing python3-pandas-0:2 100% | 242.7 MiB/s | 42.2 MiB | 00m00s [164/216] Installing python3-pyyaml-0:6 100% | 131.0 MiB/s | 805.1 KiB | 00m00s [165/216] Installing python3-affine-0:2 100% | 27.5 MiB/s | 168.9 KiB | 00m00s [166/216] Installing python3-attrs-0:23 100% | 76.7 MiB/s | 392.9 KiB | 00m00s [167/216] Installing python3-execnet-0: 100% | 114.3 MiB/s | 936.2 KiB | 00m00s [168/216] Installing python3-iniconfig- 100% | 7.7 MiB/s | 23.6 KiB | 00m00s [169/216] Installing python3-pytest-0:8 100% | 244.4 MiB/s | 19.3 MiB | 00m00s [170/216] Installing python3-cloudpickl 100% | 62.2 MiB/s | 127.4 KiB | 00m00s [171/216] Installing python3-fsspec-0:2 100% | 156.8 MiB/s | 1.7 MiB | 00m00s [172/216] Installing python3-cycler-0:0 100% | 13.0 MiB/s | 39.9 KiB | 00m00s [173/216] Installing python3-docutils-0 100% | 139.4 MiB/s | 5.0 MiB | 00m00s [174/216] Installing python3-snowballst 100% | 193.8 MiB/s | 1.7 MiB | 00m00s [175/216] Installing python3-sphinx-the 100% | 22.7 MiB/s | 46.4 KiB | 00m00s [176/216] Installing crypto-policies-sc 100% | 66.1 MiB/s | 338.2 KiB | 00m00s [177/216] Installing nss-sysinit-0:3.10 100% | 18.9 MiB/s | 19.3 KiB | 00m00s [178/216] Installing nss-0:3.101.0-2.fc 100% | 91.3 MiB/s | 1.9 MiB | 00m00s >>> Running post-install scriptlet: nss-0:3.101.0-2.fc41.x86_64 >>> Stop post-install scriptlet: nss-0:3.101.0-2.fc41.x86_64 [179/216] Installing poppler-0:24.02.0- 100% | 192.3 MiB/s | 3.5 MiB | 00m00s [180/216] Installing gdal-libs-0:3.9.0- 100% | 269.2 MiB/s | 29.3 MiB | 00m00s [181/216] Installing python3-platformdi 100% | 82.5 MiB/s | 169.1 KiB | 00m00s [182/216] Installing python3-locket-0:1 100% | 22.7 MiB/s | 23.3 KiB | 00m00s [183/216] Installing python3-partd-0:1. 100% | 34.0 MiB/s | 174.1 KiB | 00m00s [184/216] Installing python3-dask-0:202 100% | 213.9 MiB/s | 17.1 MiB | 00m00s [185/216] Installing python3-dask+array 100% | 121.1 KiB/s | 124.0 B | 00m00s [186/216] Installing python3-dask-expr- 100% | 214.8 MiB/s | 2.6 MiB | 00m00s [187/216] Installing python3-tabulate-0 100% | 112.5 MiB/s | 345.7 KiB | 00m00s [188/216] Installing python3-cairo-0:1. 100% | 121.2 MiB/s | 496.6 KiB | 00m00s [189/216] Installing python3-brotli-0:1 100% | 161.4 MiB/s | 826.5 KiB | 00m00s [190/216] Installing python3-lxml-0:5.2 100% | 205.8 MiB/s | 4.9 MiB | 00m00s [191/216] Installing python3-kiwisolver 100% | 77.2 MiB/s | 158.1 KiB | 00m00s [192/216] Installing python3-olefile-0: 100% | 112.0 MiB/s | 344.0 KiB | 00m00s [193/216] Installing python3-pillow-0:1 100% | 166.1 MiB/s | 3.5 MiB | 00m00s [194/216] Installing python3-pillow-tk- 100% | 21.6 MiB/s | 66.4 KiB | 00m00s [195/216] Installing python3-babel-0:2. 100% | 213.5 MiB/s | 28.6 MiB | 00m00s [196/216] Installing python3-imagesize- 100% | 7.5 MiB/s | 38.4 KiB | 00m00s [197/216] Installing python3-pygments-0 100% | 165.9 MiB/s | 10.6 MiB | 00m00s [198/216] Installing python3-charset-no 100% | 79.3 MiB/s | 324.9 KiB | 00m00s [199/216] Installing python3-requests-0 100% | 97.3 MiB/s | 498.2 KiB | 00m00s [200/216] Installing python3-pooch-0:1. 100% | 56.4 MiB/s | 635.0 KiB | 00m00s [201/216] Installing python3-scipy-0:1. 100% | 239.5 MiB/s | 62.7 MiB | 00m00s [202/216] Installing python3-fonttools- 100% | 200.4 MiB/s | 18.4 MiB | 00m00s [203/216] Installing python3-matplotlib 100% | 64.8 MiB/s | 265.3 KiB | 00m00s [204/216] Installing python3-matplotlib 100% | 212.8 MiB/s | 22.1 MiB | 00m00s [205/216] Installing python3-markupsafe 100% | 30.0 MiB/s | 61.5 KiB | 00m00s [206/216] Installing python3-jinja2-0:3 100% | 181.5 MiB/s | 2.9 MiB | 00m00s [207/216] Installing python3-sphinx-1:7 100% | 128.7 MiB/s | 11.1 MiB | 00m00s [208/216] Installing python3-numpydoc-0 100% | 107.4 MiB/s | 659.6 KiB | 00m00s [209/216] Installing python3-seaborn-0: 100% | 158.2 MiB/s | 2.4 MiB | 00m00s [210/216] Installing python3-Bottleneck 100% | 70.8 MiB/s | 652.6 KiB | 00m00s [211/216] Installing python3-dask+dataf 100% | 121.1 KiB/s | 124.0 B | 00m00s [212/216] Installing python3-rasterio-0 100% | 182.8 MiB/s | 4.0 MiB | 00m00s [213/216] Installing python3-pytest-xdi 100% | 89.8 MiB/s | 459.8 KiB | 00m00s [214/216] Installing python3-zarr-0:2.1 100% | 228.4 MiB/s | 3.2 MiB | 00m00s [215/216] Installing python3-netcdf4-0: 100% | 225.5 MiB/s | 2.3 MiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [216/216] Installing python3-pint-0:0.2 100% | 6.1 MiB/s | 3.3 MiB | 00m01s >>> Running post-transaction scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Stop post-transaction scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Running post-transaction scriptlet: crypto-policies-scripts-0:20240521-1.git >>> Stop post-transaction scriptlet: crypto-policies-scripts-0:20240521-1.gitf71 >>> Running post-transaction scriptlet: nss-0:3.101.0-2.fc41.x86_64 >>> Stop post-transaction scriptlet: nss-0:3.101.0-2.fc41.x86_64 >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.3-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.3-1.fc41.x86_64 >>> Running trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 Warning: skipped PGP checks for 63 packages from repository: copr_base Finish: build setup for python-xarray-2024.6.0-1.fc41.src.rpm Start: rpmbuild python-xarray-2024.6.0-1.fc41.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1718668800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.SA8AGB + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + test -d /builddir/build/BUILD/python-xarray-2024.6.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-xarray-2024.6.0-build + /usr/bin/rm -rf /builddir/build/BUILD/python-xarray-2024.6.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-xarray-2024.6.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-xarray-2024.6.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6nuHB3 + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + rm -rf xarray-2024.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xarray-2024.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xarray-2024.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-DOC-Skip-examples-using-unpackaged-dependencies.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-DOC-Don-t-print-out-conda-pip-environment.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0gflmQ + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + cd xarray-2024.6.0 + 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 --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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -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-xarray-2024.6.0-build/xarray-2024.6.0/.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 ' + 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 ' + TMPDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.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-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir --output /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires -r Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 69.2.0) Handling setuptools-scm>=7 from build-system.requires Requirement not satisfied: setuptools-scm>=7 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-xarray-2024.6.0-1.fc41.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 20.2 KiB/s | 1.5 KiB | 00m00s fedora 100% | 311.9 KiB/s | 5.9 KiB | 00m00s Copr repository 100% | 3.8 MiB/s | 1.3 MiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.12.1-1.fc41.noarch" is already installed. Package "python3-devel-3.13.0~b2-3.fc41.x86_64" is already installed. Package "python3-Bottleneck-1.3.7-6.fc41.x86_64" is already installed. Package "python3-cftime-1.6.3-5.fc41.x86_64" is already installed. Package "python3-dask+array-2024.6.2-2.fc41~bootstrap.x86_64" is already installed. Package "python3-dask+dataframe-2024.6.2-2.fc41~bootstrap.x86_64" is already installed. Package "python3-netcdf4-1.6.5-4.fc41.x86_64" is already installed. Package "python3-packaging-24.1-1.fc41.noarch" is already installed. Package "python3-pint-0.24-2.fc41.noarch" is already installed. Package "python3-pytest-8.2.2-2.fc41.noarch" is already installed. Package "python3-pytest-xdist-3.6.1-2.fc41.noarch" is already installed. Package "python3-rasterio-1.3.10-4.fc41.x86_64" is already installed. Package "python3-seaborn-0.13.2-2.fc41.noarch" is already installed. Package "python3-setuptools-69.2.0-6.fc41.noarch" is already installed. Package "python3-zarr-2.16.1-4.fc41.noarch" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 24.0-5.fc41 copr_base 14.7 MiB python3-setuptools_scm noarch 8.0.4-5.fc41 copr_base 310.8 KiB Transaction Summary: Installing: 2 packages Total size of inbound packages is 3 MiB. Need to download 99 KiB. After this operation 15 MiB will be used (install 15 MiB, remove 0 B). [1/2] python3-pip-0:24.0-5.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/2] python3-setuptools_scm-0:8.0.4-5. 100% | 1.3 MiB/s | 99.3 KiB | 00m00s -------------------------------------------------------------------------------- [2/2] Total 100% | 1.3 MiB/s | 99.3 KiB | 00m00s Running transaction [1/4] Verify package files 100% | 153.0 B/s | 2.0 B | 00m00s [2/4] Prepare transaction 100% | 41.0 B/s | 2.0 B | 00m00s [3/4] Installing python3-setuptools_scm 100% | 32.2 MiB/s | 330.0 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [4/4] Installing python3-pip-0:24.0-5.f 100% | 88.5 MiB/s | 15.0 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 Warning: skipped PGP checks for 2 packages from repository: copr_base Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1718668800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ybROfE + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + cd xarray-2024.6.0 + 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 --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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -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-xarray-2024.6.0-build/xarray-2024.6.0/.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 ' + 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 ' + TMPDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.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-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir --output /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires -r Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 69.2.0) Handling setuptools-scm>=7 from build-system.requires Requirement satisfied: setuptools-scm>=7 (installed: setuptools-scm 8.0.4) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") running egg_info writing xarray.egg-info/PKG-INFO writing dependency_links to xarray.egg-info/dependency_links.txt writing entry points to xarray.egg-info/entry_points.txt writing requirements to xarray.egg-info/requires.txt writing top-level names to xarray.egg-info/top_level.txt reading manifest file 'xarray.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'xarray.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + cat /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-xarray-2024.6.0-1.fc41.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 17.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 329.3 KiB/s | 5.9 KiB | 00m00s Copr repository 100% | 5.2 MiB/s | 1.3 MiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.12.1-1.fc41.noarch" is already installed. Package "python3-devel-3.13.0~b2-3.fc41.x86_64" is already installed. Package "python3-Bottleneck-1.3.7-6.fc41.x86_64" is already installed. Package "python3-cftime-1.6.3-5.fc41.x86_64" is already installed. Package "python3-dask+array-2024.6.2-2.fc41~bootstrap.x86_64" is already installed. Package "python3-dask+dataframe-2024.6.2-2.fc41~bootstrap.x86_64" is already installed. Package "python3-netcdf4-1.6.5-4.fc41.x86_64" is already installed. Package "python3-packaging-24.1-1.fc41.noarch" is already installed. Package "python3-pint-0.24-2.fc41.noarch" is already installed. Package "python3-pip-24.0-5.fc41.noarch" is already installed. Package "python3-pytest-8.2.2-2.fc41.noarch" is already installed. Package "python3-pytest-xdist-3.6.1-2.fc41.noarch" is already installed. Package "python3-rasterio-1.3.10-4.fc41.x86_64" is already installed. Package "python3-seaborn-0.13.2-2.fc41.noarch" is already installed. Package "python3-setuptools-69.2.0-6.fc41.noarch" is already installed. Package "python3-setuptools_scm-8.0.4-5.fc41.noarch" is already installed. Package "python3-zarr-2.16.1-4.fc41.noarch" is already installed. Package Arch Version Repository Size Installing: python3-wheel noarch 1:0.43.0-3.fc41 copr_base 516.8 KiB Transaction Summary: Installing: 1 packages Total size of inbound packages is 152 KiB. Need to download 152 KiB. After this operation 517 KiB will be used (install 517 KiB, remove 0 B). [1/1] python3-wheel-1:0.43.0-3.fc41.noa 100% | 462.1 KiB/s | 152.0 KiB | 00m00s -------------------------------------------------------------------------------- [1/1] Total 100% | 460.7 KiB/s | 152.0 KiB | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 47.0 B/s | 1.0 B | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [3/3] Installing python3-wheel-1:0.43.0 100% | 12.5 MiB/s | 535.8 KiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 Warning: skipped PGP checks for 1 package from repository: copr_base Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1718668800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.i0bwRc + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + cd xarray-2024.6.0 + 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 --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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -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-xarray-2024.6.0-build/xarray-2024.6.0/.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 ' + 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 ' + TMPDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.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-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir --output /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires -r Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 69.2.0) Handling setuptools-scm>=7 from build-system.requires Requirement satisfied: setuptools-scm>=7 (installed: setuptools-scm 8.0.4) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") running egg_info writing xarray.egg-info/PKG-INFO writing dependency_links to xarray.egg-info/dependency_links.txt writing entry points to xarray.egg-info/entry_points.txt writing requirements to xarray.egg-info/requires.txt writing top-level names to xarray.egg-info/top_level.txt reading manifest file 'xarray.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'xarray.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") running dist_info writing xarray.egg-info/PKG-INFO writing dependency_links to xarray.egg-info/dependency_links.txt writing entry points to xarray.egg-info/entry_points.txt writing requirements to xarray.egg-info/requires.txt writing top-level names to xarray.egg-info/top_level.txt reading manifest file 'xarray.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'xarray.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/xarray-2024.6.0.dist-info' Handling numpy >=1.23 from hook generated metadata: Requires-Dist (xarray) Requirement satisfied: numpy >=1.23 (installed: numpy 1.26.4) Handling packaging >=23.1 from hook generated metadata: Requires-Dist (xarray) Requirement satisfied: packaging >=23.1 (installed: packaging 24.1) Handling pandas >=2.0 from hook generated metadata: Requires-Dist (xarray) Requirement satisfied: pandas >=2.0 (installed: pandas 2.2.1) Handling scipy ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: scipy ; extra == 'accel' Handling bottleneck ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: bottleneck ; extra == 'accel' Handling numbagg ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: numbagg ; extra == 'accel' Handling flox ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: flox ; extra == 'accel' Handling opt-einsum ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: opt-einsum ; extra == 'accel' Handling xarray[accel,dev,io,parallel,viz] ; extra == 'complete' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: xarray[accel,dev,io,parallel,viz] ; extra == 'complete' Handling hypothesis ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: hypothesis ; extra == 'dev' Handling mypy ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: mypy ; extra == 'dev' Handling pre-commit ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pre-commit ; extra == 'dev' Handling pytest ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest ; extra == 'dev' Handling pytest-cov ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-cov ; extra == 'dev' Handling pytest-env ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-env ; extra == 'dev' Handling pytest-xdist ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-xdist ; extra == 'dev' Handling pytest-timeout ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-timeout ; extra == 'dev' Handling ruff ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: ruff ; extra == 'dev' Handling xarray[complete] ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: xarray[complete] ; extra == 'dev' Handling netCDF4 ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: netCDF4 ; extra == 'io' Handling h5netcdf ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: h5netcdf ; extra == 'io' Handling scipy ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: scipy ; extra == 'io' Handling zarr ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: zarr ; extra == 'io' Handling fsspec ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: fsspec ; extra == 'io' Handling cftime ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: cftime ; extra == 'io' Handling pooch ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pooch ; extra == 'io' Handling pydap ; (python_version < "3.10") and extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pydap ; (python_version < "3.10") and extra == 'io' Handling dask[complete] ; extra == 'parallel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: dask[complete] ; extra == 'parallel' Handling matplotlib ; extra == 'viz' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: matplotlib ; extra == 'viz' Handling seaborn ; extra == 'viz' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: seaborn ; extra == 'viz' Handling nc-time-axis ; extra == 'viz' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: nc-time-axis ; extra == 'viz' + cat /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires + rm -rfv xarray-2024.6.0.dist-info/ removed 'xarray-2024.6.0.dist-info/entry_points.txt' removed 'xarray-2024.6.0.dist-info/top_level.txt' removed 'xarray-2024.6.0.dist-info/METADATA' removed 'xarray-2024.6.0.dist-info/LICENSE' removed directory 'xarray-2024.6.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-xarray-2024.6.0-1.fc41.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 23.6 KiB/s | 1.5 KiB | 00m00s fedora 100% | 269.4 KiB/s | 5.9 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.12.1-1.fc41.noarch" is already installed.Nothing to do. Package "python3-devel-3.13.0~b2-3.fc41.x86_64" is already installed. Package "python3-Bottleneck-1.3.7-6.fc41.x86_64" is already installed. Package "python3-cftime-1.6.3-5.fc41.x86_64" is already installed. Package "python3-dask+array-2024.6.2-2.fc41~bootstrap.x86_64" is already installed. Package "python3-dask+dataframe-2024.6.2-2.fc41~bootstrap.x86_64" is already installed. Package "python3-netcdf4-1.6.5-4.fc41.x86_64" is already installed. Package "python3-numpy-1:1.26.4-7.fc41.x86_64" is already installed. Package "python3-packaging-24.1-1.fc41.noarch" is already installed. Package "python3-packaging-24.1-1.fc41.noarch" is already installed. Package "python3-pandas-2.2.1-4.fc41~bootstrap.x86_64" is already installed. Package "python3-pint-0.24-2.fc41.noarch" is already installed. Package "python3-pip-24.0-5.fc41.noarch" is already installed. Package "python3-pytest-8.2.2-2.fc41.noarch" is already installed. Package "python3-pytest-xdist-3.6.1-2.fc41.noarch" is already installed. Package "python3-rasterio-1.3.10-4.fc41.x86_64" is already installed. Package "python3-seaborn-0.13.2-2.fc41.noarch" is already installed. Package "python3-setuptools-69.2.0-6.fc41.noarch" is already installed. Package "python3-setuptools_scm-8.0.4-5.fc41.noarch" is already installed. Package "python3-wheel-1:0.43.0-3.fc41.noarch" is already installed. Package "python3-zarr-2.16.1-4.fc41.noarch" is already installed. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1718668800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.SZl8G3 + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + cd xarray-2024.6.0 + 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 --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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -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-xarray-2024.6.0-build/xarray-2024.6.0/.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 ' + 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 ' + TMPDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.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-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir --output /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires -r Handling setuptools>=42 from build-system.requires Requirement satisfied: setuptools>=42 (installed: setuptools 69.2.0) Handling setuptools-scm>=7 from build-system.requires Requirement satisfied: setuptools-scm>=7 (installed: setuptools-scm 8.0.4) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") running egg_info writing xarray.egg-info/PKG-INFO writing dependency_links to xarray.egg-info/dependency_links.txt writing entry points to xarray.egg-info/entry_points.txt writing requirements to xarray.egg-info/requires.txt writing top-level names to xarray.egg-info/top_level.txt reading manifest file 'xarray.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'xarray.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") running dist_info writing xarray.egg-info/PKG-INFO writing dependency_links to xarray.egg-info/dependency_links.txt writing entry points to xarray.egg-info/entry_points.txt writing requirements to xarray.egg-info/requires.txt writing top-level names to xarray.egg-info/top_level.txt reading manifest file 'xarray.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'xarray.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/xarray-2024.6.0.dist-info' Handling numpy >=1.23 from hook generated metadata: Requires-Dist (xarray) Requirement satisfied: numpy >=1.23 (installed: numpy 1.26.4) Handling packaging >=23.1 from hook generated metadata: Requires-Dist (xarray) Requirement satisfied: packaging >=23.1 (installed: packaging 24.1) Handling pandas >=2.0 from hook generated metadata: Requires-Dist (xarray) Requirement satisfied: pandas >=2.0 (installed: pandas 2.2.1) Handling scipy ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: scipy ; extra == 'accel' Handling bottleneck ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: bottleneck ; extra == 'accel' Handling numbagg ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: numbagg ; extra == 'accel' Handling flox ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: flox ; extra == 'accel' Handling opt-einsum ; extra == 'accel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: opt-einsum ; extra == 'accel' Handling xarray[accel,dev,io,parallel,viz] ; extra == 'complete' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: xarray[accel,dev,io,parallel,viz] ; extra == 'complete' Handling hypothesis ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: hypothesis ; extra == 'dev' Handling mypy ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: mypy ; extra == 'dev' Handling pre-commit ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pre-commit ; extra == 'dev' Handling pytest ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest ; extra == 'dev' Handling pytest-cov ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-cov ; extra == 'dev' Handling pytest-env ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-env ; extra == 'dev' Handling pytest-xdist ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-xdist ; extra == 'dev' Handling pytest-timeout ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pytest-timeout ; extra == 'dev' Handling ruff ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: ruff ; extra == 'dev' Handling xarray[complete] ; extra == 'dev' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: xarray[complete] ; extra == 'dev' Handling netCDF4 ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: netCDF4 ; extra == 'io' Handling h5netcdf ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: h5netcdf ; extra == 'io' Handling scipy ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: scipy ; extra == 'io' Handling zarr ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: zarr ; extra == 'io' Handling fsspec ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: fsspec ; extra == 'io' Handling cftime ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: cftime ; extra == 'io' Handling pooch ; extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pooch ; extra == 'io' Handling pydap ; (python_version < "3.10") and extra == 'io' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: pydap ; (python_version < "3.10") and extra == 'io' Handling dask[complete] ; extra == 'parallel' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: dask[complete] ; extra == 'parallel' Handling matplotlib ; extra == 'viz' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: matplotlib ; extra == 'viz' Handling seaborn ; extra == 'viz' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: seaborn ; extra == 'viz' Handling nc-time-axis ; extra == 'viz' from hook generated metadata: Requires-Dist (xarray) Ignoring alien requirement: nc-time-axis ; extra == 'viz' + cat /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-buildrequires + rm -rfv xarray-2024.6.0.dist-info/ removed 'xarray-2024.6.0.dist-info/entry_points.txt' removed 'xarray-2024.6.0.dist-info/top_level.txt' removed 'xarray-2024.6.0.dist-info/METADATA' removed 'xarray-2024.6.0.dist-info/LICENSE' removed directory 'xarray-2024.6.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kz2im8 + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-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 xarray-2024.6.0 + mkdir -p /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.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 ' + 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 ' + TMPDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir Processing /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") running dist_info creating /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info writing /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'xarray/datatree_*' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-modern-metadata-mgie6c6i/xarray-2024.6.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: xarray Building wheel for xarray (pyproject.toml): started Running command Building wheel for xarray (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools_scm/git.py:327: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/xarray copying xarray/__init__.py -> build/lib/xarray copying xarray/conventions.py -> build/lib/xarray copying xarray/convert.py -> build/lib/xarray copying xarray/tutorial.py -> build/lib/xarray running egg_info writing xarray.egg-info/PKG-INFO writing dependency_links to xarray.egg-info/dependency_links.txt writing entry points to xarray.egg-info/entry_points.txt writing requirements to xarray.egg-info/requires.txt writing top-level names to xarray.egg-info/top_level.txt reading manifest file 'xarray.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'xarray.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.backends' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.backends' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.backends' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.backends' to be distributed and are already explicitly excluding 'xarray.backends' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.coding' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.coding' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.coding' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.coding' to be distributed and are already explicitly excluding 'xarray.coding' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.core' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.core' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.core' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.core' to be distributed and are already explicitly excluding 'xarray.core' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.datatree_.datatree' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.datatree_.datatree' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.datatree_.datatree' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.datatree_.datatree' to be distributed and are already explicitly excluding 'xarray.datatree_.datatree' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.indexes' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.indexes' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.indexes' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.indexes' to be distributed and are already explicitly excluding 'xarray.indexes' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.namedarray' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.namedarray' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.namedarray' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.namedarray' to be distributed and are already explicitly excluding 'xarray.namedarray' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.plot' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.plot' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.plot' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.plot' to be distributed and are already explicitly excluding 'xarray.plot' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.static' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.static' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.static' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.static' to be distributed and are already explicitly excluding 'xarray.static' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.static.css' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.static.css' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.static.css' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.static.css' to be distributed and are already explicitly excluding 'xarray.static.css' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.static.html' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.static.html' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.static.html' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.static.html' to be distributed and are already explicitly excluding 'xarray.static.html' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.testing' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.testing' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.testing' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.testing' to be distributed and are already explicitly excluding 'xarray.testing' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.tests' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.tests' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.tests' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.tests' to be distributed and are already explicitly excluding 'xarray.tests' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.tests.data' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.tests.data' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.tests.data' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.tests.data' to be distributed and are already explicitly excluding 'xarray.tests.data' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'xarray.util' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xarray.util' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xarray.util' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xarray.util' to be distributed and are already explicitly excluding 'xarray.util' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying xarray/py.typed -> build/lib/xarray creating build/lib/xarray/backends copying xarray/backends/__init__.py -> build/lib/xarray/backends copying xarray/backends/api.py -> build/lib/xarray/backends copying xarray/backends/common.py -> build/lib/xarray/backends copying xarray/backends/file_manager.py -> build/lib/xarray/backends copying xarray/backends/h5netcdf_.py -> build/lib/xarray/backends copying xarray/backends/locks.py -> build/lib/xarray/backends copying xarray/backends/lru_cache.py -> build/lib/xarray/backends copying xarray/backends/memory.py -> build/lib/xarray/backends copying xarray/backends/netCDF4_.py -> build/lib/xarray/backends copying xarray/backends/netcdf3.py -> build/lib/xarray/backends copying xarray/backends/plugins.py -> build/lib/xarray/backends copying xarray/backends/pydap_.py -> build/lib/xarray/backends copying xarray/backends/scipy_.py -> build/lib/xarray/backends copying xarray/backends/store.py -> build/lib/xarray/backends copying xarray/backends/zarr.py -> build/lib/xarray/backends creating build/lib/xarray/coding copying xarray/coding/__init__.py -> build/lib/xarray/coding copying xarray/coding/calendar_ops.py -> build/lib/xarray/coding copying xarray/coding/cftime_offsets.py -> build/lib/xarray/coding copying xarray/coding/cftimeindex.py -> build/lib/xarray/coding copying xarray/coding/frequencies.py -> build/lib/xarray/coding copying xarray/coding/strings.py -> build/lib/xarray/coding copying xarray/coding/times.py -> build/lib/xarray/coding copying xarray/coding/variables.py -> build/lib/xarray/coding creating build/lib/xarray/core copying xarray/core/__init__.py -> build/lib/xarray/core copying xarray/core/_aggregations.py -> build/lib/xarray/core copying xarray/core/_typed_ops.py -> build/lib/xarray/core copying xarray/core/accessor_dt.py -> build/lib/xarray/core copying xarray/core/accessor_str.py -> build/lib/xarray/core copying xarray/core/alignment.py -> build/lib/xarray/core copying xarray/core/arithmetic.py -> build/lib/xarray/core copying xarray/core/array_api_compat.py -> build/lib/xarray/core copying xarray/core/combine.py -> build/lib/xarray/core copying xarray/core/common.py -> build/lib/xarray/core copying xarray/core/computation.py -> build/lib/xarray/core copying xarray/core/concat.py -> build/lib/xarray/core copying xarray/core/coordinates.py -> build/lib/xarray/core copying xarray/core/dask_array_ops.py -> build/lib/xarray/core copying xarray/core/dataarray.py -> build/lib/xarray/core copying xarray/core/dataset.py -> build/lib/xarray/core copying xarray/core/datatree.py -> build/lib/xarray/core copying xarray/core/datatree_io.py -> build/lib/xarray/core copying xarray/core/datatree_mapping.py -> build/lib/xarray/core copying xarray/core/datatree_ops.py -> build/lib/xarray/core copying xarray/core/datatree_render.py -> build/lib/xarray/core copying xarray/core/dtypes.py -> build/lib/xarray/core copying xarray/core/duck_array_ops.py -> build/lib/xarray/core copying xarray/core/extension_array.py -> build/lib/xarray/core copying xarray/core/extensions.py -> build/lib/xarray/core copying xarray/core/formatting.py -> build/lib/xarray/core copying xarray/core/formatting_html.py -> build/lib/xarray/core copying xarray/core/groupby.py -> build/lib/xarray/core copying xarray/core/indexes.py -> build/lib/xarray/core copying xarray/core/indexing.py -> build/lib/xarray/core copying xarray/core/iterators.py -> build/lib/xarray/core copying xarray/core/merge.py -> build/lib/xarray/core copying xarray/core/missing.py -> build/lib/xarray/core copying xarray/core/nanops.py -> build/lib/xarray/core copying xarray/core/npcompat.py -> build/lib/xarray/core copying xarray/core/nputils.py -> build/lib/xarray/core copying xarray/core/ops.py -> build/lib/xarray/core copying xarray/core/options.py -> build/lib/xarray/core copying xarray/core/parallel.py -> build/lib/xarray/core copying xarray/core/pdcompat.py -> build/lib/xarray/core copying xarray/core/resample.py -> build/lib/xarray/core copying xarray/core/resample_cftime.py -> build/lib/xarray/core copying xarray/core/rolling.py -> build/lib/xarray/core copying xarray/core/rolling_exp.py -> build/lib/xarray/core copying xarray/core/treenode.py -> build/lib/xarray/core copying xarray/core/types.py -> build/lib/xarray/core copying xarray/core/utils.py -> build/lib/xarray/core copying xarray/core/variable.py -> build/lib/xarray/core copying xarray/core/weighted.py -> build/lib/xarray/core creating build/lib/xarray/datatree_ creating build/lib/xarray/datatree_/datatree copying xarray/datatree_/datatree/__init__.py -> build/lib/xarray/datatree_/datatree creating build/lib/xarray/indexes copying xarray/indexes/__init__.py -> build/lib/xarray/indexes creating build/lib/xarray/namedarray copying xarray/namedarray/__init__.py -> build/lib/xarray/namedarray copying xarray/namedarray/_aggregations.py -> build/lib/xarray/namedarray copying xarray/namedarray/_array_api.py -> build/lib/xarray/namedarray copying xarray/namedarray/_typing.py -> build/lib/xarray/namedarray copying xarray/namedarray/core.py -> build/lib/xarray/namedarray copying xarray/namedarray/daskmanager.py -> build/lib/xarray/namedarray copying xarray/namedarray/dtypes.py -> build/lib/xarray/namedarray copying xarray/namedarray/parallelcompat.py -> build/lib/xarray/namedarray copying xarray/namedarray/pycompat.py -> build/lib/xarray/namedarray copying xarray/namedarray/utils.py -> build/lib/xarray/namedarray creating build/lib/xarray/plot copying xarray/plot/__init__.py -> build/lib/xarray/plot copying xarray/plot/accessor.py -> build/lib/xarray/plot copying xarray/plot/dataarray_plot.py -> build/lib/xarray/plot copying xarray/plot/dataset_plot.py -> build/lib/xarray/plot copying xarray/plot/facetgrid.py -> build/lib/xarray/plot copying xarray/plot/utils.py -> build/lib/xarray/plot creating build/lib/xarray/static copying xarray/static/__init__.py -> build/lib/xarray/static creating build/lib/xarray/static/css copying xarray/static/css/__init__.py -> build/lib/xarray/static/css copying xarray/static/css/style.css -> build/lib/xarray/static/css creating build/lib/xarray/static/html copying xarray/static/html/__init__.py -> build/lib/xarray/static/html copying xarray/static/html/icons-svg-inline.html -> build/lib/xarray/static/html creating build/lib/xarray/testing copying xarray/testing/__init__.py -> build/lib/xarray/testing copying xarray/testing/assertions.py -> build/lib/xarray/testing copying xarray/testing/strategies.py -> build/lib/xarray/testing creating build/lib/xarray/tests copying xarray/tests/__init__.py -> build/lib/xarray/tests copying xarray/tests/arrays.py -> build/lib/xarray/tests copying xarray/tests/conftest.py -> build/lib/xarray/tests copying xarray/tests/test_accessor_dt.py -> build/lib/xarray/tests copying xarray/tests/test_accessor_str.py -> build/lib/xarray/tests copying xarray/tests/test_array_api.py -> build/lib/xarray/tests copying xarray/tests/test_assertions.py -> build/lib/xarray/tests copying xarray/tests/test_backends.py -> build/lib/xarray/tests copying xarray/tests/test_backends_api.py -> build/lib/xarray/tests copying xarray/tests/test_backends_common.py -> build/lib/xarray/tests copying xarray/tests/test_backends_datatree.py -> build/lib/xarray/tests copying xarray/tests/test_backends_file_manager.py -> build/lib/xarray/tests copying xarray/tests/test_backends_locks.py -> build/lib/xarray/tests copying xarray/tests/test_backends_lru_cache.py -> build/lib/xarray/tests copying xarray/tests/test_calendar_ops.py -> build/lib/xarray/tests copying xarray/tests/test_cftime_offsets.py -> build/lib/xarray/tests copying xarray/tests/test_cftimeindex.py -> build/lib/xarray/tests copying xarray/tests/test_cftimeindex_resample.py -> build/lib/xarray/tests copying xarray/tests/test_coarsen.py -> build/lib/xarray/tests copying xarray/tests/test_coding.py -> build/lib/xarray/tests copying xarray/tests/test_coding_strings.py -> build/lib/xarray/tests copying xarray/tests/test_coding_times.py -> build/lib/xarray/tests copying xarray/tests/test_combine.py -> build/lib/xarray/tests copying xarray/tests/test_computation.py -> build/lib/xarray/tests copying xarray/tests/test_concat.py -> build/lib/xarray/tests copying xarray/tests/test_conventions.py -> build/lib/xarray/tests copying xarray/tests/test_coordinates.py -> build/lib/xarray/tests copying xarray/tests/test_cupy.py -> build/lib/xarray/tests copying xarray/tests/test_dask.py -> build/lib/xarray/tests copying xarray/tests/test_dataarray.py -> build/lib/xarray/tests copying xarray/tests/test_dataset.py -> build/lib/xarray/tests copying xarray/tests/test_datatree.py -> build/lib/xarray/tests copying xarray/tests/test_datatree_mapping.py -> build/lib/xarray/tests copying xarray/tests/test_deprecation_helpers.py -> build/lib/xarray/tests copying xarray/tests/test_distributed.py -> build/lib/xarray/tests copying xarray/tests/test_dtypes.py -> build/lib/xarray/tests copying xarray/tests/test_duck_array_ops.py -> build/lib/xarray/tests copying xarray/tests/test_error_messages.py -> build/lib/xarray/tests copying xarray/tests/test_extensions.py -> build/lib/xarray/tests copying xarray/tests/test_formatting.py -> build/lib/xarray/tests copying xarray/tests/test_formatting_html.py -> build/lib/xarray/tests copying xarray/tests/test_groupby.py -> build/lib/xarray/tests copying xarray/tests/test_hashable.py -> build/lib/xarray/tests copying xarray/tests/test_indexes.py -> build/lib/xarray/tests copying xarray/tests/test_indexing.py -> build/lib/xarray/tests copying xarray/tests/test_interp.py -> build/lib/xarray/tests copying xarray/tests/test_merge.py -> build/lib/xarray/tests copying xarray/tests/test_missing.py -> build/lib/xarray/tests copying xarray/tests/test_namedarray.py -> build/lib/xarray/tests copying xarray/tests/test_nputils.py -> build/lib/xarray/tests copying xarray/tests/test_options.py -> build/lib/xarray/tests copying xarray/tests/test_parallelcompat.py -> build/lib/xarray/tests copying xarray/tests/test_plot.py -> build/lib/xarray/tests copying xarray/tests/test_plugins.py -> build/lib/xarray/tests copying xarray/tests/test_print_versions.py -> build/lib/xarray/tests copying xarray/tests/test_rolling.py -> build/lib/xarray/tests copying xarray/tests/test_sparse.py -> build/lib/xarray/tests copying xarray/tests/test_strategies.py -> build/lib/xarray/tests copying xarray/tests/test_treenode.py -> build/lib/xarray/tests copying xarray/tests/test_tutorial.py -> build/lib/xarray/tests copying xarray/tests/test_typed_ops.py -> build/lib/xarray/tests copying xarray/tests/test_ufuncs.py -> build/lib/xarray/tests copying xarray/tests/test_units.py -> build/lib/xarray/tests copying xarray/tests/test_utils.py -> build/lib/xarray/tests copying xarray/tests/test_variable.py -> build/lib/xarray/tests copying xarray/tests/test_weighted.py -> build/lib/xarray/tests creating build/lib/xarray/tests/data copying xarray/tests/data/bears.nc -> build/lib/xarray/tests/data copying xarray/tests/data/example.grib -> build/lib/xarray/tests/data copying xarray/tests/data/example.ict -> build/lib/xarray/tests/data copying xarray/tests/data/example.uamiv -> build/lib/xarray/tests/data copying xarray/tests/data/example_1.nc -> build/lib/xarray/tests/data copying xarray/tests/data/example_1.nc.gz -> build/lib/xarray/tests/data creating build/lib/xarray/util copying xarray/util/__init__.py -> build/lib/xarray/util copying xarray/util/deprecation_helpers.py -> build/lib/xarray/util copying xarray/util/generate_aggregations.py -> build/lib/xarray/util copying xarray/util/generate_ops.py -> build/lib/xarray/util copying xarray/util/print_versions.py -> build/lib/xarray/util installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/xarray copying build/lib/xarray/__init__.py -> build/bdist.linux-x86_64/wheel/xarray copying build/lib/xarray/conventions.py -> build/bdist.linux-x86_64/wheel/xarray copying build/lib/xarray/convert.py -> build/bdist.linux-x86_64/wheel/xarray copying build/lib/xarray/tutorial.py -> build/bdist.linux-x86_64/wheel/xarray copying build/lib/xarray/py.typed -> build/bdist.linux-x86_64/wheel/xarray creating build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/api.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/common.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/file_manager.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/h5netcdf_.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/locks.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/lru_cache.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/memory.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/netCDF4_.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/netcdf3.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/plugins.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/pydap_.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/scipy_.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/store.py -> build/bdist.linux-x86_64/wheel/xarray/backends copying build/lib/xarray/backends/zarr.py -> build/bdist.linux-x86_64/wheel/xarray/backends creating build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/calendar_ops.py -> build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/cftime_offsets.py -> build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/cftimeindex.py -> build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/frequencies.py -> build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/strings.py -> build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/times.py -> build/bdist.linux-x86_64/wheel/xarray/coding copying build/lib/xarray/coding/variables.py -> build/bdist.linux-x86_64/wheel/xarray/coding creating build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/_aggregations.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/_typed_ops.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/accessor_dt.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/accessor_str.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/alignment.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/arithmetic.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/array_api_compat.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/combine.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/common.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/computation.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/concat.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/coordinates.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/dask_array_ops.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/dataarray.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/dataset.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/datatree.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/datatree_io.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/datatree_mapping.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/datatree_ops.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/datatree_render.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/dtypes.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/duck_array_ops.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/extension_array.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/extensions.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/formatting.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/formatting_html.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/groupby.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/indexes.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/indexing.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/iterators.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/merge.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/missing.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/nanops.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/npcompat.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/nputils.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/ops.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/options.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/parallel.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/pdcompat.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/resample.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/resample_cftime.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/rolling.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/rolling_exp.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/treenode.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/types.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/utils.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/variable.py -> build/bdist.linux-x86_64/wheel/xarray/core copying build/lib/xarray/core/weighted.py -> build/bdist.linux-x86_64/wheel/xarray/core creating build/bdist.linux-x86_64/wheel/xarray/datatree_ creating build/bdist.linux-x86_64/wheel/xarray/datatree_/datatree copying build/lib/xarray/datatree_/datatree/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/datatree_/datatree creating build/bdist.linux-x86_64/wheel/xarray/indexes copying build/lib/xarray/indexes/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/indexes creating build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/_aggregations.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/_array_api.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/_typing.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/core.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/daskmanager.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/dtypes.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/parallelcompat.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/pycompat.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray copying build/lib/xarray/namedarray/utils.py -> build/bdist.linux-x86_64/wheel/xarray/namedarray creating build/bdist.linux-x86_64/wheel/xarray/plot copying build/lib/xarray/plot/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/plot copying build/lib/xarray/plot/accessor.py -> build/bdist.linux-x86_64/wheel/xarray/plot copying build/lib/xarray/plot/dataarray_plot.py -> build/bdist.linux-x86_64/wheel/xarray/plot copying build/lib/xarray/plot/dataset_plot.py -> build/bdist.linux-x86_64/wheel/xarray/plot copying build/lib/xarray/plot/facetgrid.py -> build/bdist.linux-x86_64/wheel/xarray/plot copying build/lib/xarray/plot/utils.py -> build/bdist.linux-x86_64/wheel/xarray/plot creating build/bdist.linux-x86_64/wheel/xarray/static copying build/lib/xarray/static/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/static creating build/bdist.linux-x86_64/wheel/xarray/static/css copying build/lib/xarray/static/css/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/static/css copying build/lib/xarray/static/css/style.css -> build/bdist.linux-x86_64/wheel/xarray/static/css creating build/bdist.linux-x86_64/wheel/xarray/static/html copying build/lib/xarray/static/html/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/static/html copying build/lib/xarray/static/html/icons-svg-inline.html -> build/bdist.linux-x86_64/wheel/xarray/static/html creating build/bdist.linux-x86_64/wheel/xarray/testing copying build/lib/xarray/testing/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/testing copying build/lib/xarray/testing/assertions.py -> build/bdist.linux-x86_64/wheel/xarray/testing copying build/lib/xarray/testing/strategies.py -> build/bdist.linux-x86_64/wheel/xarray/testing creating build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/arrays.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/conftest.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_accessor_dt.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_accessor_str.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_array_api.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_assertions.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_backends.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_backends_api.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_backends_common.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_backends_datatree.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_backends_file_manager.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_backends_locks.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_backends_lru_cache.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_calendar_ops.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_cftime_offsets.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_cftimeindex.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_cftimeindex_resample.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_coarsen.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_coding.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_coding_strings.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_coding_times.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_combine.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_computation.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_concat.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_conventions.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_coordinates.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_cupy.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_dask.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_dataarray.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_dataset.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_datatree.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_datatree_mapping.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_deprecation_helpers.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_distributed.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_dtypes.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_duck_array_ops.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_error_messages.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_extensions.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_formatting.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_formatting_html.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_groupby.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_hashable.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_indexes.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_indexing.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_interp.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_merge.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_missing.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_namedarray.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_nputils.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_options.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_parallelcompat.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_plot.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_plugins.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_print_versions.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_rolling.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_sparse.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_strategies.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_treenode.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_tutorial.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_typed_ops.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_ufuncs.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_units.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_variable.py -> build/bdist.linux-x86_64/wheel/xarray/tests copying build/lib/xarray/tests/test_weighted.py -> build/bdist.linux-x86_64/wheel/xarray/tests creating build/bdist.linux-x86_64/wheel/xarray/tests/data copying build/lib/xarray/tests/data/bears.nc -> build/bdist.linux-x86_64/wheel/xarray/tests/data copying build/lib/xarray/tests/data/example.grib -> build/bdist.linux-x86_64/wheel/xarray/tests/data copying build/lib/xarray/tests/data/example.ict -> build/bdist.linux-x86_64/wheel/xarray/tests/data copying build/lib/xarray/tests/data/example.uamiv -> build/bdist.linux-x86_64/wheel/xarray/tests/data copying build/lib/xarray/tests/data/example_1.nc -> build/bdist.linux-x86_64/wheel/xarray/tests/data copying build/lib/xarray/tests/data/example_1.nc.gz -> build/bdist.linux-x86_64/wheel/xarray/tests/data creating build/bdist.linux-x86_64/wheel/xarray/util copying build/lib/xarray/util/__init__.py -> build/bdist.linux-x86_64/wheel/xarray/util copying build/lib/xarray/util/deprecation_helpers.py -> build/bdist.linux-x86_64/wheel/xarray/util copying build/lib/xarray/util/generate_aggregations.py -> build/bdist.linux-x86_64/wheel/xarray/util copying build/lib/xarray/util/generate_ops.py -> build/bdist.linux-x86_64/wheel/xarray/util copying build/lib/xarray/util/print_versions.py -> build/bdist.linux-x86_64/wheel/xarray/util running install_egg_info Copying xarray.egg-info to build/bdist.linux-x86_64/wheel/xarray-2024.6.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/xarray-2024.6.0.dist-info/WHEEL creating '/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir/pip-wheel-6i_7qwtm/.tmp-bry6xk5u/xarray-2024.6.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'xarray/__init__.py' adding 'xarray/conventions.py' adding 'xarray/convert.py' adding 'xarray/py.typed' adding 'xarray/tutorial.py' adding 'xarray/backends/__init__.py' adding 'xarray/backends/api.py' adding 'xarray/backends/common.py' adding 'xarray/backends/file_manager.py' adding 'xarray/backends/h5netcdf_.py' adding 'xarray/backends/locks.py' adding 'xarray/backends/lru_cache.py' adding 'xarray/backends/memory.py' adding 'xarray/backends/netCDF4_.py' adding 'xarray/backends/netcdf3.py' adding 'xarray/backends/plugins.py' adding 'xarray/backends/pydap_.py' adding 'xarray/backends/scipy_.py' adding 'xarray/backends/store.py' adding 'xarray/backends/zarr.py' adding 'xarray/coding/__init__.py' adding 'xarray/coding/calendar_ops.py' adding 'xarray/coding/cftime_offsets.py' adding 'xarray/coding/cftimeindex.py' adding 'xarray/coding/frequencies.py' adding 'xarray/coding/strings.py' adding 'xarray/coding/times.py' adding 'xarray/coding/variables.py' adding 'xarray/core/__init__.py' adding 'xarray/core/_aggregations.py' adding 'xarray/core/_typed_ops.py' adding 'xarray/core/accessor_dt.py' adding 'xarray/core/accessor_str.py' adding 'xarray/core/alignment.py' adding 'xarray/core/arithmetic.py' adding 'xarray/core/array_api_compat.py' adding 'xarray/core/combine.py' adding 'xarray/core/common.py' adding 'xarray/core/computation.py' adding 'xarray/core/concat.py' adding 'xarray/core/coordinates.py' adding 'xarray/core/dask_array_ops.py' adding 'xarray/core/dataarray.py' adding 'xarray/core/dataset.py' adding 'xarray/core/datatree.py' adding 'xarray/core/datatree_io.py' adding 'xarray/core/datatree_mapping.py' adding 'xarray/core/datatree_ops.py' adding 'xarray/core/datatree_render.py' adding 'xarray/core/dtypes.py' adding 'xarray/core/duck_array_ops.py' adding 'xarray/core/extension_array.py' adding 'xarray/core/extensions.py' adding 'xarray/core/formatting.py' adding 'xarray/core/formatting_html.py' adding 'xarray/core/groupby.py' adding 'xarray/core/indexes.py' adding 'xarray/core/indexing.py' adding 'xarray/core/iterators.py' adding 'xarray/core/merge.py' adding 'xarray/core/missing.py' adding 'xarray/core/nanops.py' adding 'xarray/core/npcompat.py' adding 'xarray/core/nputils.py' adding 'xarray/core/ops.py' adding 'xarray/core/options.py' adding 'xarray/core/parallel.py' adding 'xarray/core/pdcompat.py' adding 'xarray/core/resample.py' adding 'xarray/core/resample_cftime.py' adding 'xarray/core/rolling.py' adding 'xarray/core/rolling_exp.py' adding 'xarray/core/treenode.py' adding 'xarray/core/types.py' adding 'xarray/core/utils.py' adding 'xarray/core/variable.py' adding 'xarray/core/weighted.py' adding 'xarray/datatree_/datatree/__init__.py' adding 'xarray/indexes/__init__.py' adding 'xarray/namedarray/__init__.py' adding 'xarray/namedarray/_aggregations.py' adding 'xarray/namedarray/_array_api.py' adding 'xarray/namedarray/_typing.py' adding 'xarray/namedarray/core.py' adding 'xarray/namedarray/daskmanager.py' adding 'xarray/namedarray/dtypes.py' adding 'xarray/namedarray/parallelcompat.py' adding 'xarray/namedarray/pycompat.py' adding 'xarray/namedarray/utils.py' adding 'xarray/plot/__init__.py' adding 'xarray/plot/accessor.py' adding 'xarray/plot/dataarray_plot.py' adding 'xarray/plot/dataset_plot.py' adding 'xarray/plot/facetgrid.py' adding 'xarray/plot/utils.py' adding 'xarray/static/__init__.py' adding 'xarray/static/css/__init__.py' adding 'xarray/static/css/style.css' adding 'xarray/static/html/__init__.py' adding 'xarray/static/html/icons-svg-inline.html' adding 'xarray/testing/__init__.py' adding 'xarray/testing/assertions.py' adding 'xarray/testing/strategies.py' adding 'xarray/tests/__init__.py' adding 'xarray/tests/arrays.py' adding 'xarray/tests/conftest.py' adding 'xarray/tests/test_accessor_dt.py' adding 'xarray/tests/test_accessor_str.py' adding 'xarray/tests/test_array_api.py' adding 'xarray/tests/test_assertions.py' adding 'xarray/tests/test_backends.py' adding 'xarray/tests/test_backends_api.py' adding 'xarray/tests/test_backends_common.py' adding 'xarray/tests/test_backends_datatree.py' adding 'xarray/tests/test_backends_file_manager.py' adding 'xarray/tests/test_backends_locks.py' adding 'xarray/tests/test_backends_lru_cache.py' adding 'xarray/tests/test_calendar_ops.py' adding 'xarray/tests/test_cftime_offsets.py' adding 'xarray/tests/test_cftimeindex.py' adding 'xarray/tests/test_cftimeindex_resample.py' adding 'xarray/tests/test_coarsen.py' adding 'xarray/tests/test_coding.py' adding 'xarray/tests/test_coding_strings.py' adding 'xarray/tests/test_coding_times.py' adding 'xarray/tests/test_combine.py' adding 'xarray/tests/test_computation.py' adding 'xarray/tests/test_concat.py' adding 'xarray/tests/test_conventions.py' adding 'xarray/tests/test_coordinates.py' adding 'xarray/tests/test_cupy.py' adding 'xarray/tests/test_dask.py' adding 'xarray/tests/test_dataarray.py' adding 'xarray/tests/test_dataset.py' adding 'xarray/tests/test_datatree.py' adding 'xarray/tests/test_datatree_mapping.py' adding 'xarray/tests/test_deprecation_helpers.py' adding 'xarray/tests/test_distributed.py' adding 'xarray/tests/test_dtypes.py' adding 'xarray/tests/test_duck_array_ops.py' adding 'xarray/tests/test_error_messages.py' adding 'xarray/tests/test_extensions.py' adding 'xarray/tests/test_formatting.py' adding 'xarray/tests/test_formatting_html.py' adding 'xarray/tests/test_groupby.py' adding 'xarray/tests/test_hashable.py' adding 'xarray/tests/test_indexes.py' adding 'xarray/tests/test_indexing.py' adding 'xarray/tests/test_interp.py' adding 'xarray/tests/test_merge.py' adding 'xarray/tests/test_missing.py' adding 'xarray/tests/test_namedarray.py' adding 'xarray/tests/test_nputils.py' adding 'xarray/tests/test_options.py' adding 'xarray/tests/test_parallelcompat.py' adding 'xarray/tests/test_plot.py' adding 'xarray/tests/test_plugins.py' adding 'xarray/tests/test_print_versions.py' adding 'xarray/tests/test_rolling.py' adding 'xarray/tests/test_sparse.py' adding 'xarray/tests/test_strategies.py' adding 'xarray/tests/test_treenode.py' adding 'xarray/tests/test_tutorial.py' adding 'xarray/tests/test_typed_ops.py' adding 'xarray/tests/test_ufuncs.py' adding 'xarray/tests/test_units.py' adding 'xarray/tests/test_utils.py' adding 'xarray/tests/test_variable.py' adding 'xarray/tests/test_weighted.py' adding 'xarray/tests/data/bears.nc' adding 'xarray/tests/data/example.grib' adding 'xarray/tests/data/example.ict' adding 'xarray/tests/data/example.uamiv' adding 'xarray/tests/data/example_1.nc' adding 'xarray/tests/data/example_1.nc.gz' adding 'xarray/util/__init__.py' adding 'xarray/util/deprecation_helpers.py' adding 'xarray/util/generate_aggregations.py' adding 'xarray/util/generate_ops.py' adding 'xarray/util/print_versions.py' adding 'xarray-2024.6.0.dist-info/LICENSE' adding 'xarray-2024.6.0.dist-info/METADATA' adding 'xarray-2024.6.0.dist-info/WHEEL' adding 'xarray-2024.6.0.dist-info/entry_points.txt' adding 'xarray-2024.6.0.dist-info/top_level.txt' adding 'xarray-2024.6.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for xarray (pyproject.toml): finished with status 'done' Created wheel for xarray: filename=xarray-2024.6.0-py3-none-any.whl size=1166599 sha256=61baf3583d8bbb5c52338fc6406c06526b8458f18b6f76fe445732bae62084a3 Stored in directory: /builddir/.cache/pip/wheels/ca/b0/69/12469d7923911c7e27a154425484d4a5502a62505d6ca1eada Successfully built xarray + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OUz1cj + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + '[' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-xarray-2024.6.0-build + mkdir /builddir/build/BUILD/python-xarray-2024.6.0-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 xarray-2024.6.0 ++ ls /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir/xarray-2024.6.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=xarray==2024.6.0 + '[' -z xarray==2024.6.0 ']' + TMPDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-xarray-2024.6.0-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-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir xarray==2024.6.0 Using pip 24.0 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/pyproject-wheeldir Processing ./pyproject-wheeldir/xarray-2024.6.0-py3-none-any.whl Installing collected packages: xarray Successfully installed xarray-2024.6.0 + '[' -d /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/xarray-2024.6.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray-2024.6.0.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-xarray-2024.6.0-build/BUILDROOT --record /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray-2024.6.0.dist-info/RECORD --output /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray-2024.6.0.dist-info/RECORD removed '/builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray-2024.6.0.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray-2024.6.0.dist-info/REQUESTED removed '/builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray-2024.6.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-xarray-2024.6.0-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-xarray-2024.6.0-build/python-xarray-2024.6.0-1.fc41.x86_64-pyproject-record --prefix /usr xarray + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/python3.13/site-packages/xarray/util/print_versions.py is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-xarray-2024.6.0-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-xarray-2024.6.0-build/BUILDROOT /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/file_manager.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/file_manager.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/h5netcdf_.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/api.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/locks.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/lru_cache.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/memory.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/common.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/pydap_.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/netCDF4_.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/scipy_.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/store.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/store.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/netcdf3.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/common.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/plugins.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/zarr.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/__pycache__/zarr.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/calendar_ops.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/frequencies.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/frequencies.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/strings.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/cftime_offsets.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/times.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/times.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/variables.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/variables.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/_typed_ops.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/_aggregations.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/__pycache__/cftimeindex.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/accessor_dt.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/arithmetic.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/array_api_compat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/combine.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/accessor_str.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/alignment.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/common.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/common.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/computation.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/computation.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/concat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/dataarray.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/coordinates.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/dask_array_ops.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/datatree_mapping.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/coordinates.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/datatree_ops.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/dataarray.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/datatree_render.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/datatree_render.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/dtypes.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/duck_array_ops.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/extension_array.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/duck_array_ops.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/extensions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/formatting.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/formatting.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/formatting_html.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/dataset.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/groupby.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/indexes.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/groupby.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/indexes.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/indexing.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/datatree.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/indexing.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/datatree_io.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/iterators.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/npcompat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/nputils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/merge.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/ops.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/options.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/missing.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/parallel.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/parallel.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/pdcompat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/nanops.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/resample.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/resample_cftime.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/rolling.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/utils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/rolling_exp.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/utils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/treenode.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/treenode.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/types.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/variable.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/variable.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/weighted.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/datatree_/datatree/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/indexes/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/_aggregations.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/_array_api.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/_typing.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/core.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/daskmanager.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/dtypes.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/parallelcompat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/pycompat.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/accessor.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/utils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/utils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/dataarray_plot.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/dataarray_plot.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/dataset_plot.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/dataset_plot.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/facetgrid.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/__pycache__/facetgrid.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/static/css/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/__pycache__/dataset.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/static/html/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/static/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/testing/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/testing/__pycache__/assertions.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/testing/__pycache__/assertions.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/__init__.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/__init__.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/arrays.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/conftest.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_accessor_dt.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/testing/__pycache__/strategies.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_accessor_dt.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_api.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_common.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_api.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_common.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_datatree.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_datatree.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_file_manager.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_file_manager.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_locks.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_locks.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_lru_cache.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends_lru_cache.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_calendar_ops.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_calendar_ops.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cftime_offsets.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_accessor_str.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_accessor_str.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_array_api.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_array_api.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cftimeindex.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_assertions.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_assertions.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cftimeindex.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cftimeindex_resample.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cftimeindex_resample.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coarsen.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coarsen.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coding.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coding.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coding_strings.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coding_strings.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coding_times.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cftime_offsets.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coding_times.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_combine.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_combine.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_computation.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_backends.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_concat.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_computation.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dask.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_concat.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_conventions.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_conventions.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coordinates.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_coordinates.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cupy.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_cupy.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_datatree_mapping.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dask.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_datatree_mapping.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_deprecation_helpers.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_deprecation_helpers.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_distributed.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dtypes.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_distributed.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dtypes.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_duck_array_ops.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_duck_array_ops.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_error_messages.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_extensions.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_extensions.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_formatting.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_formatting.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_formatting_html.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_formatting_html.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dataarray.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_groupby.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_hashable.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_indexes.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_indexes.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_indexing.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_indexing.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_groupby.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_interp.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_interp.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_merge.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_merge.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dataarray.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_missing.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_namedarray.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_namedarray.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_nputils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_nputils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_options.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_options.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_parallelcompat.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_parallelcompat.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_missing.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_plot.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dataset.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_plugins.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_plugins.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_print_versions.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_print_versions.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_rolling.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_rolling.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_sparse.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_sparse.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_strategies.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_plot.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_strategies.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_treenode.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_treenode.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_tutorial.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_typed_ops.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_typed_ops.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_ufuncs.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_ufuncs.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_dataset.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_datatree.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_datatree.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_units.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_variable.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_weighted.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_variable.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_units.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_weighted.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_utils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/__pycache__/test_utils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/util/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/util/__pycache__/deprecation_helpers.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/util/__pycache__/generate_aggregations.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/util/__pycache__/generate_ops.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/util/__pycache__/print_versions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/__pycache__/conventions.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/__pycache__/conventions.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/__pycache__/convert.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/__pycache__/tutorial.cpython-313.pyc: rewriting with normalized contents Processed 261 paths Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RSqIO4 + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-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 xarray-2024.6.0 + rm -rf xarray + pytest_args=(-n auto -m "not network" -k 'not test_open_mfdataset_manyfiles' -k 'not test_save_mfdataset_compute_false_roundtrip') + 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-xarray-2024.6.0-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -ra -n auto -m 'not network' -k 'not test_open_mfdataset_manyfiles' -k 'not test_save_mfdataset_compute_false_roundtrip' --pyargs xarray ============================= test session starts ============================== platform linux -- Python 3.13.0b2, pytest-8.2.2, pluggy-1.5.0 rootdir: /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0 configfile: pyproject.toml plugins: xdist-3.6.1 created: 2/2 workers 2 workers [19693 items] ............................................s........................... [ 0%] ..........................................sss........................... [ 0%] ........................................................................ [ 1%] ........................................................................ [ 1%] ................................................................s....... [ 1%] ............................s.................ss........................ [ 2%] ........................................................................ [ 2%] .ss..................................................................... [ 2%] ........................................................................ [ 3%] ........................................................................ [ 3%] ........................................................................ [ 4%] .x...x......s..........................................................s [ 4%] .....................................................................x.. [ 4%] ......x......s.......................................................... [ 5%] ....s.s.s.s............................................................. [ 5%] ........................................................................ [ 5%] ........................................................................ [ 6%] ................x..........s..s.s.s................................s.... [ 6%] ........................................................................ [ 6%] ........................................................................ [ 7%] ........................................................................ [ 7%] ........................................................................ [ 8%] ........................................................................ [ 8%] ......................................................................... [ 8%] ........................................................................ [ 9%] ........................................................................ [ 9%] ........................................................................ [ 9%] ........................................................................ [ 10%] ........................................................................ [ 10%] ........................................................................ [ 10%] ........................................................................ [ 11%] ........................................................................ [ 11%] ........................................................................ [ 12%] ........................................................................ [ 12%] ........................................................................ [ 12%] ........................................................................ [ 13%] ........................................................................ [ 13%] ........................................................................ [ 13%] ........................................................................ [ 14%] ........................................................................ [ 14%] .................................x............s.s.s.s.................... [ 14%] ......s................................................................. [ 15%] ........................................................................ [ 15%] ........................................................................ [ 16%] ........................................................................ [ 16%] ........................................................................ [ 16%] ........................................................................ [ 17%] ........................................................................ [ 17%] ........................................................................ [ 17%] ........................................................................ [ 18%] ........................................................................ [ 18%] ........................................................................ [ 19%] ..................................................................x..... [ 19%] ss.ss.........s......................................................... [ 19%] ........................................................................ [ 20%] ........................................................................ [ 20%] ........................................................................ [ 20%] ..................s........s........s........s........s...........s..... [ 21%] ....s..........s........................................................ [ 21%] ........................................................................ [ 21%] ........................................................................ [ 22%] ........................................................................ [ 22%] ........................................ssssssss.ssss.sssssssssss.ssssss [ 23%] sssss.ssssssssss.sss.sssssss.ssssssss.sssss.ssssss.sssssss.sssssss.sssss [ 23%] s.ssssssssss.ss.sssssss.sssssss.sssssss.sssssss.sssssss.ssssss.ssssss.ss [ 23%] ssssss.ssssss.ssssss.ssssssss.ssssss.ssssssss.ssssss.ssss.ssss.sssssssss [ 24%] ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 24%] ssssssssssssssssssssssssssssssss..............sssss.sssssss.sssssss.ssss [ 24%] ss.ssssss.ssssssss.sssss.ssssssss.sssss.ssssssss.sssssssss.ssssss.ssssss [ 25%] sss.sssss.ssssssss.sssssss.ssssss.sssss.s............................... [ 25%] ........................................................................ [ 25%] .............................................x........................ss [ 26%] ssssss.x.......s.......s....s....s...........s............s............. [ 26%] ........................................x....x.....s................ss.. [ 27%] ..................................x....x.....s.......................... [ 27%] ........................................................................ [ 27%] ....................x................x.............s.................... [ 28%] ....................x................................................... [ 28%] ...........................x.....................x.............s........ [ 28%] ........................................................................ [ 29%] ..................................................x.......x.......s..... [ 29%] .....................ssssssssssssssss.ssssssssssssssssssssssssssssssssss [ 29%] ssssssssssssssssssss.sssssssssssssssssssssssssssssssssssssssssssssssssss [ 30%] s.sssssssssssssssssssssssssssssssssssssssssssssssssss.ssssssssssssssssss [ 30%] sssssssssssssssssssssssssssssssssss.ssssssssssssssssssssssssssssssssssss [ 31%] ssssssssssssss.sssssssssssssssssssssssssssssssssssssssssssssssssssss.sss [ 31%] ssssssssssssssssssssssssssssssssssssssssssss............................ [ 31%] ........................................................................ [ 32%] ........................................................................ [ 32%] ........................................................................ [ 32%] ........................................................................ [ 33%] ........................................................................ [ 33%] ........................................................................ [ 34%] ........................................................................ [ 34%] .....................................................................sss [ 34%] ss.sssssssssssssssssssssssssssssssssssssssssssssssssss....ssss....ssss.. [ 35%] ..ssss....ssss.......................................................... [ 35%] ........................................................................ [ 35%] ........................................................................ [ 36%] ........................................................................ [ 36%] ......................................................................... [ 36%] ........................................................................ [ 37%] ........................................................................ [ 37%] ........................................................................ [ 38%] ........................................................................ [ 38%] ........................................................................ [ 38%] ........................................................................ [ 39%] ........................................................................ [ 39%] ........................................................................ [ 39%] ........................................................................ [ 40%] ........................................................................ [ 40%] ........................................................................ [ 40%] ...............................x...............x..........s............. [ 41%] ..............s......................................................... [ 41%] ........................................................................ [ 42%] ........................................................................ [ 42%] ......................................................................x. [ 42%] ......................x............x.................................... [ 43%] ........................................................................ [ 43%] ........................................................................ [ 43%] .....x..x....x..x......................................................s [ 44%] ss.............................................................ss....... [ 44%] ........ss...............ss......ss......ss..............ss............. [ 44%] ......................................................ss.......ss....... [ 45%] ..........................ss...............ss..............ss.......ss.. [ 45%] ....ss...............ss................................................. [ 46%] .......ss......ss............................s.ss.ss..ss.s.ss........... [ 46%] ........s.s.ss.ss.s..s.ss...............................s.s.ss.ssssss.... [ 46%] .........ss.sss.sssss..........................................ssssss... [ 47%] ...........ssssss..............ssssss..............ssssss..............s [ 47%] ssssssssss.s.s.s..s..sss.ss.sss.s.ss...s..s...s...s...s.sss.ssss.sss..s. [ 47%] .s..s..s..s.sss.ss.s.ssss...s...s..s...s...s.sss.sss..s..s..s.s..s.s..ss [ 48%] .sss.ss....s.....s..s...s...s...s....ss.sss.ss.s.s.s..s..s.s..s.sss.sss. [ 48%] ...s......s..s..s...s...s............................................... [ 49%] .......................................x................................ [ 49%] ........................................................................ [ 49%] ........................................................................ [ 50%] ........................................................................ [ 50%] .................................X.....ss............................... [ 50%] ..................Xx.................................................... [ 51%] ........................................................s.s............s [ 51%] s....................................................................... [ 51%] ........................................................................ [ 52%] ......................................x................................. [ 52%] ................................x....................................... [ 53%] .................................x...................................... [ 53%] ............s.......................x................................... [ 53%] .................ssss.sssssssss.......................................ss [ 54%] ...........................................................ss........... [ 54%] ........................................................................ [ 54%] ......................................................X..........x...... [ 55%] .............................................s.......................... [ 55%] ....................................................s................... [ 55%] ........................................................................ [ 56%] ...........sssssssss.....s.............................................. [ 56%] ........................................................................ [ 57%] ...........................................................s.s.......... [ 57%] ............................................ss.......................... [ 57%] ........................................................................ [ 58%] ..........................x.............................................. [ 58%] .......................ss....................................x.x........ [ 58%] ...x.........x......x..........................x..................x..... [ 59%] ........................................................................ [ 59%] ........................................................................ [ 59%] ........................................................................ [ 60%] ........................................................................ [ 60%] ........................................................................ [ 61%] ........................s............................................... [ 61%] .....................................s.................................. [ 61%] ......x......x...........................s.............................. [ 62%] .........s.................................................X............ [ 62%] ........................................................................ [ 62%] ........................................................................ [ 63%] ........................................................................ [ 63%] ..............x...s.s.ss.ss............................................. [ 64%] ........................................................................ [ 64%] ........................................................................ [ 64%] ........................................................................ [ 65%] ........................................................................ [ 65%] ........................................................................ [ 65%] ........................................................................ [ 66%] ........................................................................ [ 66%] ........................................................................ [ 66%] ........................................................................ [ 67%] ........................................................................ [ 67%] ........................................................................ [ 68%] .sss........................................ssssssssssssssssssssssssssss [ 68%] ssssssssssssss.......................................................... [ 68%] ........................................................................ [ 69%] ........................................................................ [ 69%] .................................................ssss................... [ 69%] ........................................................................ [ 70%] ........................................................................ [ 70%] ........................................................................ [ 70%] ........................................................................ [ 71%] ......ssss.ssssssssssss................................................. [ 71%] ........................................................................ [ 72%] ........................................................................ [ 72%] ........................................................................ [ 72%] ........................................................................ [ 73%] ........................................................................ [ 73%] ........................................................................ [ 73%] ........................................................................ [ 74%] ........................................................................ [ 74%] ........................................................................ [ 74%] ........................................................................ [ 75%] ........................................................................ [ 75%] ........................................................................ [ 76%] ........................................................................ [ 76%] ........................................................................ [ 76%] ........................................................................ [ 77%] ..........................s.s.s.s.s.s.s..ss.s.s.s.s.s.s.s............... [ 77%] ........................................................................ [ 77%] ........................................................................ [ 78%] ........................................................................ [ 78%] ........................................................................ [ 78%] ........................................................................ [ 79%] ........................................................................ [ 79%] ........................................................................ [ 80%] ........................................................................ [ 80%] .......................................................sssss...........s [ 80%] ssss...........sssss............sssss..........sssss..........sssss..... [ 81%] .....sssss......s...s..s...s..s..s..s...s...s..x.s...x.s...x.s..x....... [ 81%] ........................................................................ [ 81%] ........................................................................ [ 82%] ..........................ssssssssss...........s.sssssssss.............. [ 82%] ........................................................................ [ 83%] ...............................................................ss...XX.. [ 83%] ...........ss...XX...................................................... [ 83%] ..................................................................s..s.. [ 84%] ss....ss........ss..s........................ss..s...................... [ 84%] .......................................................x.....x.......... [ 84%] ...............x.........x.x..x..x.......x.x..x.x.x..........x........x. [ 85%] ...x..sss....................................x.............s..s..s..s... [ 85%] ...sssssx.xxx.xxx.x.....sssss.xx.xxxx......sssssxx.x.....xxx.....sssss.x [ 85%] xxx.....sssssxxxxxxx.....sssss.xxxxx.........x............ss.sss........ [ 86%] ...x...........x...........x...........x............x.............sssss. [ 86%] .xxx..x.........x......sssss..........sssssssssssssss....sssss......ssss [ 87%] s..........ssssssssssssss.s.sss.ss.........sssss...........sssss.......s [ 87%] ssss...................sssss.........s...s...s....s..ssssss..s.sssss...s [ 87%] .....s....s....s...ssssssss.ss....s....s..ssssss..s....s.....s....s..... [ 88%] ...........sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 88%] sssssssssssssssssssss.......sssss..........sssss.......ss....ss......... [ 88%] ........................................................................ [ 89%] .................xxx..xxx..ssssssssssssssssssssxx..xxx.................. [ 89%] ................................................................x..sssss [ 89%] sssssssssssssss......ss..x..s......s..s.s.s.s.s.s...ss....ss....ss....ss [ 90%] ....ss.x.....ss......sss.ssss.......ss....sssss..s.....s.sssss...s.....s [ 90%] ssssssssssssss....xs.sssss.sss..s....s...ssssss.ssssssssss...s.....sssss [ 91%] ....xs..ssssssss..s...............s.s......sss.ss......ss.sss....ss.x... [ 91%] ss....ssx.....s.s....s.....s.......s..............ssssssssssssssss.sssss [ 91%] ssssssssss.sssssssssssssss.sssssssssssssssssss.ssssssssssssss.ssssssssss [ 92%] s.........sss.........sss...........................x.s...........ssssss [ 92%] ssss..x....................ssssssssss.x.................s...x...ssssssss [ 92%] sss.sssssssssssssssssssssss........s.............s.....ssssssssssssssx.. [ 93%] ......s..........sssss.......x....sss.ss.......x.xx.x..sssssssssssssssss [ 93%] sss............ssssssssssssx...........................ssssssssssss..... [ 93%] ..................................................x..................... [ 94%] .x....ssssss.............X.................x....xx........x...ssss.ss... [ 94%] .........X...................x........s................................. [ 95%] ........................................................................ [ 95%] ........................................................................ [ 95%] .................x...................................................... [ 96%] ................x....................................................... [ 96%] ...............sssssssssssssssssssssssssssssssssssssssssssssssssssssss.. [ 96%] ......................ssss.................................x.x..x....X.. [ 97%] ........................................................................ [ 97%] ..............................ssssssssssssssssssssssssssssssssssssssssss [ 98%] ssssssssssssssssssssssssssssss.............x..X......................... [ 98%] ..............x.X......................x..x..............x..x........... [ 98%] ...x..x..........s...................................................... [ 99%] ........................................................................ [ 99%] ........................................................................ [ 99%] ................................ [100%] ================================== XFAILURES =================================== _ TestNetCDF4Data.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestNetCDF4Data.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestNetCDF4ViaDaskData.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B dask.array /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestNetCDF4ViaDaskData.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B dask.array /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestZarrDictStore.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestZarrDirectoryStore.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestZarrWriteEmpty.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestScipyInMemoryData.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestScipyInMemoryData.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestScipyFileObject.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestScipyFileObject.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestScipyFilePath.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestScipyFilePath.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestNetCDF3ViaNetCDF4Data.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestNetCDF3ViaNetCDF4Data.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError __________ TestNestedCombine.test_nested_concat_too_many_dims_at_once __________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail def test_nested_concat_too_many_dims_at_once(self): objs = [Dataset({"x": [0], "y": [1]}), Dataset({"y": [0], "x": [1]})] > with pytest.raises(ValueError, match="not equal across datasets"): E Failed: DID NOT RAISE /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_combine.py:408: Failed _ TestNetCDF4ClassicViaNetCDF4Data.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestNetCDF4ClassicViaNetCDF4Data.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestGenericNetCDFData.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestGenericNetCDFData.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 nan /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestCFEncodedDataStore.test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float64') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float64 40B 10.0 10.1 22.7 22.8 nan E R x (t) float64 40B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError _ TestCFEncodedDataStore.test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = decoded_fn = encoded_fn = dtype = dtype('float32') @pytest.mark.parametrize( "decoded_fn, encoded_fn", [ ( create_unsigned_masked_scaled_data, create_encoded_unsigned_masked_scaled_data, ), pytest.param( create_bad_unsigned_masked_scaled_data, create_bad_encoded_unsigned_masked_scaled_data, marks=pytest.mark.xfail(reason="Bad _Unsigned attribute."), ), ( create_signed_masked_scaled_data, create_encoded_signed_masked_scaled_data, ), (create_masked_and_scaled_data, create_encoded_masked_and_scaled_data), ], ) @pytest.mark.parametrize("dtype", [np.dtype("float64"), np.dtype("float32")]) def test_roundtrip_mask_and_scale(self, decoded_fn, encoded_fn, dtype) -> None: if hasattr(self, "zarr_version") and dtype == np.float32: pytest.skip("float32 will be treated as float64 in zarr") decoded = decoded_fn(dtype) encoded = encoded_fn(dtype) with self.roundtrip(decoded) as actual: for k in decoded.variables: assert decoded.variables[k].dtype == actual.variables[k].dtype > assert_allclose(decoded, actual, decode_bytes=False) E AssertionError: Left and right Dataset objects are not close E E E Differing data variables: E L x (t) float32 20B 10.0 10.1 22.7 22.8 nan E R x (t) float32 20B 10.0 10.1 22.7 -2.8 9.9 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:905: AssertionError ________________ TestToDaskDataFrame.test_to_dask_dataframe_2D _________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail( reason="Currently pandas with pyarrow installed will return a `string[pyarrow]` type, " "which causes the `y` column to have a different type depending on whether pyarrow is installed" ) def test_to_dask_dataframe_2D(self): # Test if 2-D dataset is supplied w = np.random.randn(2, 3) ds = Dataset({"w": (("x", "y"), da.from_array(w, chunks=(1, 2)))}) ds["x"] = ("x", np.array([0, 1], np.int64)) ds["y"] = ("y", list("abc")) # dask dataframes do not (yet) support multiindex, # but when it does, this would be the expected index: exp_index = pd.MultiIndex.from_arrays( [[0, 0, 0, 1, 1, 1], ["a", "b", "c", "a", "b", "c"]], names=["x", "y"] ) expected = pd.DataFrame({"w": w.reshape(-1)}, index=exp_index) # so for now, reset the index expected = expected.reset_index(drop=False) actual = ds.to_dask_dataframe(set_index=False) assert isinstance(actual, dd.DataFrame) > assert_frame_equal(actual.compute(), expected) E AssertionError: Attributes of DataFrame.iloc[:, 1] (column name="y") are different E E Attribute "dtype" are different E [left]: string[pyarrow] E [right]: object /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dask.py:826: AssertionError ___________ TestToDaskDataFrame.test_to_dask_dataframe_2D_set_index ____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail(raises=NotImplementedError) def test_to_dask_dataframe_2D_set_index(self): # This will fail until dask implements MultiIndex support w = da.from_array(np.random.randn(2, 3), chunks=(1, 2)) ds = Dataset({"w": (("x", "y"), w)}) ds["x"] = ("x", np.array([0, 1], np.int64)) ds["y"] = ("y", list("abc")) expected = ds.compute().to_dataframe() > actual = ds.to_dask_dataframe(set_index=True) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dask.py:837: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:7542: in to_dask_dataframe df = df.set_index(dim_order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Dask DataFrame Structure: x y w npartitions=3 0 i...sk Name: concat, 4 expressions Expr=Concat(frames=[FromGraph(6d03a7a), FromGraph(1b931d1), FromGraph(d9f50c2)], axis=1) other = ['x', 'y'], drop = True, sorted = False, npartitions = None divisions = None, sort = True, shuffle_method = None, upsample = 1.0 partition_size = 128000000.0, append = False, options = {} def set_index( self, other, drop=True, sorted=False, npartitions: int | None = None, divisions=None, sort: bool = True, shuffle_method=None, upsample: float = 1.0, partition_size: float = 128e6, append: bool = False, **options, ): """Set the DataFrame index (row labels) using an existing column. If ``sort=False``, this function operates exactly like ``pandas.set_index`` and sets the index on the DataFrame. If ``sort=True`` (default), this function also sorts the DataFrame by the new index. This can have a significant impact on performance, because joins, groupbys, lookups, etc. are all much faster on that column. However, this performance increase comes with a cost, sorting a parallel dataset requires expensive shuffles. Often we ``set_index`` once directly after data ingest and filtering and then perform many cheap computations off of the sorted dataset. With ``sort=True``, this function is much more expensive. Under normal operation this function does an initial pass over the index column to compute approximate quantiles to serve as future divisions. It then passes over the data a second time, splitting up each input partition into several pieces and sharing those pieces to all of the output partitions now in sorted order. In some cases we can alleviate those costs, for example if your dataset is sorted already then we can avoid making many small pieces or if you know good values to split the new index column then we can avoid the initial pass over the data. For example if your new index is a datetime index and your data is already sorted by day then this entire operation can be done for free. You can control these options with the following parameters. Parameters ---------- other: string or Dask Series Column to use as index. drop: boolean, default True Delete column to be used as the new index. sorted: bool, optional If the index column is already sorted in increasing order. Defaults to False npartitions: int, None, or 'auto' The ideal number of output partitions. If None, use the same as the input. If 'auto' then decide by memory use. Only used when ``divisions`` is not given. If ``divisions`` is given, the number of output partitions will be ``len(divisions) - 1``. divisions: list, optional The "dividing lines" used to split the new index into partitions. For ``divisions=[0, 10, 50, 100]``, there would be three output partitions, where the new index contained [0, 10), [10, 50), and [50, 100), respectively. See https://docs.dask.org/en/latest/dataframe-design.html#partitions. If not given (default), good divisions are calculated by immediately computing the data and looking at the distribution of its values. For large datasets, this can be expensive. Note that if ``sorted=True``, specified divisions are assumed to match the existing partitions in the data; if this is untrue you should leave divisions empty and call ``repartition`` after ``set_index``. inplace: bool, optional Modifying the DataFrame in place is not supported by Dask. Defaults to False. sort: bool, optional If ``True``, sort the DataFrame by the new index. Otherwise set the index on the individual existing partitions. Defaults to ``True``. shuffle_method: {'disk', 'tasks', 'p2p'}, optional Either ``'disk'`` for single-node operation or ``'tasks'`` and ``'p2p'`` for distributed operation. Will be inferred by your current scheduler. compute: bool, default False Whether or not to trigger an immediate computation. Defaults to False. Note, that even if you set ``compute=False``, an immediate computation will still be triggered if ``divisions`` is ``None``. partition_size: int, optional Desired size of each partitions in bytes. Only used when ``npartitions='auto'`` Examples -------- >>> import dask >>> ddf = dask.datasets.timeseries(start="2021-01-01", end="2021-01-07", freq="1h").reset_index() >>> ddf2 = ddf.set_index("x") >>> ddf2 = ddf.set_index(ddf.x) >>> ddf2 = ddf.set_index(ddf.timestamp, sorted=True) A common case is when we have a datetime column that we know to be sorted and is cleanly divided by day. We can set this index for free by specifying both that the column is pre-sorted and the particular divisions along which is is separated >>> import pandas as pd >>> divisions = pd.date_range(start="2021-01-01", end="2021-01-07", freq='1D') >>> divisions DatetimeIndex(['2021-01-01', '2021-01-02', '2021-01-03', '2021-01-04', '2021-01-05', '2021-01-06', '2021-01-07'], dtype='datetime64[ns]', freq='D') Note that ``len(divisons)`` is equal to ``npartitions + 1``. This is because ``divisions`` represents the upper and lower bounds of each partition. The first item is the lower bound of the first partition, the second item is the lower bound of the second partition and the upper bound of the first partition, and so on. The second-to-last item is the lower bound of the last partition, and the last (extra) item is the upper bound of the last partition. >>> ddf2 = ddf.set_index("timestamp", sorted=True, divisions=divisions.tolist()) If you'll be running `set_index` on the same (or similar) datasets repeatedly, you could save time by letting Dask calculate good divisions once, then copy-pasting them to reuse. This is especially helpful running in a Jupyter notebook: >>> ddf2 = ddf.set_index("name") # slow, calculates data distribution >>> ddf2.divisions # doctest: +SKIP ["Alice", "Laura", "Ursula", "Zelda"] >>> # ^ Now copy-paste this and edit the line above to: >>> # ddf2 = ddf.set_index("name", divisions=["Alice", "Laura", "Ursula", "Zelda"]) """ if isinstance(other, list) and len(other) == 1: other = other[0] if isinstance(other, list): if any([isinstance(c, FrameBase) for c in other]): raise TypeError("List[FrameBase] not supported by set_index") else: > raise NotImplementedError( "Dask dataframe does not yet support multi-indexes.\n" f"You tried to index with this index: {other}\n" "Indexes must be single columns only." ) E NotImplementedError: Dask dataframe does not yet support multi-indexes. E You tried to index with this index: ['x', 'y'] E Indexes must be single columns only. /usr/lib/python3.13/site-packages/dask_expr/_collection.py:3409: NotImplementedError ___________ TestToDaskDataFrame.test_to_dask_dataframe_not_daskarray ___________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail( reason="Currently pandas with pyarrow installed will return a `string[pyarrow]` type, " "which causes the index to have a different type depending on whether pyarrow is installed" ) def test_to_dask_dataframe_not_daskarray(self): # Test if DataArray is not a dask array x = np.random.randn(10) y = np.arange(10, dtype="uint8") t = list("abcdefghij") ds = Dataset({"a": ("t", x), "b": ("t", y), "t": ("t", t)}) expected = pd.DataFrame({"a": x, "b": y}, index=pd.Index(t, name="t")) actual = ds.to_dask_dataframe(set_index=True) assert isinstance(actual, dd.DataFrame) > assert_frame_equal(expected, actual.compute()) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dask.py:875: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ left = Index(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j'], dtype='object', name='t') right = Index(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j'], dtype='string', name='t') obj = 'DataFrame.index' def _check_types(left, right, obj: str = "Index") -> None: if not exact: return assert_class_equal(left, right, exact=exact, obj=obj) assert_attr_equal("inferred_type", left, right, obj=obj) # Skip exact dtype checking when `check_categorical` is False if isinstance(left.dtype, CategoricalDtype) and isinstance( right.dtype, CategoricalDtype ): if check_categorical: assert_attr_equal("dtype", left, right, obj=obj) assert_index_equal(left.categories, right.categories, exact=exact) return > assert_attr_equal("dtype", left, right, obj=obj) E AssertionError: DataFrame.index are different E E Attribute "dtype" are different E [left]: object E [right]: string[pyarrow] /usr/lib64/python3.13/site-packages/pandas/_testing/asserters.py:247: AssertionError ________ TestMapOverSubTree.test_return_inconsistent_number_of_results _________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = simple_datatree = DataTree('None', parent=None) │ Dimensions: (y: 3, x: 2) │ Dimensions without coordinates: y, x │ Data variable... a (x) int64 16B 2 3 │ │ b (x) float64 16B 0.1 0.2 │ └── DataTree('set1') └── DataTree('set3') @pytest.mark.xfail def test_return_inconsistent_number_of_results(self, simple_datatree): dt1 = simple_datatree @map_over_subtree def bad_func(ds): # Datasets in simple_datatree have different numbers of dims # TODO need to instead return different numbers of Dataset objects for this test to catch the intended error return tuple(ds.dims) with pytest.raises(TypeError, match="instead returns"): > bad_func(dt1) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree_mapping.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree_mapping.py:192: in _map_over_subtree num_return_values = _check_all_return_values(out_data_objects) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree_mapping.py:300: in _check_all_return_values num_return_values = _check_single_set_return_values(path_to_node, obj) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ path_to_node = '/set2', obj = ('x',) def _check_single_set_return_values( path_to_node: str, obj: Dataset | DataArray | tuple[Dataset | DataArray] ): """Check types returned from single evaluation of func, and return number of return values received from func.""" if isinstance(obj, (Dataset, DataArray)): return 1 elif isinstance(obj, tuple): for r in obj: if not isinstance(r, (Dataset, DataArray)): > raise TypeError( f"One of the results of calling func on datasets on the nodes at position {path_to_node} is " f"of type {type(r)}, not Dataset or DataArray." ) E TypeError: One of the results of calling func on datasets on the nodes at position /set2 is of type , not Dataset or DataArray. /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree_mapping.py:265: TypeError During handling of the above exception, another exception occurred: self = simple_datatree = DataTree('None', parent=None) │ Dimensions: (y: 3, x: 2) │ Dimensions without coordinates: y, x │ Data variable... a (x) int64 16B 2 3 │ │ b (x) float64 16B 0.1 0.2 │ └── DataTree('set1') └── DataTree('set3') @pytest.mark.xfail def test_return_inconsistent_number_of_results(self, simple_datatree): dt1 = simple_datatree @map_over_subtree def bad_func(ds): # Datasets in simple_datatree have different numbers of dims # TODO need to instead return different numbers of Dataset objects for this test to catch the intended error return tuple(ds.dims) > with pytest.raises(TypeError, match="instead returns"): E AssertionError: Regex pattern did not match. E Regex: 'instead returns' E Input: "One of the results of calling func on datasets on the nodes at position /set2 is of type , not Dataset or DataArray." /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree_mapping.py:204: AssertionError ___________ TestMapOverSubTree.test_trees_with_different_node_names ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail def test_trees_with_different_node_names(self): # TODO test this after I've got good tests for renaming nodes > raise NotImplementedError E NotImplementedError /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree_mapping.py:234: NotImplementedError ________ TestMapOverSubTree.test_error_contains_path_of_offending_node _________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = create_test_datatree = ._create_test_datatree at 0x7f2d33f1a980> @pytest.mark.xfail( reason="probably some bug in pytests handling of exception notes" ) def test_error_contains_path_of_offending_node(self, create_test_datatree): dt = create_test_datatree() dt["set1"]["bad_var"] = 0 print(dt) def fail_on_specific_node(ds): if "bad_var" in ds: raise ValueError("Failed because 'bar_var' present in dataset") with pytest.raises( ValueError, match="Raised whilst mapping function over node /set1" ): > dt.map_over_subtree(fail_on_specific_node) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree_mapping.py:297: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:1364: in map_over_subtree return map_over_subtree(func)(self, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree_mapping.py:178: in _map_over_subtree results = func_with_error_context( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree_mapping.py:235: in wrapper return func(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ds = Size: 24B Dimensions: () Data variables: a int64 8B 0 b int64 8B 1 bad_var int64 8B 0 def fail_on_specific_node(ds): if "bad_var" in ds: > raise ValueError("Failed because 'bar_var' present in dataset") E ValueError: Failed because 'bar_var' present in dataset E Raised whilst mapping function over node with path /set1 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree_mapping.py:292: ValueError During handling of the above exception, another exception occurred: self = create_test_datatree = ._create_test_datatree at 0x7f2d33f1a980> @pytest.mark.xfail( reason="probably some bug in pytests handling of exception notes" ) def test_error_contains_path_of_offending_node(self, create_test_datatree): dt = create_test_datatree() dt["set1"]["bad_var"] = 0 print(dt) def fail_on_specific_node(ds): if "bad_var" in ds: raise ValueError("Failed because 'bar_var' present in dataset") > with pytest.raises( ValueError, match="Raised whilst mapping function over node /set1" ): E AssertionError: Regex pattern did not match. E Regex: 'Raised whilst mapping function over node /set1' E Input: "Failed because 'bar_var' present in dataset\nRaised whilst mapping function over node with path /set1" /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree_mapping.py:294: AssertionError ----------------------------- Captured stdout call ----------------------------- DataTree('None', parent=None) │ Dimensions: (y: 3, x: 2) │ Dimensions without coordinates: y, x │ Data variables: │ a (y) int64 24B 6 7 8 │ set0 (x) int64 16B 9 10 ├── DataTree('set1') │ │ Dimensions: () │ │ Data variables: │ │ a int64 8B 0 │ │ b int64 8B 1 │ │ bad_var int64 8B 0 │ ├── DataTree('set1') │ └── DataTree('set2') ├── DataTree('set2') │ │ Dimensions: (x: 2) │ │ Dimensions without coordinates: x │ │ Data variables: │ │ a (x) int64 16B 2 3 │ │ b (x) float64 16B 0.1 0.2 │ └── DataTree('set1') └── DataTree('set3') ___________ TestMapOverSubTreeInplace.test_map_over_subtree_inplace ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = def test_map_over_subtree_inplace(self): > raise NotImplementedError E NotImplementedError /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree_mapping.py:347: NotImplementedError _______________________ TestDataArray.test_astype_subok ________________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = def test_astype_subok(self) -> None: class NdArraySubclass(np.ndarray): pass original = DataArray(NdArraySubclass(np.arange(3))) converted_not_subok = original.astype("d", subok=False) converted_subok = original.astype("d", subok=True) if not isinstance(original.data, NdArraySubclass): > pytest.xfail("DataArray cannot be backed yet by a subclasses of np.ndarray") E _pytest.outcomes.XFailed: DataArray cannot be backed yet by a subclasses of np.ndarray /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:2272: XFailed _____________ TestDataArray.test_copy_coords[False-expected_orig1] _____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = deep = False expected_orig = Size: 16B array([999, 2]) Coordinates: * a (a) int64 16B 999 2 @pytest.mark.xfail(raises=AssertionError) @pytest.mark.parametrize( "deep, expected_orig", [ [ True, xr.DataArray( xr.IndexVariable("a", np.array([1, 2])), coords={"a": [1, 2]}, dims=["a"], ), ], [ False, xr.DataArray( xr.IndexVariable("a", np.array([999, 2])), coords={"a": [999, 2]}, dims=["a"], ), ], ], ) def test_copy_coords(self, deep, expected_orig) -> None: """The test fails for the shallow copy, and apparently only on Windows for some reason. In windows coords seem to be immutable unless it's one dataarray deep copied from another.""" da = xr.DataArray( np.ones([2, 2, 2]), coords={"a": [1, 2], "b": ["x", "y"], "c": [0, 1]}, dims=["a", "b", "c"], ) da_cp = da.copy(deep) new_a = np.array([999, 2]) da_cp.coords["a"] = da_cp["a"].copy(data=new_a) expected_cp = xr.DataArray( xr.IndexVariable("a", np.array([999, 2])), coords={"a": [999, 2]}, dims=["a"], ) assert_identical(da_cp["a"], expected_cp) > assert_identical(da["a"], expected_orig) E AssertionError: Left and right DataArray objects are not identical E E Differing values: E L E array([1, 2]) E R E array([999, 2]) E Differing coordinates: E L * a (a) int64 16B 1 2 E R * a (a) int64 16B 999 2 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:3960: AssertionError ___________________ TestReduce1D.test_idxmin[True-datetime] ____________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = x = array(['2015-12-31T00:00:00.000000000', '2020-01-02T00:00:00.000000000', '2020-01-01T00:00:00.000000000', '2016-01-01T00:00:00.000000000'], dtype='datetime64[ns]') minindex = 0, maxindex = 1, nanindex = None, use_dask = True @pytest.mark.parametrize("use_dask", [True, False]) def test_idxmin( self, x: np.ndarray, minindex: int | float, maxindex: int | float, nanindex: int | None, use_dask: bool, ) -> None: if use_dask and not has_dask: pytest.skip("requires dask") if use_dask and x.dtype.kind == "M": > pytest.xfail("dask operation 'argmin' breaks when dtype is datetime64 (M)") E _pytest.outcomes.XFailed: dask operation 'argmin' breaks when dtype is datetime64 (M) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:4933: XFailed ___________________ TestReduce1D.test_idxmax[True-datetime] ____________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = x = array(['2015-12-31T00:00:00.000000000', '2020-01-02T00:00:00.000000000', '2020-01-01T00:00:00.000000000', '2016-01-01T00:00:00.000000000'], dtype='datetime64[ns]') minindex = 0, maxindex = 1, nanindex = None, use_dask = True @pytest.mark.parametrize("use_dask", [True, False]) def test_idxmax( self, x: np.ndarray, minindex: int | float, maxindex: int | float, nanindex: int | None, use_dask: bool, ) -> None: if use_dask and not has_dask: pytest.skip("requires dask") if use_dask and x.dtype.kind == "M": > pytest.xfail("dask operation 'argmax' breaks when dtype is datetime64 (M)") E _pytest.outcomes.XFailed: dask operation 'argmax' breaks when dtype is datetime64 (M) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:5048: XFailed ___________________ TestReduce2D.test_idxmin[dask-datetime] ____________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = x = array([['2015-12-31T00:00:00.000000000', '2020-01-02T00:00:00.000000000', '2020-01-01T00:00:00.000000000', '20...1.128654848', '1900-01-02T00:00:00.000000000', '1754-10-02T22:43:41.128654848']], dtype='datetime64[ns]') minindex = [0, 0, 1], maxindex = [1, 0, 2], nanindex = [None, None, None] use_dask = True @pytest.mark.parametrize( "use_dask", [pytest.param(True, id="dask"), pytest.param(False, id="nodask")] ) def test_idxmin( self, x: np.ndarray, minindex: list[int | float], maxindex: list[int | float], nanindex: list[int | None], use_dask: bool, ) -> None: if use_dask and not has_dask: pytest.skip("requires dask") if use_dask and x.dtype.kind == "M": > pytest.xfail("dask operation 'argmin' breaks when dtype is datetime64 (M)") E _pytest.outcomes.XFailed: dask operation 'argmin' breaks when dtype is datetime64 (M) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:5508: XFailed ___________________ TestReduce2D.test_idxmax[dask-datetime] ____________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = x = array([['2015-12-31T00:00:00.000000000', '2020-01-02T00:00:00.000000000', '2020-01-01T00:00:00.000000000', '20...1.128654848', '1900-01-02T00:00:00.000000000', '1754-10-02T22:43:41.128654848']], dtype='datetime64[ns]') minindex = [0, 0, 1], maxindex = [1, 0, 2], nanindex = [None, None, None] use_dask = True @pytest.mark.parametrize( "use_dask", [pytest.param(True, id="dask"), pytest.param(False, id="nodask")] ) def test_idxmax( self, x: np.ndarray, minindex: list[int | float], maxindex: list[int | float], nanindex: list[int | None], use_dask: bool, ) -> None: if use_dask and not has_dask: pytest.skip("requires dask") if use_dask and x.dtype.kind == "M": > pytest.xfail("dask operation 'argmax' breaks when dtype is datetime64 (M)") E _pytest.outcomes.XFailed: dask operation 'argmax' breaks when dtype is datetime64 (M) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:5649: XFailed ______________ TestDataset.test_copy_coords[False-expected_orig1] ______________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = deep = False expected_orig = Size: 16B array([999, 2]) Coordinates: * a (a) int64 16B 999 2 @pytest.mark.xfail(raises=AssertionError) @pytest.mark.parametrize( "deep, expected_orig", [ [ True, xr.DataArray( xr.IndexVariable("a", np.array([1, 2])), coords={"a": [1, 2]}, dims=["a"], ), ], [ False, xr.DataArray( xr.IndexVariable("a", np.array([999, 2])), coords={"a": [999, 2]}, dims=["a"], ), ], ], ) def test_copy_coords(self, deep, expected_orig) -> None: """The test fails for the shallow copy, and apparently only on Windows for some reason. In windows coords seem to be immutable unless it's one dataset deep copied from another.""" ds = xr.DataArray( np.ones([2, 2, 2]), coords={"a": [1, 2], "b": ["x", "y"], "c": [0, 1]}, dims=["a", "b", "c"], name="value", ).to_dataset() ds_cp = ds.copy(deep=deep) new_a = np.array([999, 2]) ds_cp.coords["a"] = ds_cp.a.copy(data=new_a) expected_cp = xr.DataArray( xr.IndexVariable("a", new_a), coords={"a": [999, 2]}, dims=["a"], ) assert_identical(ds_cp.coords["a"], expected_cp) > assert_identical(ds.coords["a"], expected_orig) E AssertionError: Left and right DataArray objects are not identical E E Differing values: E L E array([1, 2]) E R E array([999, 2]) E Differing coordinates: E L * a (a) int64 16B 1 2 E R * a (a) int64 16B 999 2 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataset.py:2960: AssertionError _____________________ test_datetime[2000-01-01T12:00-0.5] ______________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 x_new = '2000-01-01T12:00', expected = 0.5 @requires_scipy @pytest.mark.parametrize( "x_new, expected", [ (pd.date_range("2000-01-02", periods=3), [1, 2, 3]), ( np.array( [np.datetime64("2000-01-01T12:00"), np.datetime64("2000-01-02T12:00")] ), [0.5, 1.5], ), (["2000-01-01T12:00", "2000-01-02T12:00"], [0.5, 1.5]), (["2000-01-01T12:00", "2000-01-02T12:00", "NaT"], [0.5, 1.5, np.nan]), (["2000-01-01T12:00"], 0.5), pytest.param("2000-01-01T12:00", 0.5, marks=pytest.mark.xfail), ], ) @pytest.mark.filterwarnings("ignore:Converting non-nanosecond") def test_datetime(x_new, expected) -> None: da = xr.DataArray( np.arange(24), dims="time", coords={"time": pd.date_range("2000-01-01", periods=24)}, ) actual = da.interp(time=x_new) expected_da = xr.DataArray( np.atleast_1d(expected), dims=["time"], coords={"time": (np.atleast_1d(x_new).astype("datetime64[ns]"))}, ) > assert_allclose(actual, expected_da) E AssertionError: Left and right DataArray objects are not close E Differing dimensions: E () != (time: 1) E Differing values: E L E array(0.5) E R E array([0.5]) E Differing coordinates: E L time datetime64[ns] 8B 2000-01-01T12:00:00 E R * time (time) datetime64[ns] 8B 2000-01-01T12:00:00 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_interp.py:623: AssertionError _______________ TestGetItem.test_getitem_multiple_data_variables _______________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail(reason="Should be deprecated in favour of .subset") def test_getitem_multiple_data_variables(self): data = xr.Dataset({"temp": [0, 50], "p": [5, 8, 7]}) results: DataTree = DataTree(name="results", data=data) > assert_identical(results[["temp", "p"]], data[["temp", "p"]]) # type: ignore[index] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = DataTree('results', parent=None) Dimensions: (temp: 2, p: 3) Coordinates: * temp (temp) int64 16B 0 50 * p (p) int64 24B 5 8 7 Data variables: *empty* key = ['temp', 'p'] def __getitem__(self: DataTree, key: str) -> DataTree | DataArray: """ Access child nodes, variables, or coordinates stored anywhere in this tree. Returned object will be either a DataTree or DataArray object depending on whether the key given points to a child or variable. Parameters ---------- key : str Name of variable / child within this node, or unix-like path to variable / child within another node. Returns ------- DataTree | DataArray """ # Either: if utils.is_dict_like(key): # dict-like indexing raise NotImplementedError("Should this index over whole tree?") elif isinstance(key, str): # TODO should possibly deal with hashables in general? # path-like: a name of a node/variable, or path to a node/variable path = NodePath(key) return self._get_item(path) elif utils.is_list_like(key): # iterable of variable names > raise NotImplementedError( "Selecting via tags is deprecated, and selecting multiple items should be " "implemented via .subset" ) E NotImplementedError: Selecting via tags is deprecated, and selecting multiple items should be implemented via .subset /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:878: NotImplementedError ________ TestGetItem.test_getitem_dict_like_selection_access_to_dataset ________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail( reason="Indexing needs to return whole tree (GH https://github.com/xarray-contrib/datatree/issues/77)" ) def test_getitem_dict_like_selection_access_to_dataset(self): data = xr.Dataset({"temp": [0, 50]}) results: DataTree = DataTree(name="results", data=data) > assert_identical(results[{"temp": 1}], data[{"temp": 1}]) # type: ignore[index] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = DataTree('results', parent=None) Dimensions: (temp: 2) Coordinates: * temp (temp) int64 16B 0 50 Data variables: *empty* key = {'temp': 1} def __getitem__(self: DataTree, key: str) -> DataTree | DataArray: """ Access child nodes, variables, or coordinates stored anywhere in this tree. Returned object will be either a DataTree or DataArray object depending on whether the key given points to a child or variable. Parameters ---------- key : str Name of variable / child within this node, or unix-like path to variable / child within another node. Returns ------- DataTree | DataArray """ # Either: if utils.is_dict_like(key): # dict-like indexing > raise NotImplementedError("Should this index over whole tree?") E NotImplementedError: Should this index over whole tree? /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:870: NotImplementedError _________________________ TestCopy.test_copy_with_data _________________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = create_test_datatree = ._create_test_datatree at 0x7fc2ce63b420> @pytest.mark.xfail(reason="data argument not yet implemented") def test_copy_with_data(self, create_test_datatree): orig = create_test_datatree() # TODO use .data_vars once that property is available data_vars = { k: v for k, v in orig.variables.items() if k not in orig._coord_names } new_data = {k: np.random.randn(*v.shape) for k, v in data_vars.items()} > actual = orig.copy(data=new_data) E TypeError: DataTree.copy() got an unexpected keyword argument 'data' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree.py:330: TypeError ________________ TestSetItem.test_setitem_dataset_on_this_node _________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail(reason="assigning Datasets doesn't yet create new nodes") def test_setitem_dataset_on_this_node(self): data = xr.Dataset({"temp": [0, 50]}) results: DataTree = DataTree(name="results") > results["."] = data /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree.py:392: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:923: in __setitem__ return self._set_item(path, value, new_nodes_along_path=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = DataTree('results', parent=None), path = NodePath('.') item = Size: 16B Dimensions: (temp: 2) Coordinates: * temp (temp) int64 16B 0 50 Data variables: *empty* new_nodes_along_path = True, allow_overwrite = True def _set_item( self: Tree, path: str | NodePath, item: Tree | T_DataArray, new_nodes_along_path: bool = False, allow_overwrite: bool = True, ) -> None: """ Set a new item in the tree, overwriting anything already present at that path. The given value either forms a new node of the tree or overwrites an existing item at that location. Parameters ---------- path item new_nodes_along_path : bool If true, then if necessary new nodes will be created along the given path, until the tree can reach the specified location. allow_overwrite : bool Whether or not to overwrite any existing node at the location given by path. Raises ------ KeyError If node cannot be reached, and new_nodes_along_path=False. Or if a node already exists at the specified path, and allow_overwrite=False. """ if isinstance(path, str): path = NodePath(path) if not path.name: > raise ValueError("Can't set an item under a path which has no name") E ValueError: Can't set an item under a path which has no name /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/treenode.py:514: ValueError _________________ TestSetItem.test_setitem_dataset_as_new_node _________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail(reason="assigning Datasets doesn't yet create new nodes") def test_setitem_dataset_as_new_node(self): data = xr.Dataset({"temp": [0, 50]}) folder1: DataTree = DataTree(name="folder1") > folder1["results"] = data /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree.py:399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:923: in __setitem__ return self._set_item(path, value, new_nodes_along_path=True) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/treenode.py:554: in _set_item current_node._set(name, item) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:899: in _set val = DataArray(val) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:455: in __init__ data = as_compatible_data(data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:317: in as_compatible_data data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Size: 16B Dimensions: (temp: 2) Coordinates: * temp (temp) int64 16B 0 50 Data variables: *empty* dtype = None, copy = None def __array__(self, dtype=None, copy=None): > raise TypeError( "cannot directly convert an xarray.Dataset into a " "numpy array. Instead, create an xarray.DataArray " "first, either with indexing on the Dataset or by " "invoking the `to_dataarray()` method." ) E TypeError: cannot directly convert an xarray.Dataset into a numpy array. Instead, create an xarray.DataArray first, either with indexing on the Dataset or by invoking the `to_dataarray()` method. /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:1529: TypeError __ TestSetItem.test_setitem_dataset_as_new_node_requiring_intermediate_nodes ___ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail(reason="assigning Datasets doesn't yet create new nodes") def test_setitem_dataset_as_new_node_requiring_intermediate_nodes(self): data = xr.Dataset({"temp": [0, 50]}) folder1: DataTree = DataTree(name="folder1") > folder1["results/highres"] = data /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:923: in __setitem__ return self._set_item(path, value, new_nodes_along_path=True) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/treenode.py:554: in _set_item current_node._set(name, item) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/datatree.py:899: in _set val = DataArray(val) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:455: in __init__ data = as_compatible_data(data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:317: in as_compatible_data data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Size: 16B Dimensions: (temp: 2) Coordinates: * temp (temp) int64 16B 0 50 Data variables: *empty* dtype = None, copy = None def __array__(self, dtype=None, copy=None): > raise TypeError( "cannot directly convert an xarray.Dataset into a " "numpy array. Instead, create an xarray.DataArray " "first, either with indexing on the Dataset or by " "invoking the `to_dataarray()` method." ) E TypeError: cannot directly convert an xarray.Dataset into a numpy array. Instead, create an xarray.DataArray first, either with indexing on the Dataset or by invoking the `to_dataarray()` method. /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:1529: TypeError _________________ TestTreeFromDict.test_roundtrip_unnamed_root _________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = simple_datatree = DataTree('root', parent=None) │ Dimensions: (y: 3, x: 2) │ Dimensions without coordinates: y, x │ Data variable... a (x) int64 16B 2 3 │ │ b (x) float64 16B 0.1 0.2 │ └── DataTree('set1') └── DataTree('set3') @pytest.mark.xfail def test_roundtrip_unnamed_root(self, simple_datatree): # See GH81 dt = simple_datatree dt.name = "root" roundtrip = DataTree.from_dict(dt.to_dict()) > assert roundtrip.equals(dt) E AssertionError: assert False E + where False = (DataTree('root', parent=None)\n│ Dimensions: (y: 3, x: 2)\n│ Dimensions without coordinates: y, x\n│ Data variable... a (x) int64 16B 2 3\n│ │ b (x) float64 16B 0.1 0.2\n│ └── DataTree('set1')\n└── DataTree('set3')) E + where = DataTree('None', parent=None)\n│ Dimensions: (y: 3, x: 2)\n│ Dimensions without coordinates: y, x\n│ Data variable... a (x) int64 16B 2 3\n│ │ b (x) float64 16B 0.1 0.2\n│ └── DataTree('set1')\n└── DataTree('set3').equals /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_datatree.py:526: AssertionError _________________________ test_interpolate_na_2d[None] _________________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 coords = None @requires_bottleneck @pytest.mark.parametrize( "coords", [ pytest.param(None, marks=pytest.mark.xfail()), {"x": np.arange(4), "y": np.arange(12)}, ], ) def test_interpolate_na_2d(coords): n = np.nan da = xr.DataArray( [ [1, 2, 3, 4, n, 6, n, n, n, 10, 11, n], [n, n, 3, n, n, 6, n, n, n, 10, n, n], [n, n, 3, n, n, 6, n, n, n, 10, n, n], [n, 2, 3, 4, n, 6, n, n, n, 10, 11, n], ], dims=["x", "y"], coords=coords, ) > actual = da.interpolate_na("y", max_gap=2) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_missing.py:716: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:3567: in interpolate_na return interp_na( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Size: 384B array([[ 1., 2., 3., 4., nan, 6., nan, nan, nan, 10., 11., nan], ..., nan, nan], [nan, 2., 3., 4., nan, 6., nan, nan, nan, 10., 11., nan]]) Dimensions without coordinates: x, y dim = 'y', use_coordinate = True, method = 'linear', limit = None, max_gap = 2 keep_attrs = True, kwargs = {'method': 'linear'} CFTimeIndex = , max_type = 'int' index = array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11.]) interp_class = interpolator = functools.partial(, , method='linear') arr = Size: 384B array([[ 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., nan], ..., nan, nan], [nan, 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., nan]]) Dimensions without coordinates: x, y def interp_na( self, dim: Hashable | None = None, use_coordinate: bool | str = True, method: InterpOptions = "linear", limit: int | None = None, max_gap: int | float | str | pd.Timedelta | np.timedelta64 | dt.timedelta = None, keep_attrs: bool | None = None, **kwargs, ): """Interpolate values according to different methods.""" from xarray.coding.cftimeindex import CFTimeIndex if dim is None: raise NotImplementedError("dim is a required argument") if limit is not None: valids = _get_valid_fill_mask(self, dim, limit) if max_gap is not None: max_type = type(max_gap).__name__ if not is_scalar(max_gap): raise ValueError("max_gap must be a scalar.") if ( dim in self._indexes and isinstance( self._indexes[dim].to_pandas_index(), (pd.DatetimeIndex, CFTimeIndex) ) and use_coordinate ): # Convert to float max_gap = timedelta_to_numeric(max_gap) if not use_coordinate: if not isinstance(max_gap, (Number, np.number)): raise TypeError( f"Expected integer or floating point max_gap since use_coordinate=False. Received {max_type}." ) # method index = get_clean_interp_index(self, dim, use_coordinate=use_coordinate) interp_class, kwargs = _get_interpolator(method, **kwargs) interpolator = partial(func_interpolate_na, interp_class, **kwargs) if keep_attrs is None: keep_attrs = _get_keep_attrs(default=True) with warnings.catch_warnings(): warnings.filterwarnings("ignore", "overflow", RuntimeWarning) warnings.filterwarnings("ignore", "invalid value", RuntimeWarning) arr = apply_ufunc( interpolator, self, index, input_core_dims=[[dim], [dim]], output_core_dims=[[dim]], output_dtypes=[self.dtype], dask="parallelized", vectorize=True, keep_attrs=keep_attrs, ).transpose(*self.dims) if limit is not None: arr = arr.where(valids) if max_gap is not None: if dim not in self.coords: > raise NotImplementedError( "max_gap not implemented for unlabeled coordinates yet." ) E NotImplementedError: max_gap not implemented for unlabeled coordinates yet. /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:380: NotImplementedError _____________________ TestNamedArray.test_init[expected1] ______________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = expected = [1, 2] @pytest.mark.parametrize( "expected", [ np.array([1, 2], dtype=np.dtype(np.int8)), pytest.param( [1, 2], marks=pytest.mark.xfail( reason="NamedArray only supports array-like objects" ), ), ], ) def test_init(self, expected: Any) -> None: > super().test_init(expected) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_namedarray.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_namedarray.py:135: in test_init actual = self.cls(("x",), expected) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_namedarray.py:153: in cls return NamedArray(*args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/core.py:507: in _parse_dimensions if len(dims) != self.ndim: /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/core.py:416: in ndim return len(self.shape) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'list' object has no attribute 'shape'") raised in repr()] NamedArray object at 0x7f2d27f80880> @property def shape(self) -> _Shape: """ Get the shape of the array. Returns ------- shape : tuple of ints Tuple of array dimensions. See Also -------- numpy.ndarray.shape """ > return self._data.shape E AttributeError: 'list' object has no attribute 'shape' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/core.py:463: AttributeError ______________________ TestSurface.test_dates_are_concise ______________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail( reason=( "Failing inside matplotlib. Should probably be fixed upstream because " "other plot functions can handle it. " "Remove this test when it works, already in Common2dMixin" ) ) def test_dates_are_concise(self) -> None: import matplotlib.dates as mdates time = pd.date_range("2000-01-01", "2000-01-10") a = DataArray(np.random.randn(2, len(time)), [("xx", [1, 2]), ("t", time)]) > self.plotfunc(a, x="t") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2094: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/dataarray_plot.py:1601: in newplotfunc primitive = plotfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/dataarray_plot.py:2454: in surface primitive = ax.plot_surface(x, y, z, **kwargs) /usr/lib64/python3.13/site-packages/mpl_toolkits/mplot3d/axes3d.py:2022: in plot_surface polys = np.stack( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ arrays = [array([['2000-01-01T00:00:00.000000000', '2000-01-02T00:00:00.000000000', '2000-01-02T00:00:00.000000000', '2... [-0.15135721, -0.10321885, 0.3130677 , -0.20515826], [-0.10321885, 0.4105985 , -0.85409574, 0.3130677 ]])] axis = 2, out = None @array_function_dispatch(_stack_dispatcher) def stack(arrays, axis=0, out=None, *, dtype=None, casting="same_kind"): """ Join a sequence of arrays along a new axis. The ``axis`` parameter specifies the index of the new axis in the dimensions of the result. For example, if ``axis=0`` it will be the first dimension and if ``axis=-1`` it will be the last dimension. .. versionadded:: 1.10.0 Parameters ---------- arrays : sequence of array_like Each array must have the same shape. axis : int, optional The axis in the result array along which the input arrays are stacked. out : ndarray, optional If provided, the destination to place the result. The shape must be correct, matching that of what stack would have returned if no out argument were specified. dtype : str or dtype If provided, the destination array will have this dtype. Cannot be provided together with `out`. .. versionadded:: 1.24 casting : {'no', 'equiv', 'safe', 'same_kind', 'unsafe'}, optional Controls what kind of data casting may occur. Defaults to 'same_kind'. .. versionadded:: 1.24 Returns ------- stacked : ndarray The stacked array has one more dimension than the input arrays. See Also -------- concatenate : Join a sequence of arrays along an existing axis. block : Assemble an nd-array from nested lists of blocks. split : Split array into a list of multiple sub-arrays of equal size. Examples -------- >>> arrays = [np.random.randn(3, 4) for _ in range(10)] >>> np.stack(arrays, axis=0).shape (10, 3, 4) >>> np.stack(arrays, axis=1).shape (3, 10, 4) >>> np.stack(arrays, axis=2).shape (3, 4, 10) >>> a = np.array([1, 2, 3]) >>> b = np.array([4, 5, 6]) >>> np.stack((a, b)) array([[1, 2, 3], [4, 5, 6]]) >>> np.stack((a, b), axis=-1) array([[1, 4], [2, 5], [3, 6]]) """ arrays = [asanyarray(arr) for arr in arrays] if not arrays: raise ValueError('need at least one array to stack') shapes = {arr.shape for arr in arrays} if len(shapes) != 1: raise ValueError('all input arrays must have the same shape') result_ndim = arrays[0].ndim + 1 axis = normalize_axis_index(axis, result_ndim) sl = (slice(None),) * axis + (_nx.newaxis,) expanded_arrays = [arr[sl] for arr in arrays] > return _nx.concatenate(expanded_arrays, axis=axis, out=out, dtype=dtype, casting=casting) E numpy.exceptions.DTypePromotionError: The DType could not be promoted by . This means that no common DType exists for the given inputs. For example they cannot be stored in a single array unless the dtype is `object`. The full list of DTypes is: (, , ) /usr/lib64/python3.13/site-packages/numpy/core/shape_base.py:456: DTypePromotionError _____________ test_replication_full_like_dataarray[float64-coords] _____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 variant = 'coords', dtype = dtype('float64') @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), pytest.param( "coords", marks=pytest.mark.xfail(reason="can't copy quantity into non-quantity"), ), ), ) def test_replication_full_like_dataarray(variant, dtype): # since full_like will strip units and then use the units of the # fill value, we don't need to try multiple units unit = unit_registry.m variants = { "data": (unit, 1, 1), "dims": (1, unit, 1), "coords": (1, 1, unit), } data_unit, dim_unit, coord_unit = variants.get(variant) array = np.linspace(0, 5, 10) * data_unit x = np.arange(10) * dim_unit u = np.linspace(0, 1, 10) * coord_unit data_array = xr.DataArray(data=array, dims="x", coords={"x": x, "u": ("x", u)}) fill_value = -1 * unit_registry.degK units = extract_units(data_array) units[data_array.name] = fill_value.units expected = attach_units( xr.full_like(strip_units(data_array), fill_value=strip_units(fill_value)), units ) > actual = xr.full_like(data_array, fill_value=fill_value) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1715: in full_like _full_like_variable( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1776: in _full_like_variable data = np.full_like(other.data, fill_value, dtype=dtype) /usr/lib64/python3.13/site-packages/numpy/core/numeric.py:407: in full_like multiarray.copyto(res, fill_value, casting='unsafe') /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dst = array([0. , 0.11111111, 0.22222222, 0.33333333, 0.44444444, 0.55555556, 0.66666667, 0.77777778, 0.88888889, 1. ]) src = , casting = 'unsafe', where = True @implements("copyto", "function") def _copyto(dst, src, casting="same_kind", where=True): if _is_quantity(dst): if _is_quantity(src): src = src.m_as(dst.units) np.copyto(dst._magnitude, src, casting=casting, where=where) else: > warnings.warn( "The unit of the quantity is stripped when copying to non-quantity", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when copying to non-quantity /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:606: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when copying to non-quantity') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ______________ test_replication_full_like_dataarray[int64-coords] ______________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 variant = 'coords', dtype = dtype('int64') @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), pytest.param( "coords", marks=pytest.mark.xfail(reason="can't copy quantity into non-quantity"), ), ), ) def test_replication_full_like_dataarray(variant, dtype): # since full_like will strip units and then use the units of the # fill value, we don't need to try multiple units unit = unit_registry.m variants = { "data": (unit, 1, 1), "dims": (1, unit, 1), "coords": (1, 1, unit), } data_unit, dim_unit, coord_unit = variants.get(variant) array = np.linspace(0, 5, 10) * data_unit x = np.arange(10) * dim_unit u = np.linspace(0, 1, 10) * coord_unit data_array = xr.DataArray(data=array, dims="x", coords={"x": x, "u": ("x", u)}) fill_value = -1 * unit_registry.degK units = extract_units(data_array) units[data_array.name] = fill_value.units expected = attach_units( xr.full_like(strip_units(data_array), fill_value=strip_units(fill_value)), units ) > actual = xr.full_like(data_array, fill_value=fill_value) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1715: in full_like _full_like_variable( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1776: in _full_like_variable data = np.full_like(other.data, fill_value, dtype=dtype) /usr/lib64/python3.13/site-packages/numpy/core/numeric.py:407: in full_like multiarray.copyto(res, fill_value, casting='unsafe') /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dst = array([0. , 0.11111111, 0.22222222, 0.33333333, 0.44444444, 0.55555556, 0.66666667, 0.77777778, 0.88888889, 1. ]) src = , casting = 'unsafe', where = True @implements("copyto", "function") def _copyto(dst, src, casting="same_kind", where=True): if _is_quantity(dst): if _is_quantity(src): src = src.m_as(dst.units) np.copyto(dst._magnitude, src, casting=casting, where=where) else: > warnings.warn( "The unit of the quantity is stripped when copying to non-quantity", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when copying to non-quantity /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:606: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when copying to non-quantity') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ______________ test_replication_full_like_dataset[float64-coords] ______________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 variant = 'coords', dtype = dtype('float64') @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), pytest.param( "coords", marks=pytest.mark.xfail(reason="can't copy quantity into non-quantity"), ), ), ) def test_replication_full_like_dataset(variant, dtype): unit = unit_registry.m variants = { "data": ((unit_registry.s, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit, 1), "coords": ((1, 1), 1, unit), } (data_unit1, data_unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(0, 10, 20).astype(dtype) * data_unit1 array2 = np.linspace(5, 10, 10).astype(dtype) * data_unit2 x = np.arange(20).astype(dtype) * dim_unit y = np.arange(10).astype(dtype) * dim_unit u = np.linspace(0, 1, 10) * coord_unit ds = xr.Dataset( data_vars={"a": ("x", array1), "b": ("y", array2)}, coords={"x": x, "y": y, "u": ("y", u)}, ) fill_value = -1 * unit_registry.degK units = { **extract_units(ds), **{name: unit_registry.degK for name in ds.data_vars}, } expected = attach_units( xr.full_like(strip_units(ds), fill_value=strip_units(fill_value)), units ) > actual = xr.full_like(ds, fill_value=fill_value) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1700: in full_like k: _full_like_variable( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1776: in _full_like_variable data = np.full_like(other.data, fill_value, dtype=dtype) /usr/lib64/python3.13/site-packages/numpy/core/numeric.py:407: in full_like multiarray.copyto(res, fill_value, casting='unsafe') /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dst = array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13., 14., 15., 16., 17., 18., 19.]) src = , casting = 'unsafe', where = True @implements("copyto", "function") def _copyto(dst, src, casting="same_kind", where=True): if _is_quantity(dst): if _is_quantity(src): src = src.m_as(dst.units) np.copyto(dst._magnitude, src, casting=casting, where=where) else: > warnings.warn( "The unit of the quantity is stripped when copying to non-quantity", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when copying to non-quantity /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:606: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when copying to non-quantity') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _______________ test_replication_full_like_dataset[int64-coords] _______________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 variant = 'coords', dtype = dtype('int64') @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), pytest.param( "coords", marks=pytest.mark.xfail(reason="can't copy quantity into non-quantity"), ), ), ) def test_replication_full_like_dataset(variant, dtype): unit = unit_registry.m variants = { "data": ((unit_registry.s, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit, 1), "coords": ((1, 1), 1, unit), } (data_unit1, data_unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(0, 10, 20).astype(dtype) * data_unit1 array2 = np.linspace(5, 10, 10).astype(dtype) * data_unit2 x = np.arange(20).astype(dtype) * dim_unit y = np.arange(10).astype(dtype) * dim_unit u = np.linspace(0, 1, 10) * coord_unit ds = xr.Dataset( data_vars={"a": ("x", array1), "b": ("y", array2)}, coords={"x": x, "y": y, "u": ("y", u)}, ) fill_value = -1 * unit_registry.degK units = { **extract_units(ds), **{name: unit_registry.degK for name in ds.data_vars}, } expected = attach_units( xr.full_like(strip_units(ds), fill_value=strip_units(fill_value)), units ) > actual = xr.full_like(ds, fill_value=fill_value) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1700: in full_like k: _full_like_variable( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:1776: in _full_like_variable data = np.full_like(other.data, fill_value, dtype=dtype) /usr/lib64/python3.13/site-packages/numpy/core/numeric.py:407: in full_like multiarray.copyto(res, fill_value, casting='unsafe') /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ dst = array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]) src = , casting = 'unsafe', where = True @implements("copyto", "function") def _copyto(dst, src, casting="same_kind", where=True): if _is_quantity(dst): if _is_quantity(src): src = src.m_as(dst.units) np.copyto(dst._magnitude, src, casting=casting, where=where) else: > warnings.warn( "The unit of the quantity is stripped when copying to non-quantity", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when copying to non-quantity /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:606: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when copying to non-quantity') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _________ TestDataArray.test_bivariate_ufunc[float64-compatible_unit] __________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = unit = , error = None, dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="without_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param( unit_registry.mm, None, id="compatible_unit", marks=pytest.mark.xfail(reason="pint converts to the wrong units"), ), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_bivariate_ufunc(self, unit, error, dtype): original_unit = unit_registry.m array = np.arange(10).astype(dtype) * original_unit data_array = xr.DataArray(data=array) if error is not None: with pytest.raises(error): np.maximum(data_array, 1 * unit) return expected_units = {None: original_unit} expected = attach_units( np.maximum( strip_units(data_array), strip_units(convert_units(1 * unit, expected_units)), ), expected_units, ) actual = np.maximum(data_array, 1 * unit) assert_units_equal(expected, actual) assert_identical(expected, actual) actual = np.maximum(1 * unit, data_array) > assert_units_equal(expected, actual) E AssertionError: assert {None: } == {None: } E E Differing items: E {None: } != {None: } E Use -v to get more diff /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2577: AssertionError __________ TestDataArray.test_bivariate_ufunc[int64-compatible_unit] ___________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = unit = , error = None, dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="without_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param( unit_registry.mm, None, id="compatible_unit", marks=pytest.mark.xfail(reason="pint converts to the wrong units"), ), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_bivariate_ufunc(self, unit, error, dtype): original_unit = unit_registry.m array = np.arange(10).astype(dtype) * original_unit data_array = xr.DataArray(data=array) if error is not None: with pytest.raises(error): np.maximum(data_array, 1 * unit) return expected_units = {None: original_unit} expected = attach_units( np.maximum( strip_units(data_array), strip_units(convert_units(1 * unit, expected_units)), ), expected_units, ) actual = np.maximum(data_array, 1 * unit) assert_units_equal(expected, actual) assert_identical(expected, actual) actual = np.maximum(1 * unit, data_array) > assert_units_equal(expected, actual) E AssertionError: assert {None: } == {None: } E E Differing items: E {None: } != {None: } E Use -v to get more diff /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2577: AssertionError ____ TestDataArray.test_searchsorted[float64-function_searchsorted-no_unit] ____ [gw1] linux -- Python 3.13.0 /usr/bin/python3 obj = Size: 80B Dimensions without coordinates: dim_0 method = 'searchsorted', args = (5,), kwds = {'side': 'left', 'sorter': None} bound = .func of Size: 80B Dimensions without coordinates: dim_0> def _wrapfunc(obj, method, *args, **kwds): bound = getattr(obj, method, None) if bound is None: return _wrapit(obj, method, *args, **kwds) try: > return bound(*args, **kwds) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/ops.py:205: in func return _call_possibly_missing_method(self.data, name, args, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/ops.py:200: in _call_possibly_missing_method return method(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , v = 5 side = 'left', sorter = None def searchsorted(self, v, side="left", sorter=None): if isinstance(v, self.__class__): v = v.to(self).magnitude elif self.dimensionless: v = self.__class__(v, "").to(self) else: > raise DimensionalityError("dimensionless", self._units) E pint.errors.DimensionalityError: Cannot convert from 'dimensionless' to 'meter' /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:191: DimensionalityError During handling of the above exception, another exception occurred: self = func = function_searchsorted, unit = 1 error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2662: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:1400: in searchsorted return _wrapfunc(a, 'searchsorted', v, side=side, sorter=sorter) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:68: in _wrapfunc return _wrapit(obj, method, *args, **kwds) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:45: in _wrapit result = getattr(asarray(obj), method)(*args, **kwds) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:165: in __array__ return np.asarray(self.values, dtype=dtype) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_searchsorted[float64-function_searchsorted-dimensionless] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2662: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:93: in convert_arg return pre_calc_units._REGISTRY.Quantity(arg).m_as(pre_calc_units) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = value = Size: 80B Dimensions without coordinates: dim_0 units = None def __new__(cls, value, units=None): if is_upcast_type(type(value)): > raise TypeError(f"PlainQuantity cannot wrap upcast type {type(value)}") E TypeError: PlainQuantity cannot wrap upcast type /usr/lib/python3.13/site-packages/pint/facets/plain/quantity.py:190: TypeError _ TestDataArray.test_searchsorted[float64-function_searchsorted-incompatible_unit] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2662: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_searchsorted[float64-function_searchsorted-compatible_unit] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2677: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_searchsorted[float64-function_searchsorted-identical_unit] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2677: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _____ TestDataArray.test_searchsorted[int64-function_searchsorted-no_unit] _____ [gw1] linux -- Python 3.13.0 /usr/bin/python3 obj = Size: 80B Dimensions without coordinates: dim_0 method = 'searchsorted', args = (5,), kwds = {'side': 'left', 'sorter': None} bound = .func of Size: 80B Dimensions without coordinates: dim_0> def _wrapfunc(obj, method, *args, **kwds): bound = getattr(obj, method, None) if bound is None: return _wrapit(obj, method, *args, **kwds) try: > return bound(*args, **kwds) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/ops.py:205: in func return _call_possibly_missing_method(self.data, name, args, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/ops.py:200: in _call_possibly_missing_method return method(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , v = 5, side = 'left' sorter = None def searchsorted(self, v, side="left", sorter=None): if isinstance(v, self.__class__): v = v.to(self).magnitude elif self.dimensionless: v = self.__class__(v, "").to(self) else: > raise DimensionalityError("dimensionless", self._units) E pint.errors.DimensionalityError: Cannot convert from 'dimensionless' to 'meter' /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:191: DimensionalityError During handling of the above exception, another exception occurred: self = func = function_searchsorted, unit = 1 error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2662: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:1400: in searchsorted return _wrapfunc(a, 'searchsorted', v, side=side, sorter=sorter) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:68: in _wrapfunc return _wrapit(obj, method, *args, **kwds) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:45: in _wrapit result = getattr(asarray(obj), method)(*args, **kwds) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:165: in __array__ return np.asarray(self.values, dtype=dtype) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __ TestDataArray.test_searchsorted[int64-function_searchsorted-dimensionless] __ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2662: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:93: in convert_arg return pre_calc_units._REGISTRY.Quantity(arg).m_as(pre_calc_units) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = value = Size: 80B Dimensions without coordinates: dim_0 units = None def __new__(cls, value, units=None): if is_upcast_type(type(value)): > raise TypeError(f"PlainQuantity cannot wrap upcast type {type(value)}") E TypeError: PlainQuantity cannot wrap upcast type /usr/lib/python3.13/site-packages/pint/facets/plain/quantity.py:190: TypeError _ TestDataArray.test_searchsorted[int64-function_searchsorted-incompatible_unit] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2662: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_searchsorted[int64-function_searchsorted-compatible_unit] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2677: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_searchsorted[int64-function_searchsorted-identical_unit] __ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_searchsorted, unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) @pytest.mark.parametrize( "func", ( method("searchsorted", 5), pytest.param( function("searchsorted", 5), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) def test_searchsorted(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2677: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __ TestDataArray.test_numpy_methods_with_args[float64-no_unit-function_clip] ___ [gw1] linux -- Python 3.13.0 /usr/bin/python3 obj = Size: 80B Dimensions without coordinates: dim_0 method = 'clip', args = (3, 8), kwds = {'out': None} bound = Size: 80B Dimensions without coordinates: dim_0> def _wrapfunc(obj, method, *args, **kwds): bound = getattr(obj, method, None) if bound is None: return _wrapit(obj, method, *args, **kwds) try: > return bound(*args, **kwds) E TypeError: DataWithCoords.clip() got an unexpected keyword argument 'out' /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:59: TypeError During handling of the above exception, another exception occurred: self = func = function_clip, unit = 1 error = , dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:2169: in clip return _wrapfunc(a, 'clip', a_min, a_max, out=out, **kwargs) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:68: in _wrapfunc return _wrapit(obj, method, *args, **kwds) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:45: in _wrapit result = getattr(asarray(obj), method)(*args, **kwds) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:165: in __array__ return np.asarray(self.values, dtype=dtype) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_numpy_methods_with_args[float64-dimensionless-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:93: in convert_arg return pre_calc_units._REGISTRY.Quantity(arg).m_as(pre_calc_units) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = value = Size: 80B Dimensions without coordinates: dim_0 units = None def __new__(cls, value, units=None): if is_upcast_type(type(value)): > raise TypeError(f"PlainQuantity cannot wrap upcast type {type(value)}") E TypeError: PlainQuantity cannot wrap upcast type /usr/lib/python3.13/site-packages/pint/facets/plain/quantity.py:190: TypeError _ TestDataArray.test_numpy_methods_with_args[float64-incompatible_unit-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_numpy_methods_with_args[float64-compatible_unit-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2734: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestDataArray.test_numpy_methods_with_args[float64-identical_unit-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2734: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _______________ test_align_dataarray[float64-10-coords-no_unit] ________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = 1 error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ____________ test_align_dataarray[float64-10-coords-dimensionless] _____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ___ TestDataArray.test_numpy_methods_with_args[int64-no_unit-function_clip] ____ [gw1] linux -- Python 3.13.0 /usr/bin/python3 obj = Size: 80B Dimensions without coordinates: dim_0 method = 'clip', args = (3, 8), kwds = {'out': None} bound = Size: 80B Dimensions without coordinates: dim_0> def _wrapfunc(obj, method, *args, **kwds): bound = getattr(obj, method, None) if bound is None: return _wrapit(obj, method, *args, **kwds) try: > return bound(*args, **kwds) E TypeError: DataWithCoords.clip() got an unexpected keyword argument 'out' /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:59: TypeError During handling of the above exception, another exception occurred: self = func = function_clip, unit = 1 error = , dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:2169: in clip return _wrapfunc(a, 'clip', a_min, a_max, out=out, **kwargs) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:68: in _wrapfunc return _wrapit(obj, method, *args, **kwds) /usr/lib64/python3.13/site-packages/numpy/core/fromnumeric.py:45: in _wrapit result = getattr(asarray(obj), method)(*args, **kwds) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:165: in __array__ return np.asarray(self.values, dtype=dtype) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __________ test_align_dataarray[float64-10-coords-incompatible_unit] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ___________ test_align_dataarray[float64-10-coords-compatible_unit] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed _ TestDataArray.test_numpy_methods_with_args[int64-dimensionless-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:93: in convert_arg return pre_calc_units._REGISTRY.Quantity(arg).m_as(pre_calc_units) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = value = Size: 80B Dimensions without coordinates: dim_0 units = None def __new__(cls, value, units=None): if is_upcast_type(type(value)): > raise TypeError(f"PlainQuantity cannot wrap upcast type {type(value)}") E TypeError: PlainQuantity cannot wrap upcast type /usr/lib/python3.13/site-packages/pint/facets/plain/quantity.py:190: TypeError ____________ test_align_dataarray[float64-10-coords-identical_unit] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed __________ test_align_dataarray[float64-value1-coords-dimensionless] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed _ TestDataArray.test_numpy_methods_with_args[int64-incompatible_unit-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): > func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ________ test_align_dataarray[float64-value1-coords-incompatible_unit] _________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed _________ test_align_dataarray[float64-value1-coords-compatible_unit] __________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed __________ test_align_dataarray[float64-value1-coords-identical_unit] __________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = , error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed _ TestDataArray.test_numpy_methods_with_args[int64-compatible_unit-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2734: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ________________ test_align_dataarray[int64-10-coords-no_unit] _________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = 1 error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed _ TestDataArray.test_numpy_methods_with_args[int64-identical_unit-function_clip] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = function_clip, unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("clip", min=3, max=8), pytest.param( function("clip", a_min=3, a_max=8), marks=pytest.mark.xfail( reason="xarray does not implement __array_function__" ), ), ), ids=repr, ) @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.cm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ) def test_numpy_methods_with_args(self, func, unit, error, dtype): array = np.arange(10).astype(dtype) * unit_registry.m data_array = xr.DataArray(data=array) scalar_types = (int, float) args = list(value * unit for value in func.args) kwargs = { key: (value * unit if isinstance(value, scalar_types) else value) for key, value in func.kwargs.items() } if error is not None: with pytest.raises(error): func(data_array, *args, **kwargs) return units = extract_units(data_array) expected_units = extract_units(func(array, *args, **kwargs)) stripped_args = [strip_units(convert_units(value, units)) for value in args] stripped_kwargs = { key: strip_units(convert_units(value, units)) for key, value in kwargs.items() } expected = attach_units( func(strip_units(data_array), *stripped_args, **stripped_kwargs), expected_units, ) > actual = func(data_array, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2734: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:367: in __call__ return self.func(*all_args, **all_kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:75: in __array_function__ return numpy_wrap("function", func, args, kwargs, types) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:1071: in numpy_wrap return handled[name](*args, **kwargs) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:849: in implementation unwrapped_unit_args, output_wrap = unwrap_and_wrap_consistent_units( /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:134: in unwrap_and_wrap_consistent_units args, _ = convert_to_consistent_units(*args, pre_calc_units=first_input_units) /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in convert_to_consistent_units tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:115: in tuple(convert_arg(arg, pre_calc_units=pre_calc_units) for arg in args), /usr/lib/python3.13/site-packages/pint/facets/numpy/numpy_func.py:94: in convert_arg elif not _is_quantity(arg) and zero_or_nan(arg, True): /usr/lib/python3.13/site-packages/pint/compat.py:382: in zero_or_nan out = eq(obj, 0, False) + isnan(obj, False) /usr/lib/python3.13/site-packages/pint/compat.py:361: in isnan return math.isnan(obj) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:156: in __float__ return float(self.values) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _____________ test_align_dataarray[int64-10-coords-dimensionless] ______________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ___________ test_align_dataarray[int64-10-coords-incompatible_unit] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ____________ test_align_dataarray[int64-10-coords-compatible_unit] _____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed _____________ test_align_dataarray[int64-10-coords-identical_unit] _____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, variant = 'coords', unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ___________ test_align_dataarray[int64-value1-coords-dimensionless] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed _________ test_align_dataarray[int64-value1-coords-incompatible_unit] __________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed __________ test_align_dataarray[int64-value1-coords-compatible_unit] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ___________ test_align_dataarray[int64-value1-coords-identical_unit] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , variant = 'coords', unit = , error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataarray(value, variant, unit, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:476: XFailed ________________ test_align_dataset[float64-10-coords-no_unit] _________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = 1, variant = 'coords' error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed _____________ test_align_dataset[float64-10-coords-dimensionless] ______________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords' error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ________ TestDataArray.test_missing_value_filling[float64-method_ffill] ________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_ffill, dtype = dtype('float64') @pytest.mark.xfail(reason="ffill and bfill lose units in data") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) x = np.arange(len(array)) data_array = xr.DataArray(data=array, coords={"x": x}, dims="x") expected = attach_units( func(strip_units(data_array), dim="x"), extract_units(data_array) ) > actual = func(data_array, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2775: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:3660: in ffill return ffill(self, dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:428: in ffill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___________ test_align_dataset[float64-10-coords-incompatible_unit] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords' error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ____________ test_align_dataset[float64-10-coords-compatible_unit] _____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords', error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ________ TestDataArray.test_missing_value_filling[float64-method_bfill] ________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_bfill, dtype = dtype('float64') @pytest.mark.xfail(reason="ffill and bfill lose units in data") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) x = np.arange(len(array)) data_array = xr.DataArray(data=array, coords={"x": x}, dims="x") expected = attach_units( func(strip_units(data_array), dim="x"), extract_units(data_array) ) > actual = func(data_array, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2775: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:3744: in bfill return bfill(self, dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:446: in bfill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:414: in _bfill arr = push(arr, axis=axis, n=n) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _____________ test_align_dataset[float64-10-coords-identical_unit] _____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords', error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed _________ TestDataArray.test_missing_value_filling[int64-method_ffill] _________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_ffill, dtype = dtype('int64') @pytest.mark.xfail(reason="ffill and bfill lose units in data") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) x = np.arange(len(array)) data_array = xr.DataArray(data=array, coords={"x": x}, dims="x") expected = attach_units( func(strip_units(data_array), dim="x"), extract_units(data_array) ) > actual = func(data_array, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2775: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:3660: in ffill return ffill(self, dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:428: in ffill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___________ test_align_dataset[float64-value1-coords-dimensionless] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords' error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed _________ test_align_dataset[float64-value1-coords-incompatible_unit] __________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords' error = , dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed __________ test_align_dataset[float64-value1-coords-compatible_unit] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords', error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed _________ TestDataArray.test_missing_value_filling[int64-method_bfill] _________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_bfill, dtype = dtype('int64') @pytest.mark.xfail(reason="ffill and bfill lose units in data") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) x = np.arange(len(array)) data_array = xr.DataArray(data=array, coords={"x": x}, dims="x") expected = attach_units( func(strip_units(data_array), dim="x"), extract_units(data_array) ) > actual = func(data_array, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2775: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:3744: in bfill return bfill(self, dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:446: in bfill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:414: in _bfill arr = push(arr, axis=axis, n=n) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___________ test_align_dataset[float64-value1-coords-identical_unit] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords', error = None dtype = dtype('float64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed _________________ test_align_dataset[int64-10-coords-no_unit] __________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = 1, variant = 'coords' error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ______________ test_align_dataset[int64-10-coords-dimensionless] _______________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords' error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ____________ test_align_dataset[int64-10-coords-incompatible_unit] _____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords' error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed _____________ test_align_dataset[int64-10-coords-compatible_unit] ______________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords', error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ______________ test_align_dataset[int64-10-coords-identical_unit] ______________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = 10, unit = , variant = 'coords', error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ____________ test_align_dataset[int64-value1-coords-dimensionless] _____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords' error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed __________ test_align_dataset[int64-value1-coords-incompatible_unit] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords' error = , dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ______________________ TestDataArray.test_interpolate_na _______________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail(reason="uses numpy.vectorize") def test_interpolate_na(self): array = ( np.array([-1.03, 0.1, 1.4, np.nan, 2.3, np.nan, np.nan, 9.1]) * unit_registry.m ) x = np.arange(len(array)) data_array = xr.DataArray(data=array, coords={"x": x}, dims="x") units = extract_units(data_array) expected = attach_units(strip_units(data_array).interpolate_na(dim="x"), units) > actual = data_array.interpolate_na(dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2938: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:3567: in interpolate_na return interp_na( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:363: in interp_na arr = apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2372: in __call__ return self._call_as_normal(*args, **kwargs) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2365: in _call_as_normal return self._vectorize_call(func=func, args=vargs) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2446: in _vectorize_call res = self._vectorize_call_with_signature(func, args) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2472: in _vectorize_call_with_signature args = tuple(asanyarray(arg) for arg in args) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2472: in args = tuple(asanyarray(arg) for arg in args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___________ test_align_dataset[int64-value1-coords-compatible_unit] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords', error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ____________ test_align_dataset[int64-value1-coords-identical_unit] ____________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 value = , unit = , variant = 'coords', error = None dtype = dtype('int64') @pytest.mark.parametrize( "unit,error", ( pytest.param(1, DimensionalityError, id="no_unit"), pytest.param( unit_registry.dimensionless, DimensionalityError, id="dimensionless" ), pytest.param(unit_registry.s, DimensionalityError, id="incompatible_unit"), pytest.param(unit_registry.mm, None, id="compatible_unit"), pytest.param(unit_registry.m, None, id="identical_unit"), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize("value", (10, dtypes.NA)) def test_align_dataset(value, unit, variant, error, dtype): if variant == "coords" and ( value != dtypes.NA or isinstance(unit, unit_registry.Unit) ): > pytest.xfail( reason=( "fill_value is used for both data variables and coords. " "See https://github.com/pydata/xarray/issues/4165" ) ) E _pytest.outcomes.XFailed: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:580: XFailed ________ TestDataArray.test_interp_reindex[float64-method_interp-data] _________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'data', func = method_interp, dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(10) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", y)}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), x=new_x), units) > actual = func(data_array, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2323: in interp ds = self._to_temp_dataset().interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _________ TestDataset.test_missing_value_filling[float64-method_ffill] _________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_ffill, dtype = dtype('float64') @pytest.mark.xfail(reason="ffill and bfill lose the unit") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array1 = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) array2 = ( np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) * unit_registry.Pa ) ds = xr.Dataset({"a": ("x", array1), "b": ("y", array2)}) units = extract_units(ds) expected = attach_units(func(strip_units(ds), dim="x"), units) > actual = func(ds, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:6734: in ffill new = _apply_over_vars_with_dim(ffill, self, dim=dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:220: in _apply_over_vars_with_dim ds[name] = func(var, dim=dim, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:428: in ffill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _______ TestDataArray.test_interp_reindex[float64-method_interp-coords] ________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'coords', func = method_interp, dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(10) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", y)}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), x=new_x), units) > actual = func(data_array, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2323: in interp ds = self._to_temp_dataset().interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _________ TestDataArray.test_interp_reindex[int64-method_interp-data] __________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'data', func = method_interp, dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(10) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", y)}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), x=new_x), units) > actual = func(data_array, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2323: in interp ds = self._to_temp_dataset().interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _________ TestDataset.test_missing_value_filling[float64-method_bfill] _________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_bfill, dtype = dtype('float64') @pytest.mark.xfail(reason="ffill and bfill lose the unit") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array1 = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) array2 = ( np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) * unit_registry.Pa ) ds = xr.Dataset({"a": ("x", array1), "b": ("y", array2)}) units = extract_units(ds) expected = attach_units(func(strip_units(ds), dim="x"), units) > actual = func(ds, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:6799: in bfill new = _apply_over_vars_with_dim(bfill, self, dim=dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:220: in _apply_over_vars_with_dim ds[name] = func(var, dim=dim, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:446: in bfill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:414: in _bfill arr = push(arr, axis=axis, n=n) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ________ TestDataArray.test_interp_reindex[int64-method_interp-coords] _________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'coords', func = method_interp, dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(10) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", y)}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), x=new_x), units) > actual = func(data_array, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3493: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2323: in interp ds = self._to_temp_dataset().interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___ TestDataArray.test_interp_reindex_like[float64-method_interp_like-data] ____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'data', func = method_interp_like, dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit coord = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(-2, 2) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", coord)}, dims="x") other = xr.DataArray(np.empty_like(new_x), coords={"x": new_x}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), other), units) > actual = func(data_array, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2450: in interp_like ds = self._to_temp_dataset().interp_like( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __ TestDataArray.test_interp_reindex_like[float64-method_interp_like-coords] ___ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'coords', func = method_interp_like, dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit coord = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(-2, 2) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", coord)}, dims="x") other = xr.DataArray(np.empty_like(new_x), coords={"x": new_x}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), other), units) > actual = func(data_array, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2450: in interp_like ds = self._to_temp_dataset().interp_like( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __________ TestDataset.test_missing_value_filling[int64-method_ffill] __________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_ffill, dtype = dtype('int64') @pytest.mark.xfail(reason="ffill and bfill lose the unit") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array1 = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) array2 = ( np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) * unit_registry.Pa ) ds = xr.Dataset({"a": ("x", array1), "b": ("y", array2)}) units = extract_units(ds) expected = attach_units(func(strip_units(ds), dim="x"), units) > actual = func(ds, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:6734: in ffill new = _apply_over_vars_with_dim(ffill, self, dim=dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:220: in _apply_over_vars_with_dim ds[name] = func(var, dim=dim, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:428: in ffill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ____ TestDataArray.test_interp_reindex_like[int64-method_interp_like-data] _____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'data', func = method_interp_like, dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit coord = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(-2, 2) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", coord)}, dims="x") other = xr.DataArray(np.empty_like(new_x), coords={"x": new_x}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), other), units) > actual = func(data_array, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2450: in interp_like ds = self._to_temp_dataset().interp_like( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __________ TestDataset.test_missing_value_filling[int64-method_bfill] __________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_bfill, dtype = dtype('int64') @pytest.mark.xfail(reason="ffill and bfill lose the unit") @pytest.mark.parametrize("func", (method("ffill"), method("bfill")), ids=repr) def test_missing_value_filling(self, func, dtype): array1 = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) array2 = ( np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) * unit_registry.Pa ) ds = xr.Dataset({"a": ("x", array1), "b": ("y", array2)}) units = extract_units(ds) expected = attach_units(func(strip_units(ds), dim="x"), units) > actual = func(ds, dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4261: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:6799: in bfill new = _apply_over_vars_with_dim(bfill, self, dim=dim, limit=limit) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:220: in _apply_over_vars_with_dim ds[name] = func(var, dim=dim, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:446: in bfill return apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:414: in _bfill arr = push(arr, axis=axis, n=n) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:804: in push return _push(array, n, axis) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:792: in _push return bn.push(array, limit, axis) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___ TestDataArray.test_interp_reindex_like[int64-method_interp_like-coords] ____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = variant = 'coords', func = method_interp_like, dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, variant, func, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array = np.linspace(1, 2, 10).astype(dtype) * data_unit coord = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(-2, 2) + 0.5 data_array = xr.DataArray(array, coords={"x": x, "y": ("x", coord)}, dims="x") other = xr.DataArray(np.empty_like(new_x), coords={"x": new_x}, dims="x") units = extract_units(data_array) expected = attach_units(func(strip_units(data_array), other), units) > actual = func(data_array, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:2450: in interp_like ds = self._to_temp_dataset().interp_like( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___________________ TestDataset.test_interpolate_na[float64] ___________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = dtype = dtype('float64') @pytest.mark.xfail(reason="interpolate_na uses numpy.vectorize") def test_interpolate_na(self, dtype): array1 = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) array2 = ( np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) * unit_registry.Pa ) ds = xr.Dataset({"a": ("x", array1), "b": ("x", array2)}) units = extract_units(ds) expected = attach_units( strip_units(ds).interpolate_na(dim="x"), units, ) > actual = ds.interpolate_na(dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4449: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:6661: in interpolate_na new = _apply_over_vars_with_dim( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:220: in _apply_over_vars_with_dim ds[name] = func(var, dim=dim, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:363: in interp_na arr = apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2372: in __call__ return self._call_as_normal(*args, **kwargs) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2365: in _call_as_normal return self._vectorize_call(func=func, args=vargs) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2446: in _vectorize_call res = self._vectorize_call_with_signature(func, args) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2472: in _vectorize_call_with_signature args = tuple(asanyarray(arg) for arg in args) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2472: in args = tuple(asanyarray(arg) for arg in args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ____________________ TestDataset.test_interpolate_na[int64] ____________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = dtype = dtype('int64') @pytest.mark.xfail(reason="interpolate_na uses numpy.vectorize") def test_interpolate_na(self, dtype): array1 = ( np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * unit_registry.degK ) array2 = ( np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) * unit_registry.Pa ) ds = xr.Dataset({"a": ("x", array1), "b": ("x", array2)}) units = extract_units(ds) expected = attach_units( strip_units(ds).interpolate_na(dim="x"), units, ) > actual = ds.interpolate_na(dim="x") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4449: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:6661: in interpolate_na new = _apply_over_vars_with_dim( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:220: in _apply_over_vars_with_dim ds[name] = func(var, dim=dim, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:363: in interp_na arr = apply_ufunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:1266: in apply_ufunc return apply_dataarray_vfunc( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:312: in apply_dataarray_vfunc result_var = func(*data_vars) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/computation.py:821: in apply_variable_ufunc result_data = func(*input_data) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2372: in __call__ return self._call_as_normal(*args, **kwargs) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2365: in _call_as_normal return self._vectorize_call(func=func, args=vargs) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2446: in _vectorize_call res = self._vectorize_call_with_signature(func, args) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2472: in _vectorize_call_with_signature args = tuple(asanyarray(arg) for arg in args) /usr/lib64/python3.13/site-packages/numpy/lib/function_base.py:2472: in args = tuple(asanyarray(arg) for arg in args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _____ TestDataArray.test_computation_objects[float64-method_rolling-data] ______ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling, variant = 'data', dtype = dtype('float64') @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "y", bins=4), method("coarsen", y=2), method("rolling", y=3), pytest.param(method("rolling_exp", y=3), marks=requires_numbagg), method("weighted", xr.DataArray(data=np.linspace(0, 1, 10), dims="y")), ), ids=repr, ) def test_computation_objects(self, func, variant, dtype): if variant == "data": if func.name == "rolling_exp": pytest.xfail(reason="numbagg functions are not supported by pint") elif func.name == "rolling": > pytest.xfail( reason="numpy.lib.stride_tricks.as_strided converts to ndarray" ) E _pytest.outcomes.XFailed: numpy.lib.stride_tricks.as_strided converts to ndarray /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3848: XFailed ______ TestDataArray.test_computation_objects[int64-method_rolling-data] _______ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling, variant = 'data', dtype = dtype('int64') @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "y", bins=4), method("coarsen", y=2), method("rolling", y=3), pytest.param(method("rolling_exp", y=3), marks=requires_numbagg), method("weighted", xr.DataArray(data=np.linspace(0, 1, 10), dims="y")), ), ids=repr, ) def test_computation_objects(self, func, variant, dtype): if variant == "data": if func.name == "rolling_exp": pytest.xfail(reason="numbagg functions are not supported by pint") elif func.name == "rolling": > pytest.xfail( reason="numpy.lib.stride_tricks.as_strided converts to ndarray" ) E _pytest.outcomes.XFailed: numpy.lib.stride_tricks.as_strided converts to ndarray /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3848: XFailed __________________ TestDataset.test_to_stacked_array[float64] __________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = dtype = dtype('float64') @pytest.mark.xfail( reason="stacked dimension's labels have to be hashable, but is a numpy.array" ) def test_to_stacked_array(self, dtype): labels = range(5) * unit_registry.s arrays = { > name: np.linspace(0, 1, 10).astype(dtype) * unit_registry.m for name in labels } /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4764: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __hash__(self) -> int: self_base = self.to_base_units() if self_base.dimensionless: return hash(self_base.magnitude) > return hash((self_base.__class__, self_base.magnitude, self_base.units)) E TypeError: unhashable type: 'numpy.ndarray' /usr/lib/python3.13/site-packages/pint/facets/plain/quantity.py:291: TypeError ___________________ TestDataset.test_to_stacked_array[int64] ___________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = dtype = dtype('int64') @pytest.mark.xfail( reason="stacked dimension's labels have to be hashable, but is a numpy.array" ) def test_to_stacked_array(self, dtype): labels = range(5) * unit_registry.s arrays = { > name: np.linspace(0, 1, 10).astype(dtype) * unit_registry.m for name in labels } /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4764: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def __hash__(self) -> int: self_base = self.to_base_units() if self_base.dimensionless: return hash(self_base.magnitude) > return hash((self_base.__class__, self_base.magnitude, self_base.units)) E TypeError: unhashable type: 'numpy.ndarray' /usr/lib/python3.13/site-packages/pint/facets/plain/quantity.py:291: TypeError _________ TestDataset.test_interp_reindex[float64-method_interp-data] __________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp, variant = 'data', dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) expected = attach_units(func(strip_units(ds), x=new_x), units) > actual = func(ds, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ________ TestDataset.test_interp_reindex[float64-method_interp-coords] _________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp, variant = 'coords', dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) expected = attach_units(func(strip_units(ds), x=new_x), units) > actual = func(ds, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __________ TestDataset.test_interp_reindex[int64-method_interp-data] ___________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp, variant = 'data', dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) expected = attach_units(func(strip_units(ds), x=new_x), units) > actual = func(ds, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _________ TestDataset.test_interp_reindex[int64-method_interp-coords] __________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp, variant = 'coords', dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex"), ), ids=repr, ) def test_interp_reindex(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) expected = attach_units(func(strip_units(ds), x=new_x), units) > actual = func(ds, x=new_x) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ____ TestDataset.test_interp_reindex_like[float64-method_interp_like-data] _____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp_like, variant = 'data', dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) other = xr.Dataset({"a": ("x", np.empty_like(new_x))}, coords={"x": new_x}) expected = attach_units(func(strip_units(ds), other), units) > actual = func(ds, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ___ TestDataset.test_interp_reindex_like[float64-method_interp_like-coords] ____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp_like, variant = 'coords', dtype = dtype('float64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) other = xr.Dataset({"a": ("x", np.empty_like(new_x))}, coords={"x": new_x}) expected = attach_units(func(strip_units(ds), other), units) > actual = func(ds, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ______ TestPlots.test_units_in_line_plot_labels[coord_unit1-coord_attrs1] ______ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = coord_unit = , coord_attrs = {} @pytest.mark.parametrize( "coord_unit, coord_attrs", [ (1, {"units": "meter"}), pytest.param( unit_registry.m, {}, marks=pytest.mark.xfail(reason="indexes don't support units"), ), ], ) def test_units_in_line_plot_labels(self, coord_unit, coord_attrs): arr = np.linspace(1, 10, 3) * unit_registry.Pa coord_arr = np.linspace(1, 3, 3) * coord_unit x_coord = xr.DataArray(coord_arr, dims="x", attrs=coord_attrs) > da = xr.DataArray(data=arr, dims="x", coords={"x": x_coord}, name="pressure") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5658: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:456: in __init__ coords, dims = _infer_coords_and_dims(data.shape, coords, dims) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:188: in _infer_coords_and_dims new_coords[k] = new_coords[k].to_index_variable() /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:556: in to_index_variable return IndexVariable( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:2629: in __init__ self._data = PandasIndexingAdapter(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/indexing.py:1662: in __init__ self.array = safe_cast_to_index(array) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/indexes.py:469: in safe_cast_to_index index = pd.Index(np.asarray(array), **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _____ TestDataset.test_interp_reindex_like[int64-method_interp_like-data] ______ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp_like, variant = 'data', dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) other = xr.Dataset({"a": ("x", np.empty_like(new_x))}, coords={"x": new_x}) expected = attach_units(func(strip_units(ds), other), units) > actual = func(ds, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestPlots.test_units_in_slice_line_plot_labels_sel[coord_unit1-coord_attrs1] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = coord_unit = , coord_attrs = {} @pytest.mark.parametrize( "coord_unit, coord_attrs", [ (1, {"units": "meter"}), pytest.param( unit_registry.m, {}, marks=pytest.mark.xfail(reason="indexes don't support units"), ), ], ) def test_units_in_slice_line_plot_labels_sel(self, coord_unit, coord_attrs): > arr = xr.DataArray( name="var_a", data=np.array([[1, 2], [3, 4]]), coords=dict( a=("a", np.array([5, 6]) * coord_unit, coord_attrs), b=("b", np.array([7, 8]) * coord_unit, coord_attrs), ), dims=("a", "b"), ) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:456: in __init__ coords, dims = _infer_coords_and_dims(data.shape, coords, dims) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:188: in _infer_coords_and_dims new_coords[k] = new_coords[k].to_index_variable() /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:556: in to_index_variable return IndexVariable( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:2629: in __init__ self._data = PandasIndexingAdapter(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/indexing.py:1662: in __init__ self.array = safe_cast_to_index(array) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/indexes.py:469: in safe_cast_to_index index = pd.Index(np.asarray(array), **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ____ TestDataset.test_interp_reindex_like[int64-method_interp_like-coords] _____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_interp_like, variant = 'coords', dtype = dtype('int64') @pytest.mark.parametrize("variant", ("data", "coords")) @pytest.mark.parametrize( "func", ( pytest.param( method("interp_like"), marks=pytest.mark.xfail(reason="uses scipy") ), method("reindex_like"), ), ids=repr, ) def test_interp_reindex_like(self, func, variant, dtype): variants = { "data": (unit_registry.m, 1), "coords": (1, unit_registry.m), } data_unit, coord_unit = variants.get(variant) array1 = np.linspace(-1, 0, 10).astype(dtype) * data_unit array2 = np.linspace(0, 1, 10).astype(dtype) * data_unit y = np.arange(10) * coord_unit x = np.arange(10) new_x = np.arange(8) + 0.5 ds = xr.Dataset( {"a": ("x", array1), "b": ("x", array2)}, coords={"x": x, "y": ("x", y)} ) units = extract_units(ds) other = xr.Dataset({"a": ("x", np.empty_like(new_x))}, coords={"x": new_x}) expected = attach_units(func(strip_units(ds), other), units) > actual = func(ds, other) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4177: in interp_like return ds.interp( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4032: in interp variables[name] = missing.interp(var, var_indexers, method, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:632: in interp interped = interp_func( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:749: in interp_func return _interpnd(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:767: in _interpnd return _interp1d(var, x, new_x, func, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:755: in _interp1d rslt = func(x, var, assume_sorted=True, **kwargs)(np.ravel(new_x)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/missing.py:168: in __init__ self.f = interp1d( /usr/lib64/python3.13/site-packages/scipy/interpolate/_interpolate.py:494: in __init__ _Interpolator1D.__init__(self, x, y, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:56: in __init__ self._set_yi(yi, xi=xi, axis=axis) /usr/lib64/python3.13/site-packages/scipy/interpolate/_polyint.py:120: in _set_yi yi = np.asarray(yi) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError _ TestPlots.test_units_in_slice_line_plot_labels_isel[coord_unit1-coord_attrs1] _ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = coord_unit = , coord_attrs = {} @pytest.mark.parametrize( "coord_unit, coord_attrs", [ (1, {"units": "meter"}), pytest.param( unit_registry.m, {}, marks=pytest.mark.xfail(reason="pint.errors.UnitStrippedWarning"), ), ], ) def test_units_in_slice_line_plot_labels_isel(self, coord_unit, coord_attrs): arr = xr.DataArray( name="var_a", data=np.array([[1, 2], [3, 4]]), coords=dict( a=("x", np.array([5, 6]) * coord_unit, coord_attrs), b=("y", np.array([7, 8])), ), dims=("x", "y"), ) > arr.isel(x=0).plot(marker="o") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5712: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/accessor.py:48: in __call__ return dataarray_plot.plot(self._da, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/dataarray_plot.py:309: in plot return plotfunc(darray, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/plot/dataarray_plot.py:520: in line ax.set_title(darray._title_for_slice()) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4785: in _title_for_slice f"{dim} = {format_item(coord.values)}{_get_units_from_attrs(coord)}" /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataarray.py:786: in values return self.variable.values /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:540: in values return _as_array_or_item(self._data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:338: in _as_array_or_item data = np.asarray(data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ______ TestDataset.test_computation_objects[float64-data-method_rolling] _______ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling, variant = 'data', dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "x", bins=2), method("coarsen", x=2), pytest.param( method("rolling", x=3), marks=pytest.mark.xfail(reason="strips units") ), pytest.param( method("rolling_exp", x=3), marks=pytest.mark.xfail( reason="numbagg functions are not supported by pint" ), ), method("weighted", xr.DataArray(data=np.linspace(0, 1, 5), dims="y")), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) def test_computation_objects(self, func, variant, dtype): variants = { "data": ((unit_registry.degK, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit_registry.m, 1), "coords": ((1, 1), 1, unit_registry.m), } (unit1, unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(-5, 5, 4 * 5).reshape(4, 5).astype(dtype) * unit1 array2 = np.linspace(10, 20, 4 * 3).reshape(4, 3).astype(dtype) * unit2 x = np.arange(4) * dim_unit y = np.arange(5) * dim_unit z = np.arange(3) * dim_unit ds = xr.Dataset( data_vars={"a": (("x", "y"), array1), "b": (("x", "z"), array2)}, coords={"x": x, "y": y, "z": z, "y2": ("y", np.arange(5) * coord_unit)}, ) units = extract_units(ds) args = [] if func.name != "groupby" else ["y"] # Doesn't work with flox because pint doesn't implement # ufunc.reduceat or np.bincount # kwargs = {"engine": "numpy"} if "groupby" in func.name else {} kwargs = {} expected = attach_units(func(strip_units(ds)).mean(*args, **kwargs), units) > actual = func(ds).mean(*args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5360: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:177: in method return self._array_reduce( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:811: in _array_reduce return self._dataset_implementation( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:758: in _dataset_implementation reduced[key] = func(self.rollings[key], keep_attrs=keep_attrs, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:676: in _array_reduce return self._bottleneck_reduce( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:600: in _bottleneck_reduce values = func( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError ____ TestDataset.test_computation_objects[float64-data-method_rolling_exp] _____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling_exp, variant = 'data', dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "x", bins=2), method("coarsen", x=2), pytest.param( method("rolling", x=3), marks=pytest.mark.xfail(reason="strips units") ), pytest.param( method("rolling_exp", x=3), marks=pytest.mark.xfail( reason="numbagg functions are not supported by pint" ), ), method("weighted", xr.DataArray(data=np.linspace(0, 1, 5), dims="y")), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) def test_computation_objects(self, func, variant, dtype): variants = { "data": ((unit_registry.degK, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit_registry.m, 1), "coords": ((1, 1), 1, unit_registry.m), } (unit1, unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(-5, 5, 4 * 5).reshape(4, 5).astype(dtype) * unit1 array2 = np.linspace(10, 20, 4 * 3).reshape(4, 3).astype(dtype) * unit2 x = np.arange(4) * dim_unit y = np.arange(5) * dim_unit z = np.arange(3) * dim_unit ds = xr.Dataset( data_vars={"a": (("x", "y"), array1), "b": (("x", "z"), array2)}, coords={"x": x, "y": y, "z": z, "y2": ("y", np.arange(5) * coord_unit)}, ) units = extract_units(ds) args = [] if func.name != "groupby" else ["y"] # Doesn't work with flox because pint doesn't implement # ufunc.reduceat or np.bincount # kwargs = {"engine": "numpy"} if "groupby" in func.name else {} kwargs = {} > expected = attach_units(func(strip_units(ds)).mean(*args, **kwargs), units) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:874: in rolling_exp return rolling_exp.RollingExp(self, window, window_type) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = Size: 392B Dimensions: (x: 4, y: 5, z: 3) Coordinates: * x (x) int64 32B 0 1 2 3 * y ....0 -4.474 -3.947 -3.421 ... 3.947 4.474 5.0 b (x, z) float64 96B 10.0 10.91 11.82 12.73 ... 18.18 19.09 20.0 windows = {'x': 3}, window_type = 'span', min_weight = 0.0 def __init__( self, obj: T_DataWithCoords, windows: Mapping[Any, int | float], window_type: str = "span", min_weight: float = 0.0, ): if not module_available("numbagg"): > raise ImportError( "numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed" E ImportError: numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling_exp.py:81: ImportError ___ TestDataset.test_computation_objects[float64-coords-method_rolling_exp] ____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling_exp, variant = 'coords', dtype = dtype('float64') @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "x", bins=2), method("coarsen", x=2), pytest.param( method("rolling", x=3), marks=pytest.mark.xfail(reason="strips units") ), pytest.param( method("rolling_exp", x=3), marks=pytest.mark.xfail( reason="numbagg functions are not supported by pint" ), ), method("weighted", xr.DataArray(data=np.linspace(0, 1, 5), dims="y")), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) def test_computation_objects(self, func, variant, dtype): variants = { "data": ((unit_registry.degK, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit_registry.m, 1), "coords": ((1, 1), 1, unit_registry.m), } (unit1, unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(-5, 5, 4 * 5).reshape(4, 5).astype(dtype) * unit1 array2 = np.linspace(10, 20, 4 * 3).reshape(4, 3).astype(dtype) * unit2 x = np.arange(4) * dim_unit y = np.arange(5) * dim_unit z = np.arange(3) * dim_unit ds = xr.Dataset( data_vars={"a": (("x", "y"), array1), "b": (("x", "z"), array2)}, coords={"x": x, "y": y, "z": z, "y2": ("y", np.arange(5) * coord_unit)}, ) units = extract_units(ds) args = [] if func.name != "groupby" else ["y"] # Doesn't work with flox because pint doesn't implement # ufunc.reduceat or np.bincount # kwargs = {"engine": "numpy"} if "groupby" in func.name else {} kwargs = {} > expected = attach_units(func(strip_units(ds)).mean(*args, **kwargs), units) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:874: in rolling_exp return rolling_exp.RollingExp(self, window, window_type) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = Size: 392B Dimensions: (x: 4, y: 5, z: 3) Coordinates: * x (x) int64 32B 0 1 2 3 * y ....0 -4.474 -3.947 -3.421 ... 3.947 4.474 5.0 b (x, z) float64 96B 10.0 10.91 11.82 12.73 ... 18.18 19.09 20.0 windows = {'x': 3}, window_type = 'span', min_weight = 0.0 def __init__( self, obj: T_DataWithCoords, windows: Mapping[Any, int | float], window_type: str = "span", min_weight: float = 0.0, ): if not module_available("numbagg"): > raise ImportError( "numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed" E ImportError: numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling_exp.py:81: ImportError _______ TestDataset.test_computation_objects[int64-data-method_rolling] ________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling, variant = 'data', dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "x", bins=2), method("coarsen", x=2), pytest.param( method("rolling", x=3), marks=pytest.mark.xfail(reason="strips units") ), pytest.param( method("rolling_exp", x=3), marks=pytest.mark.xfail( reason="numbagg functions are not supported by pint" ), ), method("weighted", xr.DataArray(data=np.linspace(0, 1, 5), dims="y")), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) def test_computation_objects(self, func, variant, dtype): variants = { "data": ((unit_registry.degK, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit_registry.m, 1), "coords": ((1, 1), 1, unit_registry.m), } (unit1, unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(-5, 5, 4 * 5).reshape(4, 5).astype(dtype) * unit1 array2 = np.linspace(10, 20, 4 * 3).reshape(4, 3).astype(dtype) * unit2 x = np.arange(4) * dim_unit y = np.arange(5) * dim_unit z = np.arange(3) * dim_unit ds = xr.Dataset( data_vars={"a": (("x", "y"), array1), "b": (("x", "z"), array2)}, coords={"x": x, "y": y, "z": z, "y2": ("y", np.arange(5) * coord_unit)}, ) units = extract_units(ds) args = [] if func.name != "groupby" else ["y"] # Doesn't work with flox because pint doesn't implement # ufunc.reduceat or np.bincount # kwargs = {"engine": "numpy"} if "groupby" in func.name else {} kwargs = {} expected = attach_units(func(strip_units(ds)).mean(*args, **kwargs), units) > actual = func(ds).mean(*args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5360: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:177: in method return self._array_reduce( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:811: in _array_reduce return self._dataset_implementation( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:758: in _dataset_implementation reduced[key] = func(self.rollings[key], keep_attrs=keep_attrs, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:676: in _array_reduce return self._bottleneck_reduce( /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling.py:600: in _bottleneck_reduce values = func( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = t = None def __array__(self, t=None) -> np.ndarray: if HAS_NUMPY and isinstance(self._magnitude, np.ndarray): > warnings.warn( "The unit of the quantity is stripped when downcasting to ndarray.", UnitStrippedWarning, stacklevel=2, ) E pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. /usr/lib/python3.13/site-packages/pint/facets/numpy/quantity.py:118: UnitStrippedWarning During handling of the above exception, another exception occurred: self = typ = value = UnitStrippedWarning(msg='The unit of the quantity is stripped when downcasting to ndarray.') traceback = def __exit__(self, typ, value, traceback): if typ is None: try: next(self.gen) except StopIteration: return False else: try: raise RuntimeError("generator didn't stop") finally: self.gen.close() else: if value is None: # Need to force instantiation so we can reliably # tell if we get the same exception back value = typ() try: self.gen.throw(value) except StopIteration as exc: # Suppress StopIteration *unless* it's the same exception that # was passed to throw(). This prevents a StopIteration # raised inside the "with" statement from being suppressed. return exc is not value except RuntimeError as exc: # Don't re-raise the passed in exception. (issue27122) if exc is value: exc.__traceback__ = traceback return False # Avoid suppressing if a StopIteration exception # was passed to throw() and later wrapped into a RuntimeError # (see PEP 479 for sync generators; async generators also # have this behavior). But do this only if the exception wrapped # by the RuntimeError is actually Stop(Async)Iteration (see # issue29692). if ( isinstance(value, StopIteration) and exc.__cause__ is value ): value.__traceback__ = traceback return False raise except BaseException as exc: # only re-raise if it's *not* the exception that was # passed to throw(), because __exit__() must not raise # an exception unless __exit__() itself failed. But throw() # has to raise the exception to signal propagation, so this # fixes the impedance mismatch between the throw() protocol # and the __exit__() protocol. if exc is not value: raise > exc.__traceback__ = traceback E dataclasses.FrozenInstanceError: cannot assign to field '__traceback__' /usr/lib64/python3.13/contextlib.py:195: FrozenInstanceError __________________ TestVariable.test_timedelta64_valid_range ___________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 > ??? np_datetime.pyx:436: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 2517-08-01 00:00:00 np_datetime.pyx:252: OutOfBoundsDatetime The above exception was the direct cause of the following exception: self = @pytest.mark.xfail(reason="pandas issue 36615") @pytest.mark.filterwarnings("ignore:Converting non-nanosecond") def test_timedelta64_valid_range(self): data = np.timedelta64("200000", "D") pderror = pd.errors.OutOfBoundsTimedelta with pytest.raises(pderror, match=r"Out of bounds nanosecond"): > self.cls(["t"], [data]) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:327: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:1055: in cls return Variable(*args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:398: in __init__ dims=dims, data=as_compatible_data(data, fastpath=fastpath), attrs=attrs /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:320: in as_compatible_data data = _possibly_convert_objects(data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:234: in _possibly_convert_objects as_series = _as_nanosecond_precision(as_series) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:215: in _as_nanosecond_precision return duck_array_ops.astype(data, "timedelta64[ns]") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:239: in astype return data.astype(dtype, **kwargs) /usr/lib64/python3.13/site-packages/pandas/core/generic.py:6640: in astype new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors) /usr/lib64/python3.13/site-packages/pandas/core/internals/managers.py:430: in astype return self.apply( /usr/lib64/python3.13/site-packages/pandas/core/internals/managers.py:363: in apply applied = getattr(b, f)(**kwargs) /usr/lib64/python3.13/site-packages/pandas/core/internals/blocks.py:758: in astype new_values = astype_array_safe(values, dtype, copy=copy, errors=errors) /usr/lib64/python3.13/site-packages/pandas/core/dtypes/astype.py:237: in astype_array_safe new_values = astype_array(values, dtype, copy=copy) /usr/lib64/python3.13/site-packages/pandas/core/dtypes/astype.py:179: in astype_array values = values.astype(dtype, copy=copy) /usr/lib64/python3.13/site-packages/pandas/core/arrays/timedeltas.py:353: in astype res_values = astype_overflowsafe(self._ndarray, dtype, copy=False) np_datetime.pyx:358: in pandas._libs.tslibs.np_datetime.astype_overflowsafe ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pandas._libs.tslibs.np_datetime.OutOfBoundsTimedelta: Cannot convert 17280000000 seconds to timedelta64[ns] without overflow np_datetime.pyx:447: OutOfBoundsTimedelta During handling of the above exception, another exception occurred: self = @pytest.mark.xfail(reason="pandas issue 36615") @pytest.mark.filterwarnings("ignore:Converting non-nanosecond") def test_timedelta64_valid_range(self): data = np.timedelta64("200000", "D") pderror = pd.errors.OutOfBoundsTimedelta > with pytest.raises(pderror, match=r"Out of bounds nanosecond"): E AssertionError: Regex pattern did not match. E Regex: 'Out of bounds nanosecond' E Input: 'Cannot convert 17280000000 seconds to timedelta64[ns] without overflow' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:326: AssertionError _____ TestDataset.test_computation_objects[int64-data-method_rolling_exp] ______ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling_exp, variant = 'data', dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "x", bins=2), method("coarsen", x=2), pytest.param( method("rolling", x=3), marks=pytest.mark.xfail(reason="strips units") ), pytest.param( method("rolling_exp", x=3), marks=pytest.mark.xfail( reason="numbagg functions are not supported by pint" ), ), method("weighted", xr.DataArray(data=np.linspace(0, 1, 5), dims="y")), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) def test_computation_objects(self, func, variant, dtype): variants = { "data": ((unit_registry.degK, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit_registry.m, 1), "coords": ((1, 1), 1, unit_registry.m), } (unit1, unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(-5, 5, 4 * 5).reshape(4, 5).astype(dtype) * unit1 array2 = np.linspace(10, 20, 4 * 3).reshape(4, 3).astype(dtype) * unit2 x = np.arange(4) * dim_unit y = np.arange(5) * dim_unit z = np.arange(3) * dim_unit ds = xr.Dataset( data_vars={"a": (("x", "y"), array1), "b": (("x", "z"), array2)}, coords={"x": x, "y": y, "z": z, "y2": ("y", np.arange(5) * coord_unit)}, ) units = extract_units(ds) args = [] if func.name != "groupby" else ["y"] # Doesn't work with flox because pint doesn't implement # ufunc.reduceat or np.bincount # kwargs = {"engine": "numpy"} if "groupby" in func.name else {} kwargs = {} > expected = attach_units(func(strip_units(ds)).mean(*args, **kwargs), units) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:874: in rolling_exp return rolling_exp.RollingExp(self, window, window_type) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = Size: 392B Dimensions: (x: 4, y: 5, z: 3) Coordinates: * x (x) int64 32B 0 1 2 3 * y ... 160B -5 -4 -3 -3 -2 -2 -1 -1 0 0 0 0 1 1 2 2 3 3 4 5 b (x, z) int64 96B 10 10 11 12 13 14 15 16 17 18 19 20 windows = {'x': 3}, window_type = 'span', min_weight = 0.0 def __init__( self, obj: T_DataWithCoords, windows: Mapping[Any, int | float], window_type: str = "span", min_weight: float = 0.0, ): if not module_available("numbagg"): > raise ImportError( "numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed" E ImportError: numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling_exp.py:81: ImportError ____ TestDataset.test_computation_objects[int64-coords-method_rolling_exp] _____ [gw0] linux -- Python 3.13.0 /usr/bin/python3 self = func = method_rolling_exp, variant = 'coords', dtype = dtype('int64') @pytest.mark.parametrize( "func", ( method("groupby", "x"), method("groupby_bins", "x", bins=2), method("coarsen", x=2), pytest.param( method("rolling", x=3), marks=pytest.mark.xfail(reason="strips units") ), pytest.param( method("rolling_exp", x=3), marks=pytest.mark.xfail( reason="numbagg functions are not supported by pint" ), ), method("weighted", xr.DataArray(data=np.linspace(0, 1, 5), dims="y")), ), ids=repr, ) @pytest.mark.parametrize( "variant", ( "data", pytest.param( "dims", marks=pytest.mark.skip(reason="indexes don't support units") ), "coords", ), ) def test_computation_objects(self, func, variant, dtype): variants = { "data": ((unit_registry.degK, unit_registry.Pa), 1, 1), "dims": ((1, 1), unit_registry.m, 1), "coords": ((1, 1), 1, unit_registry.m), } (unit1, unit2), dim_unit, coord_unit = variants.get(variant) array1 = np.linspace(-5, 5, 4 * 5).reshape(4, 5).astype(dtype) * unit1 array2 = np.linspace(10, 20, 4 * 3).reshape(4, 3).astype(dtype) * unit2 x = np.arange(4) * dim_unit y = np.arange(5) * dim_unit z = np.arange(3) * dim_unit ds = xr.Dataset( data_vars={"a": (("x", "y"), array1), "b": (("x", "z"), array2)}, coords={"x": x, "y": y, "z": z, "y2": ("y", np.arange(5) * coord_unit)}, ) units = extract_units(ds) args = [] if func.name != "groupby" else ["y"] # Doesn't work with flox because pint doesn't implement # ufunc.reduceat or np.bincount # kwargs = {"engine": "numpy"} if "groupby" in func.name else {} kwargs = {} > expected = attach_units(func(strip_units(ds)).mean(*args, **kwargs), units) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:332: in __call__ return func(*all_args, **all_kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/common.py:874: in rolling_exp return rolling_exp.RollingExp(self, window, window_type) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = Size: 392B Dimensions: (x: 4, y: 5, z: 3) Coordinates: * x (x) int64 32B 0 1 2 3 * y ... 160B -5 -4 -3 -3 -2 -2 -1 -1 0 0 0 0 1 1 2 2 3 3 4 5 b (x, z) int64 96B 10 10 11 12 13 14 15 16 17 18 19 20 windows = {'x': 3}, window_type = 'span', min_weight = 0.0 def __init__( self, obj: T_DataWithCoords, windows: Mapping[Any, int | float], window_type: str = "span", min_weight: float = 0.0, ): if not module_available("numbagg"): > raise ImportError( "numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed" E ImportError: numbagg >= 0.2.1 is required for rolling_exp but currently numbagg is not installed /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/rolling_exp.py:81: ImportError ______________ TestVariableWithDask.test_timedelta64_valid_range _______________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 > ??? np_datetime.pyx:436: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 2517-08-01 00:00:00 np_datetime.pyx:252: OutOfBoundsDatetime The above exception was the direct cause of the following exception: self = @pytest.mark.xfail(reason="pandas issue 36615") @pytest.mark.filterwarnings("ignore:Converting non-nanosecond") def test_timedelta64_valid_range(self): data = np.timedelta64("200000", "D") pderror = pd.errors.OutOfBoundsTimedelta with pytest.raises(pderror, match=r"Out of bounds nanosecond"): > self.cls(["t"], [data]) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:327: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2268: in cls return Variable(*args, **kwargs).chunk() /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:398: in __init__ dims=dims, data=as_compatible_data(data, fastpath=fastpath), attrs=attrs /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:320: in as_compatible_data data = _possibly_convert_objects(data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:234: in _possibly_convert_objects as_series = _as_nanosecond_precision(as_series) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:215: in _as_nanosecond_precision return duck_array_ops.astype(data, "timedelta64[ns]") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:239: in astype return data.astype(dtype, **kwargs) /usr/lib64/python3.13/site-packages/pandas/core/generic.py:6640: in astype new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors) /usr/lib64/python3.13/site-packages/pandas/core/internals/managers.py:430: in astype return self.apply( /usr/lib64/python3.13/site-packages/pandas/core/internals/managers.py:363: in apply applied = getattr(b, f)(**kwargs) /usr/lib64/python3.13/site-packages/pandas/core/internals/blocks.py:758: in astype new_values = astype_array_safe(values, dtype, copy=copy, errors=errors) /usr/lib64/python3.13/site-packages/pandas/core/dtypes/astype.py:237: in astype_array_safe new_values = astype_array(values, dtype, copy=copy) /usr/lib64/python3.13/site-packages/pandas/core/dtypes/astype.py:179: in astype_array values = values.astype(dtype, copy=copy) /usr/lib64/python3.13/site-packages/pandas/core/arrays/timedeltas.py:353: in astype res_values = astype_overflowsafe(self._ndarray, dtype, copy=False) np_datetime.pyx:358: in pandas._libs.tslibs.np_datetime.astype_overflowsafe ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pandas._libs.tslibs.np_datetime.OutOfBoundsTimedelta: Cannot convert 17280000000 seconds to timedelta64[ns] without overflow np_datetime.pyx:447: OutOfBoundsTimedelta During handling of the above exception, another exception occurred: self = @pytest.mark.xfail(reason="pandas issue 36615") @pytest.mark.filterwarnings("ignore:Converting non-nanosecond") def test_timedelta64_valid_range(self): data = np.timedelta64("200000", "D") pderror = pd.errors.OutOfBoundsTimedelta > with pytest.raises(pderror, match=r"Out of bounds nanosecond"): E AssertionError: Regex pattern did not match. E Regex: 'Out of bounds nanosecond' E Input: 'Cannot convert 17280000000 seconds to timedelta64[ns] without overflow' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:326: AssertionError ________________ TestIndexVariable.test_timedelta64_valid_range ________________ [gw0] linux -- Python 3.13.0 /usr/bin/python3 > ??? np_datetime.pyx:436: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 2517-08-01 00:00:00 np_datetime.pyx:252: OutOfBoundsDatetime The above exception was the direct cause of the following exception: self = @pytest.mark.xfail(reason="pandas issue 36615") @pytest.mark.filterwarnings("ignore:Converting non-nanosecond") def test_timedelta64_valid_range(self): data = np.timedelta64("200000", "D") pderror = pd.errors.OutOfBoundsTimedelta with pytest.raises(pderror, match=r"Out of bounds nanosecond"): > self.cls(["t"], [data]) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:327: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2409: in cls return IndexVariable(*args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:2623: in __init__ super().__init__(dims, data, attrs, encoding, fastpath) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:398: in __init__ dims=dims, data=as_compatible_data(data, fastpath=fastpath), attrs=attrs /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:320: in as_compatible_data data = _possibly_convert_objects(data) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:234: in _possibly_convert_objects as_series = _as_nanosecond_precision(as_series) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:215: in _as_nanosecond_precision return duck_array_ops.astype(data, "timedelta64[ns]") /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:239: in astype return data.astype(dtype, **kwargs) /usr/lib64/python3.13/site-packages/pandas/core/generic.py:6640: in astype new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors) /usr/lib64/python3.13/site-packages/pandas/core/internals/managers.py:430: in astype return self.apply( /usr/lib64/python3.13/site-packages/pandas/core/internals/managers.py:363: in apply applied = getattr(b, f)(**kwargs) /usr/lib64/python3.13/site-packages/pandas/core/internals/blocks.py:758: in astype new_values = astype_array_safe(values, dtype, copy=copy, errors=errors) /usr/lib64/python3.13/site-packages/pandas/core/dtypes/astype.py:237: in astype_array_safe new_values = astype_array(values, dtype, copy=copy) /usr/lib64/python3.13/site-packages/pandas/core/dtypes/astype.py:179: in astype_array values = values.astype(dtype, copy=copy) /usr/lib64/python3.13/site-packages/pandas/core/arrays/timedeltas.py:353: in astype res_values = astype_overflowsafe(self._ndarray, dtype, copy=False) np_datetime.pyx:358: in pandas._libs.tslibs.np_datetime.astype_overflowsafe ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pandas._libs.tslibs.np_datetime.OutOfBoundsTimedelta: Cannot convert 17280000000 seconds to timedelta64[ns] without overflow np_datetime.pyx:447: OutOfBoundsTimedelta During handling of the above exception, another exception occurred: self = @pytest.mark.xfail(reason="pandas issue 36615") @pytest.mark.filterwarnings("ignore:Converting non-nanosecond") def test_timedelta64_valid_range(self): data = np.timedelta64("200000", "D") pderror = pd.errors.OutOfBoundsTimedelta > with pytest.raises(pderror, match=r"Out of bounds nanosecond"): E AssertionError: Regex pattern did not match. E Regex: 'Out of bounds nanosecond' E Input: 'Cannot convert 17280000000 seconds to timedelta64[ns] without overflow' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:326: AssertionError _____________ TestVariableWithDask.test_0d_object_array_with_list ______________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail def test_0d_object_array_with_list(self): > super().test_0d_object_array_with_list() /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2306: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:253: in test_0d_object_array_with_list assert_array_equal(x[0].data, listarray.squeeze()) /usr/lib64/python3.13/contextlib.py:85: in inner return func(*args, **kwds) /usr/lib/python3.13/site-packages/dask/array/core.py:1693: in __array__ x = self.compute() /usr/lib/python3.13/site-packages/dask/base.py:376: in compute (result,) = compute(self, traverse=False, **kwargs) /usr/lib/python3.13/site-packages/dask/base.py:664: in compute return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)]) /usr/lib/python3.13/site-packages/dask/array/core.py:1275: in finalize return concatenate3(results) /usr/lib/python3.13/site-packages/dask/array/core.py:5303: in concatenate3 chunks = chunks_from_arrays(arrays) /usr/lib/python3.13/site-packages/dask/array/core.py:5090: in chunks_from_arrays result.append(tuple(shape(deepfirst(a))[dim] for a in arrays)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .0 = > result.append(tuple(shape(deepfirst(a))[dim] for a in arrays)) E IndexError: tuple index out of range /usr/lib/python3.13/site-packages/dask/array/core.py:5090: IndexError __________________ TestVariableWithDask.test_array_interface ___________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 arg = dask.array name = 'argsort', args = (), kwargs = {} def _call_possibly_missing_method(arg, name, args, kwargs): try: > method = getattr(arg, name) E AttributeError: 'Array' object has no attribute 'argsort' /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/ops.py:193: AttributeError During handling of the above exception, another exception occurred: self = @pytest.mark.xfail def test_array_interface(self): # dask array does not have `argsort` > super().test_array_interface() /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:408: in test_array_interface assert_identical(v.argsort(), v.to_base_variable()) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/_typed_ops.py:711: in argsort return self._unary_op(ops.argsort, *args, **kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:2301: in _unary_op result = self.__array_wrap__(f(self.data, *args, **kwargs)) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/ops.py:214: in func return _call_possibly_missing_method(self, name, args, kwargs) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/ops.py:195: in _call_possibly_missing_method duck_array_ops.fail_on_dask_array_input(arg, func_name=name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ values = dask.array msg = '%r is not yet a valid method on dask arrays', func_name = 'argsort' def fail_on_dask_array_input(values, msg=None, func_name=None): if is_duck_dask_array(values): if msg is None: msg = "%r is not yet a valid method on dask arrays" if func_name is None: func_name = inspect.stack()[1][3] > raise NotImplementedError(msg % func_name) E NotImplementedError: 'argsort' is not yet a valid method on dask arrays /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:119: NotImplementedError _____________________ TestVariableWithDask.test_copy_index _____________________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = @pytest.mark.xfail def test_copy_index(self): > super().test_copy_index() /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2315: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def test_copy_index(self): midx = pd.MultiIndex.from_product( [["a", "b"], [1, 2], [-1, -2]], names=("one", "two", "three") ) v = self.cls("x", midx) for deep in [True, False]: w = v.copy(deep=deep) > assert isinstance(w._data, PandasIndexingAdapter) E assert False E + where False = isinstance(dask.array, PandasIndexingAdapter) E + where dask.array = Size: 64B\ndask.array._data /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:597: AssertionError ____________ TestVariableWithDask.test_pad[xr_arg0-np_arg0-median] _____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'median', xr_arg = {'x': (2, 1)}, np_arg = ((2, 1), (0, 0), (0, 0)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:899: in test_pad actual = v.pad(mode=mode, **xr_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:1226: in pad array = np.pad( /usr/lib/python3.13/site-packages/dask/array/core.py:1753: in __array_function__ return da_func(*args, **kwargs) /usr/lib/python3.13/site-packages/dask/array/creation.py:1275: in pad return pad_stats(array, pad_width, mode, stat_length) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ array = dask.array pad_width = ((2, 1), (0, 0), (0, 0)), mode = 'median' stat_length = [(4, 4), (3, 3), (2, 2)] def pad_stats(array, pad_width, mode, stat_length): """ Helper function for padding boundaries with statistics from the array. In cases where the padding requires computations of statistics from part or all of the array, this function helps compute those statistics as requested and then adds those statistics onto the boundaries of the array. """ if mode == "median": > raise NotImplementedError("`pad` does not support `mode` of `median`.") E NotImplementedError: `pad` does not support `mode` of `median`. /usr/lib/python3.13/site-packages/dask/array/creation.py:1141: NotImplementedError ____________ TestVariableWithDask.test_pad[xr_arg1-np_arg1-median] _____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'median', xr_arg = {'x': 1}, np_arg = ((1, 1), (0, 0), (0, 0)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:899: in test_pad actual = v.pad(mode=mode, **xr_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:1226: in pad array = np.pad( /usr/lib/python3.13/site-packages/dask/array/core.py:1753: in __array_function__ return da_func(*args, **kwargs) /usr/lib/python3.13/site-packages/dask/array/creation.py:1275: in pad return pad_stats(array, pad_width, mode, stat_length) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ array = dask.array pad_width = ((1, 1), (0, 0), (0, 0)), mode = 'median' stat_length = [(4, 4), (3, 3), (2, 2)] def pad_stats(array, pad_width, mode, stat_length): """ Helper function for padding boundaries with statistics from the array. In cases where the padding requires computations of statistics from part or all of the array, this function helps compute those statistics as requested and then adds those statistics onto the boundaries of the array. """ if mode == "median": > raise NotImplementedError("`pad` does not support `mode` of `median`.") E NotImplementedError: `pad` does not support `mode` of `median`. /usr/lib/python3.13/site-packages/dask/array/creation.py:1141: NotImplementedError ____________ TestVariableWithDask.test_pad[xr_arg2-np_arg2-median] _____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'median', xr_arg = {'y': (0, 3)}, np_arg = ((0, 0), (0, 3), (0, 0)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:899: in test_pad actual = v.pad(mode=mode, **xr_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:1226: in pad array = np.pad( /usr/lib/python3.13/site-packages/dask/array/core.py:1753: in __array_function__ return da_func(*args, **kwargs) /usr/lib/python3.13/site-packages/dask/array/creation.py:1275: in pad return pad_stats(array, pad_width, mode, stat_length) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ array = dask.array pad_width = ((0, 0), (0, 3), (0, 0)), mode = 'median' stat_length = [(4, 4), (3, 3), (2, 2)] def pad_stats(array, pad_width, mode, stat_length): """ Helper function for padding boundaries with statistics from the array. In cases where the padding requires computations of statistics from part or all of the array, this function helps compute those statistics as requested and then adds those statistics onto the boundaries of the array. """ if mode == "median": > raise NotImplementedError("`pad` does not support `mode` of `median`.") E NotImplementedError: `pad` does not support `mode` of `median`. /usr/lib/python3.13/site-packages/dask/array/creation.py:1141: NotImplementedError ____________ TestVariableWithDask.test_pad[xr_arg2-np_arg2-reflect] ____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'reflect', xr_arg = {'y': (0, 3)}, np_arg = ((0, 0), (0, 3), (0, 0)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:902: in test_pad assert_array_equal(actual, expected) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, Size: 192B dask.array return func(*args, **kwds) E AssertionError: E Arrays are not equal E E (shapes (4, 3, 2), (4, 6, 2) mismatch) E x: array([[[ 0, 1], E [ 2, 3], E [ 4, 5]],... E y: array([[[ 0, 1], E [ 2, 3], E [ 4, 5],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ____________ TestVariableWithDask.test_pad[xr_arg3-np_arg3-median] _____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'median', xr_arg = {'x': (3, 1), 'z': (2, 0)} np_arg = ((3, 1), (0, 0), (2, 0)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:899: in test_pad actual = v.pad(mode=mode, **xr_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:1226: in pad array = np.pad( /usr/lib/python3.13/site-packages/dask/array/core.py:1753: in __array_function__ return da_func(*args, **kwargs) /usr/lib/python3.13/site-packages/dask/array/creation.py:1275: in pad return pad_stats(array, pad_width, mode, stat_length) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ array = dask.array pad_width = ((3, 1), (0, 0), (2, 0)), mode = 'median' stat_length = [(4, 4), (3, 3), (2, 2)] def pad_stats(array, pad_width, mode, stat_length): """ Helper function for padding boundaries with statistics from the array. In cases where the padding requires computations of statistics from part or all of the array, this function helps compute those statistics as requested and then adds those statistics onto the boundaries of the array. """ if mode == "median": > raise NotImplementedError("`pad` does not support `mode` of `median`.") E NotImplementedError: `pad` does not support `mode` of `median`. /usr/lib/python3.13/site-packages/dask/array/creation.py:1141: NotImplementedError ____________ TestVariableWithDask.test_pad[xr_arg3-np_arg3-reflect] ____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'reflect', xr_arg = {'x': (3, 1), 'z': (2, 0)} np_arg = ((3, 1), (0, 0), (2, 0)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:902: in test_pad assert_array_equal(actual, expected) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, Size: 576B dask.array return func(*args, **kwds) E AssertionError: E Arrays are not equal E E (shapes (8, 3, 3), (8, 3, 4) mismatch) E x: array([[[19, 18, 19], E [21, 20, 21], E [23, 22, 23]],... E y: array([[[18, 19, 18, 19], E [20, 21, 20, 21], E [22, 23, 22, 23]],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ____________ TestVariableWithDask.test_pad[xr_arg4-np_arg4-median] _____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'median', xr_arg = {'x': (3, 1), 'z': 2} np_arg = ((3, 1), (0, 0), (2, 2)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:899: in test_pad actual = v.pad(mode=mode, **xr_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/variable.py:1226: in pad array = np.pad( /usr/lib/python3.13/site-packages/dask/array/core.py:1753: in __array_function__ return da_func(*args, **kwargs) /usr/lib/python3.13/site-packages/dask/array/creation.py:1275: in pad return pad_stats(array, pad_width, mode, stat_length) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ array = dask.array pad_width = ((3, 1), (0, 0), (2, 2)), mode = 'median' stat_length = [(4, 4), (3, 3), (2, 2)] def pad_stats(array, pad_width, mode, stat_length): """ Helper function for padding boundaries with statistics from the array. In cases where the padding requires computations of statistics from part or all of the array, this function helps compute those statistics as requested and then adds those statistics onto the boundaries of the array. """ if mode == "median": > raise NotImplementedError("`pad` does not support `mode` of `median`.") E NotImplementedError: `pad` does not support `mode` of `median`. /usr/lib/python3.13/site-packages/dask/array/creation.py:1141: NotImplementedError ____________ TestVariableWithDask.test_pad[xr_arg4-np_arg4-reflect] ____________ [gw1] linux -- Python 3.13.0 /usr/bin/python3 self = mode = 'reflect', xr_arg = {'x': (3, 1), 'z': 2} np_arg = ((3, 1), (0, 0), (2, 2)) @pytest.mark.parametrize( "mode", [ "mean", pytest.param( "median", marks=pytest.mark.xfail(reason="median is not implemented by Dask"), ), pytest.param( "reflect", marks=pytest.mark.xfail(reason="dask.array.pad bug") ), "edge", "linear_ramp", "maximum", "minimum", "symmetric", "wrap", ], ) @pytest.mark.parametrize("xr_arg, np_arg", _PAD_XR_NP_ARGS) @pytest.mark.filterwarnings( r"ignore:dask.array.pad.+? converts integers to floats." ) def test_pad(self, mode, xr_arg, np_arg): > super().test_pad(mode, xr_arg, np_arg) /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:902: in test_pad assert_array_equal(actual, expected) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, Size: 576B dask.array return func(*args, **kwds) E AssertionError: E Arrays are not equal E E (shapes (8, 3, 3), (8, 3, 6) mismatch) E x: array([[[19, 18, 19], E [21, 20, 21], E [23, 22, 23]],... E y: array([[[18, 19, 18, 19, 18, 19], E [20, 21, 20, 21, 20, 21], E [22, 23, 22, 23, 22, 23]],... /usr/lib64/python3.13/contextlib.py:85: AssertionError =============================== warnings summary =============================== tests/test_backends_datatree.py::TestZarrDatatreeIO::test_to_zarr_zip_store :848: RuntimeWarning: deallocating CachingFileManager(, '/tmp/pytest-of-mockbuild/pytest-0/popen-gw1/test_netcdf_encoding0/test.nc', mode='r', kwargs={'clobber': True, 'diskless': False, 'persist': False, 'format': 'NETCDF4'}, manager_id='80459b63-0cd8-4f22-99fc-f6bdd45d1181'), but file is not already closed. This may indicate a bug. tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] tests/test_backends.py::TestNetCDF4ViaDaskData::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] tests/test_backends.py::TestNetCDF4ViaDaskData::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/backends/netCDF4_.py:538: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 255 to int8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype) will give the desired result (the cast overflows). nc4_var = self.ds.createVariable(**default_args) tests/test_backends.py::TestZarrDictStore::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] /usr/lib/python3.13/site-packages/zarr/util.py:322: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 255 to int8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype) will give the desired result (the cast overflows). fill_value = np.array(fill_value, dtype=dtype)[()] tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False] tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_coding_times.py:1241: UserWarning: Converting non-nanosecond precision datetime values to nanosecond precision. This behavior can eventually be relaxed in xarray, as it is an artifact from pandas which is now beginning to support non-nanosecond precision values. This warning is caused by passing non-nanosecond np.datetime64 or np.timedelta64 values to the DataArray or Variable constructor; it can be silenced by converting the values to nanosecond precision ahead of time. var = Variable(["time"], times, encoding=encoding) tests/test_computation.py::test_unified_dim_sizes /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/namedarray/core.py:514: UserWarning: Duplicate dimension names present: dimensions {'x'} appear more than once in dims=('x', 'x'). We do not yet support duplicate dimension names, but we do allow initial construction of the object. We recommend you rename the dims immediately to become distinct, as most xarray functionality is likely to fail silently if you do not. To rename the dimensions you will need to set the ``.dims`` attribute of each variable, ``e.g. var.dims=('x0', 'x1')``. warnings.warn( tests/test_conventions.py::TestEncodeCFVariable::test_missing_fillvalue /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/variables.py:652: RuntimeWarning: invalid value encountered in cast data = data.astype(dtype=dtype) tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype0-create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data] tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype1-create_unsigned_masked_scaled_data-create_encoded_unsigned_masked_scaled_data] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/coding/variables.py:540: DeprecationWarning: NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of -1 to uint8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype) will give the desired result (the cast overflows). new_fill = unsigned_dtype.type(attrs["_FillValue"]) tests/test_dask.py: 12 warnings tests/test_units.py: 10 warnings /usr/lib64/python3.13/site-packages/numpy/core/numeric.py:407: RuntimeWarning: invalid value encountered in cast multiarray.copyto(res, fill_value, casting='unsafe') tests/test_groupby.py::test_groupby_drops_nans /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/dataset.py:4744: UserWarning: No index created for dimension id because variable id is not a coordinate. To create an index for id, please first call `.set_coords('id')` on this object. warnings.warn( tests/test_dataset.py::TestDataset::test_to_and_from_dict_with_nan_nat[array] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataset.py:5053: UserWarning: Converting non-nanosecond precision datetime values to nanosecond precision. This behavior can eventually be relaxed in xarray, as it is an artifact from pandas which is now beginning to support non-nanosecond precision values. This warning is caused by passing non-nanosecond np.datetime64 or np.timedelta64 values to the DataArray or Variable constructor; it can be silenced by converting the values to nanosecond precision ahead of time. roundtripped = Dataset.from_dict(ds.to_dict(data=data)) tests/test_dataset.py: 1 warning tests/test_rolling.py: 36 warnings /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/duck_array_ops.py:239: RuntimeWarning: invalid value encountered in cast return data.astype(dtype, **kwargs) tests/test_rolling.py::TestDataArrayRolling::test_rolling_wrapped_dask_nochunk[True] tests/test_rolling.py::TestDataArrayRolling::test_rolling_wrapped_dask_nochunk[None] /usr/lib/python3.13/site-packages/dask/array/chunk.py:278: RuntimeWarning: invalid value encountered in cast return x.astype(astype_dtype, **kwargs) tests/test_treenode.py::TestFamilyTree::test_ancestors tests/test_treenode.py::TestAncestry::test_ancestors /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/treenode.py:273: DeprecationWarning: `ancestors` has been deprecated, and in the future will raise an error.Please use `parents`. Example: `tuple(reversed(node.parents))` warn( tests/test_treenode.py::TestAncestry::test_lineage /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/treenode.py:255: DeprecationWarning: `lineage` has been deprecated, and in the future will raise an error.Please use `parents` from now on. warn( tests/test_treenode.py::TestAncestry::test_lineage /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/core/treenode.py:243: DeprecationWarning: `iter_lineage` has been deprecated, and in the future will raise an error.Please use `parents` from now on. warn( tests/test_units.py::TestDataArray::test_missing_value_filling[int64-method_ffill] tests/test_units.py::TestDataArray::test_missing_value_filling[int64-method_bfill] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2766: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py: 15 warnings /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2803: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py::TestDataArray::test_dropna[int64] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2831: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py::TestDataArray::test_isin[int64-no_unit] tests/test_units.py::TestDataArray::test_isin[int64-dimensionless] tests/test_units.py::TestDataArray::test_isin[int64-incompatible_unit] tests/test_units.py::TestDataArray::test_isin[int64-compatible_unit] tests/test_units.py::TestDataArray::test_isin[int64-identical_unit] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2856: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py::TestDataArray::test_isin[int64-no_unit] tests/test_units.py::TestDataArray::test_isin[int64-dimensionless] tests/test_units.py::TestDataArray::test_isin[int64-incompatible_unit] tests/test_units.py::TestDataArray::test_isin[int64-compatible_unit] tests/test_units.py::TestDataArray::test_isin[int64-identical_unit] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2861: RuntimeWarning: invalid value encountered in cast raw_values = np.array([1.4, np.nan, 2.3]).astype(dtype) tests/test_units.py::TestDataset::test_missing_value_filling[int64-method_ffill] tests/test_units.py::TestDataset::test_missing_value_filling[int64-method_bfill] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4249: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py::TestDataset::test_missing_value_filling[int64-method_ffill] tests/test_units.py::TestDataset::test_missing_value_filling[int64-method_bfill] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4253: RuntimeWarning: invalid value encountered in cast np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) tests/test_units.py: 15 warnings /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4292: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py: 15 warnings /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4296: RuntimeWarning: invalid value encountered in cast np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) tests/test_units.py::TestDataset::test_dropna[int64] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4322: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py::TestDataset::test_dropna[int64] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4326: RuntimeWarning: invalid value encountered in cast np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) tests/test_units.py::TestDataset::test_isin[int64-no_unit] tests/test_units.py::TestDataset::test_isin[int64-dimensionless] tests/test_units.py::TestDataset::test_isin[int64-incompatible_unit] tests/test_units.py::TestDataset::test_isin[int64-compatible_unit] tests/test_units.py::TestDataset::test_isin[int64-same_unit] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4350: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py::TestDataset::test_isin[int64-no_unit] tests/test_units.py::TestDataset::test_isin[int64-dimensionless] tests/test_units.py::TestDataset::test_isin[int64-incompatible_unit] tests/test_units.py::TestDataset::test_isin[int64-compatible_unit] tests/test_units.py::TestDataset::test_isin[int64-same_unit] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4354: RuntimeWarning: invalid value encountered in cast np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) tests/test_units.py::TestDataset::test_isin[int64-no_unit] tests/test_units.py::TestDataset::test_isin[int64-dimensionless] tests/test_units.py::TestDataset::test_isin[int64-incompatible_unit] tests/test_units.py::TestDataset::test_isin[int64-compatible_unit] tests/test_units.py::TestDataset::test_isin[int64-same_unit] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4359: RuntimeWarning: invalid value encountered in cast raw_values = np.array([1.4, np.nan, 2.3]).astype(dtype) tests/test_units.py::TestDataset::test_interpolate_na[int64] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4435: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) tests/test_units.py::TestDataset::test_interpolate_na[int64] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4439: RuntimeWarning: invalid value encountered in cast np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) tests/test_units.py::TestDataset::test_combine_first[int64-data-no_unit] tests/test_units.py::TestDataset::test_combine_first[int64-data-dimensionless] tests/test_units.py::TestDataset::test_combine_first[int64-data-incompatible_unit] tests/test_units.py::TestDataset::test_combine_first[int64-data-compatible_unit] tests/test_units.py::TestDataset::test_combine_first[int64-data-same_unit] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4484: RuntimeWarning: invalid value encountered in cast np.array([1.4, np.nan, 2.3, np.nan, np.nan, 9.1]).astype(dtype) * data_unit tests/test_units.py::TestDataset::test_combine_first[int64-data-no_unit] tests/test_units.py::TestDataset::test_combine_first[int64-data-dimensionless] tests/test_units.py::TestDataset::test_combine_first[int64-data-incompatible_unit] tests/test_units.py::TestDataset::test_combine_first[int64-data-compatible_unit] tests/test_units.py::TestDataset::test_combine_first[int64-data-same_unit] /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4487: RuntimeWarning: invalid value encountered in cast np.array([4.3, 9.8, 7.5, np.nan, 8.2, np.nan]).astype(dtype) * data_unit tests/test_variable.py::TestIndexVariable::test_to_index_multiindex_level /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2422: FutureWarning: the `pandas.MultiIndex` object(s) passed as 'x' coordinate(s) or data variable(s) will no longer be implicitly promoted and wrapped into multiple indexed coordinates in the future (i.e., one coordinate for each multi-index level + one dimension coordinate). If you want to keep this behavior, you need to first wrap it explicitly using `mindex_coords = xarray.Coordinates.from_pandas_multiindex(mindex_obj, 'dim')` and pass it as coordinates, e.g., `xarray.Dataset(coords=mindex_coords)`, `dataset.assign_coords(mindex_coords)` or `dataarray.assign_coords(mindex_coords)`. ds = Dataset(coords={"x": midx}) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =================================== XPASSES ==================================== =========================== short test summary info ============================ SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_array_api.py:9: could not import 'array_api_strict': No module named 'array_api_strict' SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cupy.py:9: could not import 'cupy': No module named 'cupy' SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_distributed.py:18: could not import 'distributed': No module named 'distributed' SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_sparse.py:20: could not import 'sparse': No module named 'sparse' SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_strategies.py:8: could not import 'hypothesis': No module named 'hypothesis' SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:4347: could not import 'aiobotocore': No module named 'aiobotocore' SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:4811: requires pydap.client SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:4844: requires pydap.client SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:4853: requires pydap.client SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:5416: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:5564: requires h5netcdf SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:5646: netcdf-c>4.8.1 adds the _ARRAY_DIMENSIONS attribute SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends_datatree.py:22: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends_datatree.py:30: requires h5netcdf SKIPPED [18] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1031: requires iris SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1968: https://github.com/Unidata/netcdf4-python/issues/1195 SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2049: caching behavior differs for dask SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3042: requires zarr version 3 SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3092: requires zarr version 3 SKIPPED [12] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:899: float32 will be treated as float64 in zarr SKIPPED [8] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_coarsen.py:245: These parameters lead to all-NaN slices SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:345: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:353: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:381: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:387: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:420: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:439: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:448: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:473: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:479: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:514: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:519: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:531: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:539: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:570: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:576: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:581: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:590: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:606: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:630: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:642: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:656: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:720: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:759: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:769: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:797: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:812: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:830: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:839: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:851: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:862: requires zarr version 3 SKIPPED [24] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:877: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:982: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:992: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1007: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1042: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1083: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1106: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1119: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1144: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1161: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1184: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1190: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1197: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1203: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1210: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1225: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1247: requires zarr version 3 SKIPPED [9] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2110: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2123: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2137: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2141: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2155: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2173: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2217: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2239: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2258: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2266: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2282: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2367: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2373: requires zarr version 3 SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2397: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2448: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2460: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2468: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2489: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2493: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2496: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2499: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2508: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2518: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2529: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2539: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2546: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2555: requires zarr version 3 SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2567: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2577: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2600: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2616: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2643: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2663: requires zarr version 3 SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2700: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2710: requires zarr version 3 SKIPPED [108] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2717: requires zarr version 3 SKIPPED [9] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2761: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2774: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2818: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2894: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2910: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2921: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2930: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2940: requires zarr version 3 SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2954: requires zarr version 3 SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2970: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:2980: requires zarr version 3 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3309: requires zarr version 3 SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3348: could not import 'aiobotocore': No module named 'aiobotocore' SKIPPED [13] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_coding_times.py:1043: Nanosecond frequency is not valid for cftime dates. SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3401: cannot pickle file objects SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3405: cannot pickle file objects SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:345: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:353: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:381: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:387: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:420: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:439: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:448: requires h5netcdf SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:459: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:473: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:479: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:514: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:519: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:531: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:539: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:570: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:576: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:581: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:590: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:606: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:623: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:630: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:642: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:656: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:720: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:759: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:769: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:797: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:812: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:830: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:839: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:851: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:862: requires h5netcdf SKIPPED [24] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:877: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:982: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:992: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1007: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1042: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1083: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1106: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1119: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1144: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1152: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1161: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1184: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1190: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1197: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1203: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1210: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1219: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1225: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1236: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1247: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1264: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1329: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1354: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1376: requires h5netcdf SKIPPED [9] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1387: requires h5netcdf SKIPPED [9] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1408: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1421: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1439: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1445: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1472: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1479: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1498: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1518: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1541: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1552: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1560: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1577: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1615: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1629: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1644: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1670: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1682: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1706: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1720: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1751: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:1794: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3566: requires h5netcdf SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3573: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3585: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3594: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3608: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3616: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3626: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3669: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3720: requires h5netcdf SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3734: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3748: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3771: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3794: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3812: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3822: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3873: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3877: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:251: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3902: requires h5netcdf SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3911: requires h5netcdf SKIPPED [64] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_backends.py:3978: Flaky test which can cause the worker to crash (so don't xfail). Very open to contributions fixing this SKIPPED [18] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cftime_offsets.py:1614: only relevant for pandas lt 2.2 SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cftime_offsets.py:1639: only relevant for pandas lt 2.2 SKIPPED [12] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cftime_offsets.py:1652: only relevant for pandas lt 2.2 SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cftime_offsets.py:1668: only relevant for pandas lt 2.2 SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cftime_offsets.py:1682: only for pandas lt 2.2 SKIPPED [11] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cftime_offsets.py:1698: only for pandas lt 2.2 SKIPPED [16] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_cftime_offsets.py:1724: requires pandas>=3.0.0.dev0 SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_conventions.py:488: cannot roundtrip coordinates yet for CFEncodedInMemoryStore SKIPPED [3] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dtypes.py:128: requires array_api_strict SKIPPED [16] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_duck_array_ops.py:555: dask does not compute object-typed array SKIPPED [16] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_duck_array_ops.py:549: numpy does not support this SKIPPED [60] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_duck_array_ops.py:644: numpy's argmin (not nanargmin) does not handle object-dtype SKIPPED [36] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_duck_array_ops.py:646: numpy's nanargmin raises ValueError for all nan axis SKIPPED [80] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_duck_array_ops.py:637: dim not in this test SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:3492: requires sparse SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:3505: requires sparse SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:4441: requires numexpr SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_formatting.py:1111: Default numpy's dtypes vary according to OS SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:6596: requires iris SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:6666: requires iris SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:6748: requires iris SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:6780: requires iris SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:6817: requires iris SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:6835: requires iris SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:7079: requires sparse SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataarray.py:7095: requires cupy SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_groupby.py:1195: requires flox SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataset.py:3839: requires sparse SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataset.py:4819: requires sparse SKIPPED [8] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_groupby.py:2534: requires flox SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_groupby.py:2557: Skipped SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_groupby.py:2594: requires flox SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataset.py:6643: requires numexpr SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataset.py:7370: requires sparse SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_dataset.py:7385: requires cupy SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:1325: Skipped SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_missing.py:440: requires numbagg>=0.4.0 SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_namedarray.py:356: could not import 'array_api_strict': No module named 'array_api_strict' SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_parallelcompat.py:164: requires dask not to be installed SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2117: does not make sense for surface plots SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2121: does not make sense for surface plots SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2128: does not make sense for surface plots SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2132: does not make sense for surface plots SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2136: does not make sense for surface plots SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2140: does not make sense for surface plots SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2981: nc_time_axis is not installed SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2984: nc_time_axis is not installed SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:2987: nc_time_axis is not installed SKIPPED [32] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_rolling.py:435: requires numbagg>=0.4.0 SKIPPED [8] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_rolling.py:449: requires numbagg>=0.4.0 SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_rolling.py:471: requires numbagg>=0.4.0 SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_plot.py:3213: requires cartopy SKIPPED [32] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_rolling.py:739: std with window == 1 is unstable in bottleneck SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:897: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:965: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1031: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1135: indexes don't support units SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1225: indexes don't support units SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1261: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1306: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1349: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:1751: behavior of identical is undecided SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2013: rank not implemented for non-ndarray SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2279: indexes don't support units SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2313: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2345: calling np.argmax as a function on xarray objects is not supported SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2345: calling np.argmin as a function on xarray objects is not supported SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2345: median does not work with dataarrays yet SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_rolling.py:835: requires numbagg>=0.4.0 SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_rolling.py:842: requires numbagg>=0.4.0 SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:373: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:406: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:448: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:552: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2992: indexes don't support units SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:2992: the behavior of identical is undecided SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:714: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3069: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:791: indexes don't support units SKIPPED [28] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3169: indexes don't support units SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3374: indexes don't support units SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3284: indexes don't support units SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3329: indexes don't support units SKIPPED [16] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3894: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3957: indexes don't support units SKIPPED [4] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4032: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3498: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3574: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3645: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3669: rank not implemented for non-ndarray SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3708: indexes don't support units SKIPPED [16] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3767: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4454: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3821: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4519: indexes don't support units SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4519: behaviour of identical is unclear SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:3821: requires numbagg>=0.4.0 SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4612: indexes don't support units SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4709: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4782: rank not implemented for non-ndarray SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4850: indexes don't support units SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4903: indexes don't support units SKIPPED [30] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:4956: indexes don't support units SKIPPED [6] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5009: indexes don't support units SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5365: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5407: indexes don't support units SKIPPED [32] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5464: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5137: indexes don't support units SKIPPED [10] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5551: indexes don't support units SKIPPED [20] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5212: indexes don't support units SKIPPED [24] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5252: indexes don't support units SKIPPED [12] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_units.py:5305: indexes don't support units SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2506: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2510: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2514: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2518: unconditional skip SKIPPED [45] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2522: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2541: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2545: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2549: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2553: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2557: unconditional skip SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2561: unconditional skip SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2894: requires sparse SKIPPED [2] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2908: requires cupy SKIPPED [72] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_weighted.py:298: `method` argument is not currently exposed SKIPPED [1] ../BUILDROOT/usr/lib/python3.13/site-packages/xarray/tests/test_variable.py:2400: requires sparse XFAIL tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestNetCDF4ViaDaskData::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestNetCDF4ViaDaskData::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestZarrDictStore::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestZarrDirectoryStore::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestZarrWriteEmpty::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestScipyInMemoryData::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestScipyInMemoryData::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestScipyFileObject::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestScipyFileObject::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestScipyFilePath::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestScipyFilePath::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestNetCDF3ViaNetCDF4Data::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestNetCDF3ViaNetCDF4Data::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_combine.py::TestNestedCombine::test_nested_concat_too_many_dims_at_once XFAIL tests/test_backends.py::TestNetCDF4ClassicViaNetCDF4Data::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestNetCDF4ClassicViaNetCDF4Data::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_backends.py::TestGenericNetCDFData::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype0-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_conventions.py::TestCFEncodedDataStore::test_roundtrip_mask_and_scale[dtype1-create_bad_unsigned_masked_scaled_data-create_bad_encoded_unsigned_masked_scaled_data] - Bad _Unsigned attribute. XFAIL tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_2D - Currently pandas with pyarrow installed will return a `string[pyarrow]` type, which causes the `y` column to have a different type depending on whether pyarrow is installed XFAIL tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_2D_set_index XFAIL tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_not_daskarray - Currently pandas with pyarrow installed will return a `string[pyarrow]` type, which causes the index to have a different type depending on whether pyarrow is installed XFAIL tests/test_datatree_mapping.py::TestMapOverSubTree::test_return_inconsistent_number_of_results XFAIL tests/test_datatree_mapping.py::TestMapOverSubTree::test_trees_with_different_node_names XFAIL tests/test_datatree_mapping.py::TestMapOverSubTree::test_error_contains_path_of_offending_node - probably some bug in pytests handling of exception notes XFAIL tests/test_datatree_mapping.py::TestMapOverSubTreeInplace::test_map_over_subtree_inplace XFAIL tests/test_dataarray.py::TestDataArray::test_astype_subok - reason: DataArray cannot be backed yet by a subclasses of np.ndarray XFAIL tests/test_dataarray.py::TestDataArray::test_copy_coords[False-expected_orig1] XFAIL tests/test_dataarray.py::TestReduce1D::test_idxmin[True-datetime] - reason: dask operation 'argmin' breaks when dtype is datetime64 (M) XFAIL tests/test_dataarray.py::TestReduce1D::test_idxmax[True-datetime] - reason: dask operation 'argmax' breaks when dtype is datetime64 (M) XFAIL tests/test_dataarray.py::TestReduce2D::test_idxmin[dask-datetime] - reason: dask operation 'argmin' breaks when dtype is datetime64 (M) XFAIL tests/test_dataarray.py::TestReduce2D::test_idxmax[dask-datetime] - reason: dask operation 'argmax' breaks when dtype is datetime64 (M) XFAIL tests/test_dataset.py::TestDataset::test_copy_coords[False-expected_orig1] XFAIL tests/test_interp.py::test_datetime[2000-01-01T12:00-0.5] XFAIL tests/test_datatree.py::TestGetItem::test_getitem_multiple_data_variables - Should be deprecated in favour of .subset XFAIL tests/test_datatree.py::TestGetItem::test_getitem_dict_like_selection_access_to_dataset - Indexing needs to return whole tree (GH https://github.com/xarray-contrib/datatree/issues/77) XFAIL tests/test_datatree.py::TestCopy::test_copy_with_data - data argument not yet implemented XFAIL tests/test_datatree.py::TestSetItem::test_setitem_dataset_on_this_node - assigning Datasets doesn't yet create new nodes XFAIL tests/test_datatree.py::TestSetItem::test_setitem_dataset_as_new_node - assigning Datasets doesn't yet create new nodes XFAIL tests/test_datatree.py::TestSetItem::test_setitem_dataset_as_new_node_requiring_intermediate_nodes - assigning Datasets doesn't yet create new nodes XFAIL tests/test_datatree.py::TestTreeFromDict::test_roundtrip_unnamed_root XFAIL tests/test_missing.py::test_interpolate_na_2d[None] XFAIL tests/test_namedarray.py::TestNamedArray::test_init[expected1] - NamedArray only supports array-like objects XFAIL tests/test_plot.py::TestSurface::test_dates_are_concise - Failing inside matplotlib. Should probably be fixed upstream because other plot functions can handle it. Remove this test when it works, already in Common2dMixin XFAIL tests/test_units.py::test_replication_full_like_dataarray[float64-coords] - can't copy quantity into non-quantity XFAIL tests/test_units.py::test_replication_full_like_dataarray[int64-coords] - can't copy quantity into non-quantity XFAIL tests/test_units.py::test_replication_full_like_dataset[float64-coords] - can't copy quantity into non-quantity XFAIL tests/test_units.py::test_replication_full_like_dataset[int64-coords] - can't copy quantity into non-quantity XFAIL tests/test_units.py::TestDataArray::test_bivariate_ufunc[float64-compatible_unit] - pint converts to the wrong units XFAIL tests/test_units.py::TestDataArray::test_bivariate_ufunc[int64-compatible_unit] - pint converts to the wrong units XFAIL tests/test_units.py::TestDataArray::test_searchsorted[float64-function_searchsorted-no_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[float64-function_searchsorted-dimensionless] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[float64-function_searchsorted-incompatible_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[float64-function_searchsorted-compatible_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[float64-function_searchsorted-identical_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[int64-function_searchsorted-no_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[int64-function_searchsorted-dimensionless] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[int64-function_searchsorted-incompatible_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[int64-function_searchsorted-compatible_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_searchsorted[int64-function_searchsorted-identical_unit] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[float64-no_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[float64-dimensionless-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[float64-incompatible_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[float64-compatible_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[float64-identical_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::test_align_dataarray[float64-10-coords-no_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[float64-10-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[int64-no_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::test_align_dataarray[float64-10-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[float64-10-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[int64-dimensionless-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::test_align_dataarray[float64-10-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[float64-value1-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[int64-incompatible_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::test_align_dataarray[float64-value1-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[float64-value1-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[float64-value1-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[int64-compatible_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::test_align_dataarray[int64-10-coords-no_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_numpy_methods_with_args[int64-identical_unit-function_clip] - xarray does not implement __array_function__ XFAIL tests/test_units.py::test_align_dataarray[int64-10-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[int64-10-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[int64-10-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[int64-10-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[int64-value1-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[int64-value1-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[int64-value1-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataarray[int64-value1-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[float64-10-coords-no_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[float64-10-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_missing_value_filling[float64-method_ffill] - ffill and bfill lose units in data XFAIL tests/test_units.py::test_align_dataset[float64-10-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[float64-10-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_missing_value_filling[float64-method_bfill] - ffill and bfill lose units in data XFAIL tests/test_units.py::test_align_dataset[float64-10-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_missing_value_filling[int64-method_ffill] - ffill and bfill lose units in data XFAIL tests/test_units.py::test_align_dataset[float64-value1-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[float64-value1-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[float64-value1-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_missing_value_filling[int64-method_bfill] - ffill and bfill lose units in data XFAIL tests/test_units.py::test_align_dataset[float64-value1-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-10-coords-no_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-10-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-10-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-10-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-10-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-value1-coords-dimensionless] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-value1-coords-incompatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_interpolate_na - uses numpy.vectorize XFAIL tests/test_units.py::test_align_dataset[int64-value1-coords-compatible_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::test_align_dataset[int64-value1-coords-identical_unit] - reason: fill_value is used for both data variables and coords. See https://github.com/pydata/xarray/issues/4165 XFAIL tests/test_units.py::TestDataArray::test_interp_reindex[float64-method_interp-data] - uses scipy XFAIL tests/test_units.py::TestDataset::test_missing_value_filling[float64-method_ffill] - ffill and bfill lose the unit XFAIL tests/test_units.py::TestDataArray::test_interp_reindex[float64-method_interp-coords] - uses scipy XFAIL tests/test_units.py::TestDataArray::test_interp_reindex[int64-method_interp-data] - uses scipy XFAIL tests/test_units.py::TestDataset::test_missing_value_filling[float64-method_bfill] - ffill and bfill lose the unit XFAIL tests/test_units.py::TestDataArray::test_interp_reindex[int64-method_interp-coords] - uses scipy XFAIL tests/test_units.py::TestDataArray::test_interp_reindex_like[float64-method_interp_like-data] - uses scipy XFAIL tests/test_units.py::TestDataArray::test_interp_reindex_like[float64-method_interp_like-coords] - uses scipy XFAIL tests/test_units.py::TestDataset::test_missing_value_filling[int64-method_ffill] - ffill and bfill lose the unit XFAIL tests/test_units.py::TestDataArray::test_interp_reindex_like[int64-method_interp_like-data] - uses scipy XFAIL tests/test_units.py::TestDataset::test_missing_value_filling[int64-method_bfill] - ffill and bfill lose the unit XFAIL tests/test_units.py::TestDataArray::test_interp_reindex_like[int64-method_interp_like-coords] - uses scipy XFAIL tests/test_units.py::TestDataset::test_interpolate_na[float64] - interpolate_na uses numpy.vectorize XFAIL tests/test_units.py::TestDataset::test_interpolate_na[int64] - interpolate_na uses numpy.vectorize XFAIL tests/test_units.py::TestDataArray::test_computation_objects[float64-method_rolling-data] - reason: numpy.lib.stride_tricks.as_strided converts to ndarray XFAIL tests/test_units.py::TestDataArray::test_computation_objects[int64-method_rolling-data] - reason: numpy.lib.stride_tricks.as_strided converts to ndarray XFAIL tests/test_units.py::TestDataset::test_to_stacked_array[float64] - stacked dimension's labels have to be hashable, but is a numpy.array XFAIL tests/test_units.py::TestDataset::test_to_stacked_array[int64] - stacked dimension's labels have to be hashable, but is a numpy.array XFAIL tests/test_units.py::TestDataset::test_interp_reindex[float64-method_interp-data] - uses scipy XFAIL tests/test_units.py::TestDataset::test_interp_reindex[float64-method_interp-coords] - uses scipy XFAIL tests/test_units.py::TestDataset::test_interp_reindex[int64-method_interp-data] - uses scipy XFAIL tests/test_units.py::TestDataset::test_interp_reindex[int64-method_interp-coords] - uses scipy XFAIL tests/test_units.py::TestDataset::test_interp_reindex_like[float64-method_interp_like-data] - uses scipy XFAIL tests/test_units.py::TestDataset::test_interp_reindex_like[float64-method_interp_like-coords] - uses scipy XFAIL tests/test_units.py::TestPlots::test_units_in_line_plot_labels[coord_unit1-coord_attrs1] - indexes don't support units XFAIL tests/test_units.py::TestDataset::test_interp_reindex_like[int64-method_interp_like-data] - uses scipy XFAIL tests/test_units.py::TestPlots::test_units_in_slice_line_plot_labels_sel[coord_unit1-coord_attrs1] - indexes don't support units XFAIL tests/test_units.py::TestDataset::test_interp_reindex_like[int64-method_interp_like-coords] - uses scipy XFAIL tests/test_units.py::TestPlots::test_units_in_slice_line_plot_labels_isel[coord_unit1-coord_attrs1] - pint.errors.UnitStrippedWarning XFAIL tests/test_units.py::TestDataset::test_computation_objects[float64-data-method_rolling] - strips units XFAIL tests/test_units.py::TestDataset::test_computation_objects[float64-data-method_rolling_exp] - numbagg functions are not supported by pint XFAIL tests/test_units.py::TestDataset::test_computation_objects[float64-coords-method_rolling_exp] - numbagg functions are not supported by pint XFAIL tests/test_units.py::TestDataset::test_computation_objects[int64-data-method_rolling] - strips units XFAIL tests/test_variable.py::TestVariable::test_timedelta64_valid_range - pandas issue 36615 XFAIL tests/test_units.py::TestDataset::test_computation_objects[int64-data-method_rolling_exp] - numbagg functions are not supported by pint XFAIL tests/test_units.py::TestDataset::test_computation_objects[int64-coords-method_rolling_exp] - numbagg functions are not supported by pint XFAIL tests/test_variable.py::TestVariableWithDask::test_timedelta64_valid_range - pandas issue 36615 XFAIL tests/test_variable.py::TestIndexVariable::test_timedelta64_valid_range - pandas issue 36615 XFAIL tests/test_variable.py::TestVariableWithDask::test_0d_object_array_with_list XFAIL tests/test_variable.py::TestVariableWithDask::test_array_interface XFAIL tests/test_variable.py::TestVariableWithDask::test_copy_index XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg0-np_arg0-median] - median is not implemented by Dask XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg1-np_arg1-median] - median is not implemented by Dask XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg2-np_arg2-median] - median is not implemented by Dask XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg2-np_arg2-reflect] - dask.array.pad bug XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg3-np_arg3-median] - median is not implemented by Dask XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg3-np_arg3-reflect] - dask.array.pad bug XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg4-np_arg4-median] - median is not implemented by Dask XFAIL tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg4-np_arg4-reflect] - dask.array.pad bug XPASS tests/test_dataarray.py::TestDataArray::test_to_dask_dataframe - dask-expr is broken XPASS tests/test_dataarray.py::TestDataArray::test_copy_coords[True-expected_orig0] XPASS tests/test_dataset.py::TestDataset::test_copy_coords[True-expected_orig0] XPASS tests/test_plot.py::TestImshow::test_dates_are_concise - Failing inside matplotlib. Should probably be fixed upstream because other plot functions can handle it. Remove this test when it works, already in Common2dMixin XPASS tests/test_units.py::TestVariable::test_computation[float64-method_rolling_window-numbagg] - converts to ndarray XPASS tests/test_units.py::TestVariable::test_computation[float64-method_rolling_window-None] - converts to ndarray XPASS tests/test_units.py::TestVariable::test_computation[int64-method_rolling_window-numbagg] - converts to ndarray XPASS tests/test_units.py::TestVariable::test_computation[int64-method_rolling_window-None] - converts to ndarray XPASS tests/test_units.py::TestDataset::test_computation_objects[float64-coords-method_rolling] - strips units XPASS tests/test_units.py::TestDataset::test_computation_objects[int64-coords-method_rolling] - strips units XPASS tests/test_variable.py::TestVariableWithDask::test_eq_all_dtypes XPASS tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg0-np_arg0-reflect] - dask.array.pad bug XPASS tests/test_variable.py::TestVariableWithDask::test_pad[xr_arg1-np_arg1-reflect] - dask.array.pad bug = 17349 passed, 2173 skipped, 163 xfailed, 13 xpassed, 173 warnings in 247.35s (0:04:07) = + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-xarray-2024.6.0-1.fc41.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LUToQB + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + cd xarray-2024.6.0 + DOCDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/doc/python3-xarray + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/doc/python3-xarray + cp -pr /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/README.md /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/doc/python3-xarray + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hTUNcF + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + cd xarray-2024.6.0 + LICENSEDIR=/builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + cp -pr /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/LICENSE /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + cp -pr /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/licenses/DASK_LICENSE /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + cp -pr /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/licenses/NUMPY_LICENSE /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + cp -pr /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/licenses/PANDAS_LICENSE /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + cp -pr /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/licenses/PYTHON_LICENSE /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + cp -pr /builddir/build/BUILD/python-xarray-2024.6.0-build/xarray-2024.6.0/licenses/SEABORN_LICENSE /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT/usr/share/licenses/python3-xarray + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-xarray = 2024.6.0-1.fc41 python3-xarray = 2024.6.0-1.fc41 python3.13-xarray = 2024.6.0-1.fc41 python3.13dist(xarray) = 2024.6 python3dist(xarray) = 2024.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.13 python3.13dist(numpy) >= 1.23 python3.13dist(packaging) >= 23.1 python3.13dist(pandas) >= 2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-xarray-2024.6.0-build/BUILDROOT Wrote: /builddir/build/SRPMS/python-xarray-2024.6.0-1.fc41.src.rpm Wrote: /builddir/build/RPMS/python3-xarray-2024.6.0-1.fc41.noarch.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.I2g4ml + umask 022 + cd /builddir/build/BUILD/python-xarray-2024.6.0-build + test -d /builddir/build/BUILD/python-xarray-2024.6.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-xarray-2024.6.0-build + rm -rf /builddir/build/BUILD/python-xarray-2024.6.0-build + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild python-xarray-2024.6.0-1.fc41.src.rpm Finish: build phase for python-xarray-2024.6.0-1.fc41.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1718984006.925341/root/var/log/dnf5.log INFO: Done(/var/lib/copr-rpmbuild/results/python-xarray-2024.6.0-1.fc41.src.rpm) Config(child) 5 minutes 2 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 Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "python-xarray", "epoch": null, "version": "2024.6.0", "release": "1.fc41", "arch": "src" }, { "name": "python3-xarray", "epoch": null, "version": "2024.6.0", "release": "1.fc41", "arch": "noarch" } ] } RPMResults finished