Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'], chrootPath='/var/lib/mock/f41-build-51829166-6208282/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '46bbeade5671432a9ffe9ded58ebb153', '-D', '/var/lib/mock/f41-build-51829166-6208282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-earthpy-0.9.4-11.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'], chrootPath='/var/lib/mock/f41-build-51829166-6208282/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '645f1d97138e4821a506b8e75892e551', '-D', '/var/lib/mock/f41-build-51829166-6208282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PmW5ZH + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + test -d /builddir/build/BUILD/python-earthpy-0.9.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-earthpy-0.9.4-build + /usr/bin/rm -rf /builddir/build/BUILD/python-earthpy-0.9.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-earthpy-0.9.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-earthpy-0.9.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vsEg6H + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + rm -rf earthpy-0.9.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/earthpy-0.9.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd earthpy-0.9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EzTT7D + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + cd earthpy-0.9.4 + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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-earthpy-0.9.4-build/earthpy-0.9.4/.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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-earthpy-0.9.4-build/earthpy-0.9.4/.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-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir --output /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-earthpy-0.9.4-11.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'], chrootPath='/var/lib/mock/f41-build-51829166-6208282/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '55c01112a59a4856984d60d69db86a10', '-D', '/var/lib/mock/f41-build-51829166-6208282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.qf01HE + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + cd earthpy-0.9.4 + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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-earthpy-0.9.4-build/earthpy-0.9.4/.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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-earthpy-0.9.4-build/earthpy-0.9.4/.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-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir --output /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) running egg_info creating earthpy.egg-info writing earthpy.egg-info/PKG-INFO writing dependency_links to earthpy.egg-info/dependency_links.txt writing requirements to earthpy.egg-info/requires.txt writing top-level names to earthpy.egg-info/top_level.txt writing manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'earthpy.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info writing earthpy.egg-info/PKG-INFO writing dependency_links to earthpy.egg-info/dependency_links.txt writing requirements to earthpy.egg-info/requires.txt writing top-level names to earthpy.egg-info/top_level.txt reading manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'earthpy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/earthpy-0.9.4.dist-info' Handling geopandas from hook generated metadata: Requires-Dist (earthpy) Requirement not satisfied: geopandas Handling matplotlib >=2.0.0 from hook generated metadata: Requires-Dist (earthpy) Requirement not satisfied: matplotlib >=2.0.0 Handling numpy >=1.14.0 from hook generated metadata: Requires-Dist (earthpy) Requirement not satisfied: numpy >=1.14.0 Handling rasterio from hook generated metadata: Requires-Dist (earthpy) Requirement not satisfied: rasterio Handling scikit-image from hook generated metadata: Requires-Dist (earthpy) Requirement not satisfied: scikit-image Handling requests from hook generated metadata: Requires-Dist (earthpy) Requirement not satisfied: requests + cat /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires + rm -rfv earthpy-0.9.4.dist-info/ removed 'earthpy-0.9.4.dist-info/top_level.txt' removed 'earthpy-0.9.4.dist-info/METADATA' removed 'earthpy-0.9.4.dist-info/LICENSE' removed directory 'earthpy-0.9.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-earthpy-0.9.4-11.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'], chrootPath='/var/lib/mock/f41-build-51829166-6208282/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f1bfd108ceb44e19b83d16402f1b45e3', '-D', '/var/lib/mock/f41-build-51829166-6208282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-earthpy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Nc5knh + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + cd earthpy-0.9.4 + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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-earthpy-0.9.4-build/earthpy-0.9.4/.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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-earthpy-0.9.4-build/earthpy-0.9.4/.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-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir --output /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) running egg_info writing earthpy.egg-info/PKG-INFO writing dependency_links to earthpy.egg-info/dependency_links.txt writing requirements to earthpy.egg-info/requires.txt writing top-level names to earthpy.egg-info/top_level.txt reading manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'earthpy.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info writing earthpy.egg-info/PKG-INFO writing dependency_links to earthpy.egg-info/dependency_links.txt writing requirements to earthpy.egg-info/requires.txt writing top-level names to earthpy.egg-info/top_level.txt reading manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'earthpy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/earthpy-0.9.4.dist-info' Handling geopandas from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: geopandas (installed: geopandas 0.14.4) Handling matplotlib >=2.0.0 from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: matplotlib >=2.0.0 (installed: matplotlib 3.9.0) Handling numpy >=1.14.0 from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: numpy >=1.14.0 (installed: numpy 1.26.4) Handling rasterio from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: rasterio (installed: rasterio 1.3.10) Handling scikit-image from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: scikit-image (installed: scikit-image 0.23.2) Handling requests from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: requests (installed: requests 2.32.3) + cat /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires + rm -rfv earthpy-0.9.4.dist-info/ removed 'earthpy-0.9.4.dist-info/top_level.txt' removed 'earthpy-0.9.4.dist-info/METADATA' removed 'earthpy-0.9.4.dist-info/LICENSE' removed directory 'earthpy-0.9.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-earthpy-0.9.4-11.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-earthpy.spec'], chrootPath='/var/lib/mock/f41-build-51829166-6208282/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2c1996fa22ae4be0b51499fa69971fb1', '-D', '/var/lib/mock/f41-build-51829166-6208282/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-earthpy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zipdde + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + cd earthpy-0.9.4 + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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-earthpy-0.9.4-build/earthpy-0.9.4/.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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-earthpy-0.9.4-build/earthpy-0.9.4/.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-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir --output /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) running egg_info writing earthpy.egg-info/PKG-INFO writing dependency_links to earthpy.egg-info/dependency_links.txt writing requirements to earthpy.egg-info/requires.txt writing top-level names to earthpy.egg-info/top_level.txt reading manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'earthpy.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info writing earthpy.egg-info/PKG-INFO writing dependency_links to earthpy.egg-info/dependency_links.txt writing requirements to earthpy.egg-info/requires.txt writing top-level names to earthpy.egg-info/top_level.txt reading manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'earthpy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/earthpy-0.9.4.dist-info' Handling geopandas from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: geopandas (installed: geopandas 0.14.4) Handling matplotlib >=2.0.0 from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: matplotlib >=2.0.0 (installed: matplotlib 3.9.0) Handling numpy >=1.14.0 from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: numpy >=1.14.0 (installed: numpy 1.26.4) Handling rasterio from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: rasterio (installed: rasterio 1.3.10) Handling scikit-image from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: scikit-image (installed: scikit-image 0.23.2) Handling requests from hook generated metadata: Requires-Dist (earthpy) Requirement satisfied: requests (installed: requests 2.32.3) + cat /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-buildrequires + rm -rfv earthpy-0.9.4.dist-info/ removed 'earthpy-0.9.4.dist-info/top_level.txt' removed 'earthpy-0.9.4.dist-info/METADATA' removed 'earthpy-0.9.4.dist-info/LICENSE' removed directory 'earthpy-0.9.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w9nAv2 + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd earthpy-0.9.4 + mkdir -p /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir Processing /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info writing /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-modern-metadata-tkn4jhzp/earthpy-0.9.4.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: earthpy Building wheel for earthpy (pyproject.toml): started Running command Building wheel for earthpy (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/earthpy copying earthpy/__init__.py -> build/lib/earthpy copying earthpy/clip.py -> build/lib/earthpy copying earthpy/io.py -> build/lib/earthpy copying earthpy/mask.py -> build/lib/earthpy copying earthpy/plot.py -> build/lib/earthpy copying earthpy/spatial.py -> build/lib/earthpy creating build/lib/earthpy/example-data copying earthpy/example-data/epsg.json -> build/lib/earthpy/example-data copying earthpy/example-data/blue.tif -> build/lib/earthpy/example-data copying earthpy/example-data/green.tif -> build/lib/earthpy/example-data copying earthpy/example-data/red.tif -> build/lib/earthpy/example-data copying earthpy/example-data/rmnp-dem.tif -> build/lib/earthpy/example-data copying earthpy/example-data/rmnp-rgb.tif -> build/lib/earthpy/example-data copying earthpy/example-data/colorado-counties.geojson -> build/lib/earthpy/example-data copying earthpy/example-data/colorado-glaciers.geojson -> build/lib/earthpy/example-data copying earthpy/example-data/continental-div-trail.geojson -> build/lib/earthpy/example-data copying earthpy/example-data/rmnp.shp -> build/lib/earthpy/example-data copying earthpy/example-data/rmnp.shx -> build/lib/earthpy/example-data copying earthpy/example-data/rmnp.prj -> build/lib/earthpy/example-data copying earthpy/example-data/rmnp.dbf -> build/lib/earthpy/example-data installing to build/bdist.linux-ppc64le/wheel running install running install_lib creating build/bdist.linux-ppc64le creating build/bdist.linux-ppc64le/wheel creating build/bdist.linux-ppc64le/wheel/earthpy copying build/lib/earthpy/__init__.py -> build/bdist.linux-ppc64le/wheel/earthpy copying build/lib/earthpy/clip.py -> build/bdist.linux-ppc64le/wheel/earthpy copying build/lib/earthpy/io.py -> build/bdist.linux-ppc64le/wheel/earthpy copying build/lib/earthpy/mask.py -> build/bdist.linux-ppc64le/wheel/earthpy copying build/lib/earthpy/plot.py -> build/bdist.linux-ppc64le/wheel/earthpy copying build/lib/earthpy/spatial.py -> build/bdist.linux-ppc64le/wheel/earthpy creating build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/epsg.json -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/blue.tif -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/green.tif -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/red.tif -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/rmnp-dem.tif -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/rmnp-rgb.tif -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/colorado-counties.geojson -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/colorado-glaciers.geojson -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/continental-div-trail.geojson -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/rmnp.shp -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/rmnp.shx -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/rmnp.prj -> build/bdist.linux-ppc64le/wheel/earthpy/example-data copying build/lib/earthpy/example-data/rmnp.dbf -> build/bdist.linux-ppc64le/wheel/earthpy/example-data running install_egg_info running egg_info writing earthpy.egg-info/PKG-INFO writing dependency_links to earthpy.egg-info/dependency_links.txt writing requirements to earthpy.egg-info/requires.txt writing top-level names to earthpy.egg-info/top_level.txt reading manifest file 'earthpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'earthpy.egg-info/SOURCES.txt' Copying earthpy.egg-info to build/bdist.linux-ppc64le/wheel/earthpy-0.9.4-py3.13.egg-info running install_scripts creating build/bdist.linux-ppc64le/wheel/earthpy-0.9.4.dist-info/WHEEL creating '/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir/pip-wheel-pxcrj9zs/.tmp-u7uq9rhm/earthpy-0.9.4-py3-none-any.whl' and adding 'build/bdist.linux-ppc64le/wheel' to it adding 'earthpy/__init__.py' adding 'earthpy/clip.py' adding 'earthpy/io.py' adding 'earthpy/mask.py' adding 'earthpy/plot.py' adding 'earthpy/spatial.py' adding 'earthpy/example-data/blue.tif' adding 'earthpy/example-data/colorado-counties.geojson' adding 'earthpy/example-data/colorado-glaciers.geojson' adding 'earthpy/example-data/continental-div-trail.geojson' adding 'earthpy/example-data/epsg.json' adding 'earthpy/example-data/green.tif' adding 'earthpy/example-data/red.tif' adding 'earthpy/example-data/rmnp-dem.tif' adding 'earthpy/example-data/rmnp-rgb.tif' adding 'earthpy/example-data/rmnp.dbf' adding 'earthpy/example-data/rmnp.prj' adding 'earthpy/example-data/rmnp.shp' adding 'earthpy/example-data/rmnp.shx' adding 'earthpy-0.9.4.dist-info/LICENSE' adding 'earthpy-0.9.4.dist-info/METADATA' adding 'earthpy-0.9.4.dist-info/WHEEL' adding 'earthpy-0.9.4.dist-info/top_level.txt' adding 'earthpy-0.9.4.dist-info/RECORD' removing build/bdist.linux-ppc64le/wheel Building wheel for earthpy (pyproject.toml): finished with status 'done' Created wheel for earthpy: filename=earthpy-0.9.4-py3-none-any.whl size=1362588 sha256=569c48d11578594519b1c2fe9be3fe0b10a92f9b61528e5307026d4c61352f0b Stored in directory: /builddir/.cache/pip/wheels/65/06/96/9982227be6460e987d8c9bb3206aff174161a78db35b1bcebf Successfully built earthpy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aCG8LB + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-build + '[' /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-earthpy-0.9.4-build + mkdir /builddir/build/BUILD/python-earthpy-0.9.4-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd earthpy-0.9.4 ++ ls /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir/earthpy-0.9.4-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=earthpy==0.9.4 + '[' -z earthpy==0.9.4 ']' + TMPDIR=/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-earthpy-0.9.4-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-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir earthpy==0.9.4 Using pip 24.0 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/pyproject-wheeldir Processing ./pyproject-wheeldir/earthpy-0.9.4-py3-none-any.whl Installing collected packages: earthpy Successfully installed earthpy-0.9.4 + '[' -d /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/earthpy-0.9.4.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy-0.9.4.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-earthpy-0.9.4-build/BUILDROOT --record /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy-0.9.4.dist-info/RECORD --output /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-record + rm -fv /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy-0.9.4.dist-info/RECORD removed '/builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy-0.9.4.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy-0.9.4.dist-info/REQUESTED removed '/builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy-0.9.4.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-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-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-earthpy-0.9.4-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-earthpy-0.9.4-build/python-earthpy-0.9.4-11.fc41.noarch-pyproject-record --prefix /usr earthpy + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy/__pycache__/io.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy/__pycache__/mask.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy/__pycache__/plot.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy/__pycache__/spatial.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy/__pycache__/clip.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages/earthpy/__pycache__/spatial.cpython-313.pyc: replacing with normalized version Processed 7 paths Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SLtNhJ + umask 022 + cd /builddir/build/BUILD/python-earthpy-0.9.4-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd earthpy-0.9.4 + k='not test_crop_image_with_one_point_raises_error' + k='not test_crop_image_with_one_point_raises_error and not test_crop_image_with_1d_extent_raises_error' + k='not test_crop_image_with_one_point_raises_error and not test_crop_image_with_1d_extent_raises_error and not test_hist_number_of_columns' + k='not test_crop_image_with_one_point_raises_error and not test_crop_image_with_1d_extent_raises_error and not test_hist_number_of_columns and not test_warning_mutli_point_clip_function' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-earthpy-0.9.4-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest --ignore=earthpy/tests/test_io.py -k 'not test_crop_image_with_one_point_raises_error and not test_crop_image_with_1d_extent_raises_error and not test_hist_number_of_columns and not test_warning_mutli_point_clip_function' ============================= test session starts ============================== platform linux -- Python 3.13.0b2, pytest-7.4.3, pluggy-1.3.0 rootdir: /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4 configfile: setup.cfg testpaths: earthpy/tests collected 141 items / 4 deselected / 137 selected earthpy/tests/test__stack_bands.py . [ 0%] earthpy/tests/test_bytescale.py ........ [ 6%] earthpy/tests/test_clip.py .... [ 9%] earthpy/tests/test_crop_all.py ........ [ 15%] earthpy/tests/test_crop_image.py ........ [ 21%] earthpy/tests/test_epsg.py .... [ 24%] earthpy/tests/test_extent_to_json.py ...... [ 28%] earthpy/tests/test_hillshade.py .... [ 31%] earthpy/tests/test_hist.py ....................... [ 48%] earthpy/tests/test_mask.py ........ [ 54%] earthpy/tests/test_norm_diff.py .... [ 56%] earthpy/tests/test_plot.py .. [ 58%] earthpy/tests/test_plot_bands.py ................... [ 72%] earthpy/tests/test_plot_draw_legend.py F...F..F.FFF.. [ 82%] earthpy/tests/test_plot_rgb.py ............ [ 91%] earthpy/tests/test_stack.py ........... [ 99%] earthpy/tests/test_stack_raster_tifs.py . [100%] =================================== FAILURES =================================== ___________________________ test_num_titles_classes ____________________________ arr_plot_blues = (, array([[2, 2, 3, 2, 3, 3], [2, 2, 3, 2, 2, 3], [3, 1, 2, 3, 2, 2], [2, 2, 2, 3, 2, 1], [2, 3, 2, 2, 3, 2], [2, 3, 1, 2, 2, 2]])) def test_num_titles_classes(arr_plot_blues): """Test that the number of classes equals the number of legend titles.""" im_ax, _ = arr_plot_blues with pytest.raises( ValueError, match="The number of classes should equal the number of titles", ): > ep.draw_legend( im_ax=im_ax, classes=[1, 2], titles=["small", "medium", "large"] ) earthpy/tests/test_plot_draw_legend.py:99: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ earthpy/plot.py:717: in draw_legend colors = make_col_list( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unique_vals = [1, 2], nclasses = 2, cmap = 'viridis' def make_col_list(unique_vals, nclasses=None, cmap=None): """ Convert a matplotlib named colormap into a discrete list of n-colors in RGB format. Parameters ---------- unique_vals : list A list of values to make a color list from. nclasses : int (optional) The number of classes. cmap : str (optional) Colormap name used to create output list. Returns ------- list A list of colors based on the given set of values in matplotlib format. Example ------- >>> import numpy as np >>> import earthpy.plot as ep >>> import matplotlib.pyplot as plt >>> arr = np.array([[1, 2], [3, 4], [5, 4], [5, 5]]) >>> f, ax = plt.subplots() >>> im = ax.imshow(arr, cmap="Blues") >>> the_legend = ep.draw_legend(im_ax=im) >>> # Get the array and cmap from axis object >>> cmap_name = im.axes.get_images()[0].get_cmap().name >>> unique_vals = list(np.unique(im.get_array().data)) >>> cmap_colors = ep.make_col_list(unique_vals, cmap=cmap_name) """ if not nclasses: nclasses = len(unique_vals) increment = 1 / (nclasses - 1) # Create increments to grab colormap colors col_index = [(increment * c) for c in range(nclasses - 1)] col_index.append(1.0) # Create cmap list of colors > cm = plt.cm.get_cmap(cmap) E AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap' earthpy/plot.py:650: AttributeError _________________________________ test_colors __________________________________ arr_plot_blues = (, array([[1, 1, 3, 2, 2, 2], [3, 2, 2, 3, 3, 3], [3, 3, 1, 3, 3, 2], [1, 2, 3, 2, 1, 2], [2, 2, 3, 1, 1, 2], [2, 1, 2, 2, 2, 2]])) def test_colors(arr_plot_blues): """Test that the correct colors appear in the patches of the legend.""" im_ax, _ = arr_plot_blues the_legend = ep.draw_legend(im_ax=im_ax) legend_cols = [i.get_facecolor() for i in the_legend.get_patches()] # Get the array and cmap from axis object cmap_name = im_ax.axes.get_images()[0].get_cmap().name unique_vals = np.unique(im_ax.get_array().data) > image_colors = ep.make_col_list(unique_vals, cmap=cmap_name) earthpy/tests/test_plot_draw_legend.py:168: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unique_vals = array([1, 2, 3]), nclasses = 3, cmap = 'viridis' def make_col_list(unique_vals, nclasses=None, cmap=None): """ Convert a matplotlib named colormap into a discrete list of n-colors in RGB format. Parameters ---------- unique_vals : list A list of values to make a color list from. nclasses : int (optional) The number of classes. cmap : str (optional) Colormap name used to create output list. Returns ------- list A list of colors based on the given set of values in matplotlib format. Example ------- >>> import numpy as np >>> import earthpy.plot as ep >>> import matplotlib.pyplot as plt >>> arr = np.array([[1, 2], [3, 4], [5, 4], [5, 5]]) >>> f, ax = plt.subplots() >>> im = ax.imshow(arr, cmap="Blues") >>> the_legend = ep.draw_legend(im_ax=im) >>> # Get the array and cmap from axis object >>> cmap_name = im.axes.get_images()[0].get_cmap().name >>> unique_vals = list(np.unique(im.get_array().data)) >>> cmap_colors = ep.make_col_list(unique_vals, cmap=cmap_name) """ if not nclasses: nclasses = len(unique_vals) increment = 1 / (nclasses - 1) # Create increments to grab colormap colors col_index = [(increment * c) for c in range(nclasses - 1)] col_index.append(1.0) # Create cmap list of colors > cm = plt.cm.get_cmap(cmap) E AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap' earthpy/plot.py:650: AttributeError ________________________ test_classes_provided_as_array ________________________ arr_plot_list_cmap = (, array([[4, 2, 4, 1, 4, 1], [1, 4, 2, 3, 2, 1], [1, 1, 4, 1, 4, 4], [3, 4, 4, 5, 1, 3], [4, 1, 4, 3, 2, 3], [5, 1, 3, 2, 3, 1]])) def test_classes_provided_as_array(arr_plot_list_cmap): """Test that draw_legend works when classes are provided as an arr (not a list).""" im_ax, arr = arr_plot_list_cmap n_classes = 5 > leg = ep.draw_legend(im_ax, classes=np.arange(n_classes)) earthpy/tests/test_plot_draw_legend.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ earthpy/plot.py:717: in draw_legend colors = make_col_list( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unique_vals = array([0, 1, 2, 3, 4]), nclasses = 5 cmap = def make_col_list(unique_vals, nclasses=None, cmap=None): """ Convert a matplotlib named colormap into a discrete list of n-colors in RGB format. Parameters ---------- unique_vals : list A list of values to make a color list from. nclasses : int (optional) The number of classes. cmap : str (optional) Colormap name used to create output list. Returns ------- list A list of colors based on the given set of values in matplotlib format. Example ------- >>> import numpy as np >>> import earthpy.plot as ep >>> import matplotlib.pyplot as plt >>> arr = np.array([[1, 2], [3, 4], [5, 4], [5, 5]]) >>> f, ax = plt.subplots() >>> im = ax.imshow(arr, cmap="Blues") >>> the_legend = ep.draw_legend(im_ax=im) >>> # Get the array and cmap from axis object >>> cmap_name = im.axes.get_images()[0].get_cmap().name >>> unique_vals = list(np.unique(im.get_array().data)) >>> cmap_colors = ep.make_col_list(unique_vals, cmap=cmap_name) """ if not nclasses: nclasses = len(unique_vals) increment = 1 / (nclasses - 1) # Create increments to grab colormap colors col_index = [(increment * c) for c in range(nclasses - 1)] col_index.append(1.0) # Create cmap list of colors > cm = plt.cm.get_cmap(cmap) E AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap' earthpy/plot.py:650: AttributeError __________________________ test_listed_cmap_3_classes __________________________ vals_missing_plot_list_cmap = (, array([[2, 3, 2, 4, 4, 2], [2, 4, 3, 3, 2, 2], [2, 2, 2, 4, 2, 3], [4, 2, 4, 2, 3, 3], [3, 2, 2, 4, 2, 2], [2, 2, 2, 4, 2, 3]])) def test_listed_cmap_3_classes(vals_missing_plot_list_cmap): """Test legend for a listed cmap where the user wants all classes to be drawn in the legend. IE the classified image has classes 2,3,4 and the user wants classes 1-5 to appear.""" im_ax, arr = vals_missing_plot_list_cmap class_list = list(range(5)) > leg = ep.draw_legend(im_ax, classes=class_list) earthpy/tests/test_plot_draw_legend.py:235: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ earthpy/plot.py:717: in draw_legend colors = make_col_list( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unique_vals = [0, 1, 2, 3, 4], nclasses = 5 cmap = def make_col_list(unique_vals, nclasses=None, cmap=None): """ Convert a matplotlib named colormap into a discrete list of n-colors in RGB format. Parameters ---------- unique_vals : list A list of values to make a color list from. nclasses : int (optional) The number of classes. cmap : str (optional) Colormap name used to create output list. Returns ------- list A list of colors based on the given set of values in matplotlib format. Example ------- >>> import numpy as np >>> import earthpy.plot as ep >>> import matplotlib.pyplot as plt >>> arr = np.array([[1, 2], [3, 4], [5, 4], [5, 5]]) >>> f, ax = plt.subplots() >>> im = ax.imshow(arr, cmap="Blues") >>> the_legend = ep.draw_legend(im_ax=im) >>> # Get the array and cmap from axis object >>> cmap_name = im.axes.get_images()[0].get_cmap().name >>> unique_vals = list(np.unique(im.get_array().data)) >>> cmap_colors = ep.make_col_list(unique_vals, cmap=cmap_name) """ if not nclasses: nclasses = len(unique_vals) increment = 1 / (nclasses - 1) # Create increments to grab colormap colors col_index = [(increment * c) for c in range(nclasses - 1)] col_index.append(1.0) # Create cmap list of colors > cm = plt.cm.get_cmap(cmap) E AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap' earthpy/plot.py:650: AttributeError ___________________________ test_cont_cmap_3_classes ___________________________ vals_missing_plot_cont_cmap = (, array([[4, 2, 2, 3, 3, 2], [2, 4, 4, 2, 3, 4], [4, 3, 4, 3, 2, 4], [4, 2, 2, 4, 4, 2], [3, 2, 2, 2, 2, 4], [2, 4, 2, 2, 4, 3]])) def test_cont_cmap_3_classes(vals_missing_plot_cont_cmap): """Test legend for a listed cmap where the user wants all classes to be drawn in the legend. IE the classified image has classes 2,3,4 and the user wants classes 1-5 to appear.""" im_ax, arr = vals_missing_plot_cont_cmap class_list = list(range(5)) > leg = ep.draw_legend(im_ax, classes=class_list) earthpy/tests/test_plot_draw_legend.py:250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ earthpy/plot.py:717: in draw_legend colors = make_col_list( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unique_vals = [0, 1, 2, 3, 4], nclasses = 5, cmap = 'viridis' def make_col_list(unique_vals, nclasses=None, cmap=None): """ Convert a matplotlib named colormap into a discrete list of n-colors in RGB format. Parameters ---------- unique_vals : list A list of values to make a color list from. nclasses : int (optional) The number of classes. cmap : str (optional) Colormap name used to create output list. Returns ------- list A list of colors based on the given set of values in matplotlib format. Example ------- >>> import numpy as np >>> import earthpy.plot as ep >>> import matplotlib.pyplot as plt >>> arr = np.array([[1, 2], [3, 4], [5, 4], [5, 5]]) >>> f, ax = plt.subplots() >>> im = ax.imshow(arr, cmap="Blues") >>> the_legend = ep.draw_legend(im_ax=im) >>> # Get the array and cmap from axis object >>> cmap_name = im.axes.get_images()[0].get_cmap().name >>> unique_vals = list(np.unique(im.get_array().data)) >>> cmap_colors = ep.make_col_list(unique_vals, cmap=cmap_name) """ if not nclasses: nclasses = len(unique_vals) increment = 1 / (nclasses - 1) # Create increments to grab colormap colors col_index = [(increment * c) for c in range(nclasses - 1)] col_index.append(1.0) # Create cmap list of colors > cm = plt.cm.get_cmap(cmap) E AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap' earthpy/plot.py:650: AttributeError _____________________ test_listedcmap_ncol_equals_nclasses _____________________ vals_missing_plot_list_cmap = (, array([[3, 2, 2, 4, 2, 2], [4, 2, 4, 4, 2, 2], [3, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2], [4, 3, 3, 4, 2, 2], [2, 4, 4, 2, 4, 2]])) def test_listedcmap_ncol_equals_nclasses(vals_missing_plot_list_cmap): """If a 5 color listed cmap is provided and 6 classes are specified, return value error.""" n_classes = 5 im_ax, arr = vals_missing_plot_list_cmap with pytest.raises( ValueError, match="There are more classes than colors in your cmap" ): > ep.draw_legend(im_ax, classes=np.arange(0, n_classes + 1)) earthpy/tests/test_plot_draw_legend.py:267: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ earthpy/plot.py:717: in draw_legend colors = make_col_list( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ unique_vals = array([0, 1, 2, 3, 4, 5]), nclasses = 6 cmap = def make_col_list(unique_vals, nclasses=None, cmap=None): """ Convert a matplotlib named colormap into a discrete list of n-colors in RGB format. Parameters ---------- unique_vals : list A list of values to make a color list from. nclasses : int (optional) The number of classes. cmap : str (optional) Colormap name used to create output list. Returns ------- list A list of colors based on the given set of values in matplotlib format. Example ------- >>> import numpy as np >>> import earthpy.plot as ep >>> import matplotlib.pyplot as plt >>> arr = np.array([[1, 2], [3, 4], [5, 4], [5, 5]]) >>> f, ax = plt.subplots() >>> im = ax.imshow(arr, cmap="Blues") >>> the_legend = ep.draw_legend(im_ax=im) >>> # Get the array and cmap from axis object >>> cmap_name = im.axes.get_images()[0].get_cmap().name >>> unique_vals = list(np.unique(im.get_array().data)) >>> cmap_colors = ep.make_col_list(unique_vals, cmap=cmap_name) """ if not nclasses: nclasses = len(unique_vals) increment = 1 / (nclasses - 1) # Create increments to grab colormap colors col_index = [(increment * c) for c in range(nclasses - 1)] col_index.append(1.0) # Create cmap list of colors > cm = plt.cm.get_cmap(cmap) E AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap' earthpy/plot.py:650: AttributeError =============================== warnings summary =============================== earthpy/__init__.py:7 /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/earthpy/__init__.py:7: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import resource_string earthpy/tests/test_hist.py::test_hist_fully_masked_array /usr/lib64/python3.13/site-packages/matplotlib/cbook.py:1762: UserWarning: Warning: converting a masked element to nan. return math.isfinite(val) earthpy/tests/test_plot_rgb.py::test_stretch_image_nan /builddir/build/BUILD/python-earthpy-0.9.4-build/earthpy-0.9.4/earthpy/spatial.py:561: RuntimeWarning: invalid value encountered in cast return (bytedata.clip(low, high) + 0.5).astype("uint8") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED earthpy/tests/test_plot_draw_legend.py::test_num_titles_classes - Attr... FAILED earthpy/tests/test_plot_draw_legend.py::test_colors - AttributeError: ... FAILED earthpy/tests/test_plot_draw_legend.py::test_classes_provided_as_array FAILED earthpy/tests/test_plot_draw_legend.py::test_listed_cmap_3_classes - A... FAILED earthpy/tests/test_plot_draw_legend.py::test_cont_cmap_3_classes - Att... FAILED earthpy/tests/test_plot_draw_legend.py::test_listedcmap_ncol_equals_nclasses =========== 6 failed, 131 passed, 4 deselected, 3 warnings in 5.48s ============ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.SLtNhJ (%check) Bad exit status from /var/tmp/rpm-tmp.SLtNhJ (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2c1996fa22ae4be0b51499fa69971fb1 -D /var/lib/mock/f41-build-51829166-6208282/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-earthpy.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2c1996fa22ae4be0b51499fa69971fb1 -D /var/lib/mock/f41-build-51829166-6208282/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.25u6id1k:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/python-earthpy.spec'