Mock Version: 6.3 Mock Version: 6.3 Mock Version: 6.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cytoolz.spec'], chrootPath='/var/lib/mock/f43-build-61061240-6588340/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mrc479ff:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mrc479ff:/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', 'd3fba7164a804896b07e3059099ad64a', '-D', '/var/lib/mock/f43-build-61061240-6588340/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mrc479ff:/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 x86_64 --nodeps /builddir/build/SPECS/python-cytoolz.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1750809600 Wrote: /builddir/build/SRPMS/python-cytoolz-1.0.1-3.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cytoolz.spec'], chrootPath='/var/lib/mock/f43-build-61061240-6588340/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mrc479ff:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mrc479ff:/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', '823828991a5a40af9c974dde8e87e879', '-D', '/var/lib/mock/f43-build-61061240-6588340/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mrc479ff:/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 -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cytoolz.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: x86_64 Building for target x86_64 warning: The %py3_build macro is deprecated and will likely stop working in Fedora 44. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ warning: The %py3_install macro is deprecated and will likely stop working in Fedora 44. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ setting SOURCE_DATE_EPOCH=1750809600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.X9A36a Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qfUp4D + umask 022 + cd /builddir/build/BUILD/python-cytoolz-1.0.1-build + cd /builddir/build/BUILD/python-cytoolz-1.0.1-build + rm -rf cytoolz-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cytoolz-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cytoolz-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-cytoolz-0001-todo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f ++ grep -rl '/\* Generated by Cython' + rm cytoolz/dicttoolz.c cytoolz/functoolz.c cytoolz/itertoolz.c cytoolz/recipes.c cytoolz/utils.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PaJnV7 + umask 022 + cd /builddir/build/BUILD/python-cytoolz-1.0.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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-hardened-ld-errors -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 cytoolz-1.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py --with-cython build '--executable=/usr/bin/python3 -sP' [1/5] Cythonizing cytoolz/dicttoolz.pyx [2/5] Cythonizing cytoolz/functoolz.pyx [3/5] Cythonizing cytoolz/itertoolz.pyx [4/5] Cythonizing cytoolz/recipes.pyx [5/5] Cythonizing cytoolz/utils.pyx /usr/lib/python3.14/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/__init__.py -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/_signatures.py -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/_version.py -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/compatibility.py -> build/lib.linux-x86_64-cpython-314/cytoolz creating build/lib.linux-x86_64-cpython-314/cytoolz/curried copying cytoolz/curried/__init__.py -> build/lib.linux-x86_64-cpython-314/cytoolz/curried copying cytoolz/curried/exceptions.py -> build/lib.linux-x86_64-cpython-314/cytoolz/curried copying cytoolz/curried/operator.py -> build/lib.linux-x86_64-cpython-314/cytoolz/curried copying cytoolz/dicttoolz.pyx -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/functoolz.pyx -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/itertoolz.pyx -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/recipes.pyx -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/utils.pyx -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/__init__.pxd -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/cpython.pxd -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/dicttoolz.pxd -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/functoolz.pxd -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/itertoolz.pxd -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/recipes.pxd -> build/lib.linux-x86_64-cpython-314/cytoolz copying cytoolz/utils.pxd -> build/lib.linux-x86_64-cpython-314/cytoolz creating build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/dev_skip_test.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_compatibility.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_curried_toolzlike.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_dev_skip_test.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_dicttoolz.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_docstrings.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_doctests.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_embedded_sigs.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_functoolz.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_inspect_args.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_itertoolz.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_none_safe.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_recipes.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_serialization.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_signatures.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_tlz.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_utils.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests copying cytoolz/tests/test_curried.py -> build/lib.linux-x86_64-cpython-314/cytoolz/tests UPDATING build/lib.linux-x86_64-cpython-314/cytoolz/_version.py set build/lib.linux-x86_64-cpython-314/cytoolz/_version.py to '1.0.1' running build_ext building 'cytoolz.dicttoolz' extension creating build/temp.linux-x86_64-cpython-314/cytoolz gcc -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 -fPIC -I/usr/include/python3.14 -c cytoolz/dicttoolz.c -o build/temp.linux-x86_64-cpython-314/cytoolz/dicttoolz.o gcc -shared -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 build/temp.linux-x86_64-cpython-314/cytoolz/dicttoolz.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-314/cytoolz/dicttoolz.cpython-314-x86_64-linux-gnu.so building 'cytoolz.functoolz' extension gcc -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 -fPIC -I/usr/include/python3.14 -c cytoolz/functoolz.c -o build/temp.linux-x86_64-cpython-314/cytoolz/functoolz.o gcc -shared -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 build/temp.linux-x86_64-cpython-314/cytoolz/functoolz.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-314/cytoolz/functoolz.cpython-314-x86_64-linux-gnu.so building 'cytoolz.itertoolz' extension gcc -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 -fPIC -I/usr/include/python3.14 -c cytoolz/itertoolz.c -o build/temp.linux-x86_64-cpython-314/cytoolz/itertoolz.o gcc -shared -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 build/temp.linux-x86_64-cpython-314/cytoolz/itertoolz.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-314/cytoolz/itertoolz.cpython-314-x86_64-linux-gnu.so building 'cytoolz.recipes' extension gcc -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 -fPIC -I/usr/include/python3.14 -c cytoolz/recipes.c -o build/temp.linux-x86_64-cpython-314/cytoolz/recipes.o gcc -shared -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 build/temp.linux-x86_64-cpython-314/cytoolz/recipes.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-314/cytoolz/recipes.cpython-314-x86_64-linux-gnu.so building 'cytoolz.utils' extension gcc -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 -fPIC -I/usr/include/python3.14 -c cytoolz/utils.c -o build/temp.linux-x86_64-cpython-314/cytoolz/utils.o gcc -shared -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 build/temp.linux-x86_64-cpython-314/cytoolz/utils.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-314/cytoolz/utils.cpython-314-x86_64-linux-gnu.so UPDATING build/lib.linux-x86_64-cpython-314/cytoolz/_version.py set build/lib.linux-x86_64-cpython-314/cytoolz/_version.py to '1.0.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4UhgDn + umask 022 + cd /builddir/build/BUILD/python-cytoolz-1.0.1-build + '[' /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-cytoolz-1.0.1-build + mkdir /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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-hardened-ld-errors -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 cytoolz-1.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py --with-cython install -O1 --skip-build --root /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT --prefix /usr [1/5] Cythonizing cytoolz/utils.pyx [2/5] Cythonizing cytoolz/dicttoolz.pyx [3/5] Cythonizing cytoolz/functoolz.pyx [4/5] Cythonizing cytoolz/itertoolz.pyx [5/5] Cythonizing cytoolz/recipes.pyx /usr/lib/python3.14/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running install /usr/lib/python3.14/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages creating /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/__init__.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/_signatures.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/compatibility.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz creating /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried copying build/lib.linux-x86_64-cpython-314/cytoolz/curried/__init__.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried copying build/lib.linux-x86_64-cpython-314/cytoolz/curried/exceptions.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried copying build/lib.linux-x86_64-cpython-314/cytoolz/curried/operator.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried copying build/lib.linux-x86_64-cpython-314/cytoolz/dicttoolz.pyx -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/functoolz.pyx -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/itertoolz.pyx -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/recipes.pyx -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/utils.pyx -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/__init__.pxd -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/cpython.pxd -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/dicttoolz.pxd -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/functoolz.pxd -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/itertoolz.pxd -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/recipes.pxd -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/utils.pxd -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz creating /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/dev_skip_test.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_compatibility.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_curried_toolzlike.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_dev_skip_test.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_dicttoolz.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_docstrings.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_doctests.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_embedded_sigs.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_functoolz.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_inspect_args.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_itertoolz.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_none_safe.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_recipes.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_serialization.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_signatures.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_tlz.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_utils.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/tests/test_curried.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests copying build/lib.linux-x86_64-cpython-314/cytoolz/dicttoolz.cpython-314-x86_64-linux-gnu.so -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/functoolz.cpython-314-x86_64-linux-gnu.so -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/itertoolz.cpython-314-x86_64-linux-gnu.so -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/recipes.cpython-314-x86_64-linux-gnu.so -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/utils.cpython-314-x86_64-linux-gnu.so -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz copying build/lib.linux-x86_64-cpython-314/cytoolz/_version.py -> /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/__init__.py to __init__.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/_signatures.py to _signatures.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/compatibility.py to compatibility.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried/__init__.py to __init__.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried/exceptions.py to exceptions.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried/operator.py to operator.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/dev_skip_test.py to dev_skip_test.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_compatibility.py to test_compatibility.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_curried_toolzlike.py to test_curried_toolzlike.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_dev_skip_test.py to test_dev_skip_test.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_dicttoolz.py to test_dicttoolz.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_docstrings.py to test_docstrings.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_doctests.py to test_doctests.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_embedded_sigs.py to test_embedded_sigs.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_functoolz.py to test_functoolz.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_inspect_args.py to test_inspect_args.cpython-314.pyc /usr/lib64/python3.14/site-packages/cytoolz/tests/test_inspect_args.py:505: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_itertoolz.py to test_itertoolz.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_none_safe.py to test_none_safe.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_recipes.py to test_recipes.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_serialization.py to test_serialization.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_signatures.py to test_signatures.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_tlz.py to test_tlz.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_utils.py to test_utils.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests/test_curried.py to test_curried.cpython-314.pyc byte-compiling /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/_version.py to _version.cpython-314.pyc writing byte-compilation script '/tmp/tmps3na9kpu.py' /usr/bin/python3 /tmp/tmps3na9kpu.py /usr/lib64/python3.14/site-packages/cytoolz/tests/test_inspect_args.py:505: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? removing /tmp/tmps3na9kpu.py running install_egg_info running egg_info writing cytoolz.egg-info/PKG-INFO writing dependency_links to cytoolz.egg-info/dependency_links.txt writing requirements to cytoolz.egg-info/requires.txt writing top-level names to cytoolz.egg-info/top_level.txt reading manifest file 'cytoolz.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.bak' found anywhere in distribution warning: no previously-included files matching '*.swp' found anywhere in distribution warning: no previously-included files matching '*.swo' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution adding license file 'LICENSE.txt' adding license file 'AUTHORS.md' writing manifest file 'cytoolz.egg-info/SOURCES.txt' Copying cytoolz.egg-info to /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz-1.0.1-py3.14.egg-info running install_scripts + rm -rfv /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/bin/__pycache__ + rm -r /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/tests + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.1-3.fc43 --unique-debug-suffix -1.0.1-3.fc43.x86_64 --unique-debug-src-base python-cytoolz-1.0.1-3.fc43.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/python-cytoolz-1.0.1-build/cytoolz-1.0.1 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-cytoolz-1.0.1-3.fc43.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14 using python3.14 Bytecompiling .py files below /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.14 using python3.14 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried/__pycache__/operator.cpython-314.pyc: rewriting with normalized contents /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried/__pycache__/exceptions.cpython-314.pyc: rewriting with normalized contents /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/curried/__pycache__/__init__.cpython-314.pyc: rewriting with normalized contents /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/__pycache__/__init__.cpython-314.pyc: rewriting with normalized contents /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/__pycache__/compatibility.cpython-314.pyc: rewriting with normalized contents /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/__pycache__/_version.cpython-314.pyc: rewriting with normalized contents /builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/cytoolz/__pycache__/_signatures.cpython-314.pyc: rewriting with normalized contents Scanned 22 directories and 55 files, processed 7 inodes, 7 modified (0 replaced + 7 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-cytoolz-1.0.1-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1qndmS + umask 022 + cd /builddir/build/BUILD/python-cytoolz-1.0.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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-hardened-ld-errors -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 cytoolz-1.0.1 + PYTHONPATH=/builddir/build/BUILD/python-cytoolz-1.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages + PYTHONDONTWRITEBYTECODE=1 + py.test-3.14 cytoolz/tests -v -s ============================= test session starts ============================== platform linux -- Python 3.14.0b4, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-cytoolz-1.0.1-build/cytoolz-1.0.1 configfile: pyproject.toml collecting ... collected 194 items cytoolz/tests/test_compatibility.py::test_compat_warn PASSED cytoolz/tests/test_curried.py::test_take PASSED cytoolz/tests/test_curried.py::test_first PASSED cytoolz/tests/test_curried.py::test_merge PASSED cytoolz/tests/test_curried.py::test_merge_with PASSED cytoolz/tests/test_curried.py::test_merge_with_list PASSED cytoolz/tests/test_curried.py::test_sorted PASSED cytoolz/tests/test_curried.py::test_reduce PASSED cytoolz/tests/test_curried.py::test_module_name PASSED cytoolz/tests/test_curried.py::test_curried_operator HELLO _abs TYPE should be HELLO lt TYPE should be HELLO le TYPE should be HELLO eq TYPE should be HELLO ne TYPE should be HELLO ge TYPE should be HELLO gt TYPE should be HELLO not_ TYPE should be HELLO truth TYPE should be HELLO is_ TYPE should be HELLO is_not TYPE should be HELLO is_none TYPE should be FAILED cytoolz/tests/test_curried.py::test_curried_namespace PASSED cytoolz/tests/test_curried_toolzlike.py::test_toolzcurry_is_class PASSED cytoolz/tests/test_curried_toolzlike.py::test_cytoolz_like_toolz PASSED cytoolz/tests/test_curried_toolzlike.py::test_toolz_like_cytoolz PASSED cytoolz/tests/test_dev_skip_test.py::test_passes PASSED cytoolz/tests/test_dev_skip_test.py::test_dev_skip_test PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_merge PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_merge_iterable_arg PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_merge_with PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_merge_with_iterable_arg PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_valmap PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_keymap PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_itemmap PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_valfilter PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_keyfilter PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_itemfilter PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_assoc PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_dissoc PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_assoc_in PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_update_in PASSED cytoolz/tests/test_dicttoolz.py::TestDict::test_factory PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_merge PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_merge_iterable_arg PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_merge_with PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_merge_with_iterable_arg PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_valmap PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_keymap PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_itemmap PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_valfilter PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_keyfilter PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_itemfilter PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_assoc PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_dissoc PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_assoc_in PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_update_in PASSED cytoolz/tests/test_dicttoolz.py::TestDefaultDict::test_factory PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_merge PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_merge_iterable_arg PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_merge_with PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_merge_with_iterable_arg PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_valmap PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_keymap PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_itemmap PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_valfilter PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_keyfilter PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_itemfilter PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_assoc PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_dissoc PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_assoc_in PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_update_in PASSED cytoolz/tests/test_dicttoolz.py::TestCustomMapping::test_factory PASSED cytoolz/tests/test_dicttoolz.py::test_environ PASSED cytoolz/tests/test_dicttoolz.py::test_merge_with_non_dict_mappings PASSED cytoolz/tests/test_docstrings.py::test_docstrings_uptodate PASSED cytoolz/tests/test_docstrings.py::test_get_in_doctest PASSED cytoolz/tests/test_doctests.py::test_doctest 1 item had no tests: cytoolz 0 tests in 1 item. 0 passed. Test passed. Trying: assoc({'x': 1}, 'x', 2) Expecting: {'x': 2} ok Trying: purchase = {'name': 'Alice', 'order': {'items': ['Apple', 'Orange'], 'costs': [0.50, 1.25]}, 'credit card': '5555-1234-1234-1234'} Expecting nothing ok Trying: dissoc({'x': 1, 'y': 2}, 'y') Expecting: {'x': 1} ok Trying: dissoc({'x': 1, 'y': 2}, 'y', 'x') Expecting: {} ok Trying: dissoc({'x': 1}, 'y') # Ignores missing keys Expecting: {'x': 1} ok Trying: transaction = {'name': 'Alice', 'purchase': {'items': ['Apple', 'Orange'], 'costs': [0.50, 1.25]}, 'credit card': '5555-1234-1234-1234'} Expecting nothing ok Trying: get_in(['purchase', 'items', 0], transaction) Expecting: 'Apple' ok Trying: get_in(['name'], transaction) Expecting: 'Alice' ok Trying: get_in(['purchase', 'total'], transaction) Expecting nothing ok Trying: get_in(['purchase', 'items', 'apple'], transaction) Expecting nothing ok Trying: get_in(['purchase', 'items', 10], transaction) Expecting nothing ok Trying: get_in(['purchase', 'total'], transaction, 0) Expecting: 0 ok Trying: get_in(['y'], {}, no_default=True) Expecting: Traceback (most recent call last): ... KeyError: 'y' ok Trying: def isvalid(item): k, v = item return k % 2 == 0 and v < 4 Expecting nothing ok Trying: d = {1: 2, 2: 3, 3: 4, 4: 5} Expecting nothing ok Trying: itemfilter(isvalid, d) Expecting: {2: 3} ok Trying: accountids = {"Alice": 10, "Bob": 20} Expecting nothing ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: d = {1: 2, 2: 3, 3: 4, 4: 5} Expecting nothing ok Trying: keyfilter(iseven, d) Expecting: {2: 3, 4: 5} ok Trying: bills = {"Alice": [20, 15, 30], "Bob": [10, 35]} Expecting nothing ok Trying: merge({1: 'one'}, {2: 'two'}) Expecting: {1: 'one', 2: 'two'} ok Trying: merge({1: 2, 3: 4}, {3: 3, 4: 4}) Expecting: {1: 2, 3: 3, 4: 4} ok Trying: merge_with(sum, {1: 1, 2: 2}, {1: 10, 2: 20}) Expecting: {1: 11, 2: 22} ok Trying: inc = lambda x: x + 1 Expecting nothing ok Trying: update_in({'a': 0}, ['a'], inc) Expecting: {'a': 1} ok Trying: transaction = {'name': 'Alice', 'purchase': {'items': ['Apple', 'Orange'], 'costs': [0.50, 1.25]}, 'credit card': '5555-1234-1234-1234'} Expecting nothing ok Trying: update_in({}, [1, 2, 3], str, default="bar") Expecting: {1: {2: {3: 'bar'}}} ok Trying: update_in({1: 'foo'}, [2, 3, 4], inc, 0) Expecting: {1: 'foo', 2: {3: {4: 1}}} ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: d = {1: 2, 2: 3, 3: 4, 4: 5} Expecting nothing ok Trying: valfilter(iseven, d) Expecting: {1: 2, 3: 4} ok Trying: bills = {"Alice": [20, 15, 30], "Bob": [10, 35]} Expecting nothing ok Trying: assoc({'x': 1}, 'x', 2) Expecting: {'x': 2} ok Trying: purchase = {'name': 'Alice', 'order': {'items': ['Apple', 'Orange'], 'costs': [0.50, 1.25]}, 'credit card': '5555-1234-1234-1234'} Expecting nothing ok Trying: dissoc({'x': 1, 'y': 2}, 'y') Expecting: {'x': 1} ok Trying: dissoc({'x': 1, 'y': 2}, 'y', 'x') Expecting: {} ok Trying: dissoc({'x': 1}, 'y') # Ignores missing keys Expecting: {'x': 1} ok Trying: transaction = {'name': 'Alice', 'purchase': {'items': ['Apple', 'Orange'], 'costs': [0.50, 1.25]}, 'credit card': '5555-1234-1234-1234'} Expecting nothing ok Trying: get_in(['purchase', 'items', 0], transaction) Expecting: 'Apple' ok Trying: get_in(['name'], transaction) Expecting: 'Alice' ok Trying: get_in(['purchase', 'total'], transaction) Expecting nothing ok Trying: get_in(['purchase', 'items', 'apple'], transaction) Expecting nothing ok Trying: get_in(['purchase', 'items', 10], transaction) Expecting nothing ok Trying: get_in(['purchase', 'total'], transaction, 0) Expecting: 0 ok Trying: get_in(['y'], {}, no_default=True) Expecting: Traceback (most recent call last): ... KeyError: 'y' ok Trying: def isvalid(item): k, v = item return k % 2 == 0 and v < 4 Expecting nothing ok Trying: d = {1: 2, 2: 3, 3: 4, 4: 5} Expecting nothing ok Trying: itemfilter(isvalid, d) Expecting: {2: 3} ok Trying: accountids = {"Alice": 10, "Bob": 20} Expecting nothing ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: d = {1: 2, 2: 3, 3: 4, 4: 5} Expecting nothing ok Trying: keyfilter(iseven, d) Expecting: {2: 3, 4: 5} ok Trying: bills = {"Alice": [20, 15, 30], "Bob": [10, 35]} Expecting nothing ok Trying: merge({1: 'one'}, {2: 'two'}) Expecting: {1: 'one', 2: 'two'} ok Trying: merge({1: 2, 3: 4}, {3: 3, 4: 4}) Expecting: {1: 2, 3: 3, 4: 4} ok Trying: merge_with(sum, {1: 1, 2: 2}, {1: 10, 2: 20}) Expecting: {1: 11, 2: 22} ok Trying: inc = lambda x: x + 1 Expecting nothing ok Trying: update_in({'a': 0}, ['a'], inc) Expecting: {'a': 1} ok Trying: transaction = {'name': 'Alice', 'purchase': {'items': ['Apple', 'Orange'], 'costs': [0.50, 1.25]}, 'credit card': '5555-1234-1234-1234'} Expecting nothing ok Trying: update_in({}, [1, 2, 3], str, default="bar") Expecting: {1: {2: {3: 'bar'}}} ok Trying: update_in({1: 'foo'}, [2, 3, 4], inc, 0) Expecting: {1: 'foo', 2: {3: {4: 1}}} ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: d = {1: 2, 2: 3, 3: 4, 4: 5} Expecting nothing ok Trying: valfilter(iseven, d) Expecting: {1: 2, 3: 4} ok Trying: bills = {"Alice": [20, 15, 30], "Bob": [10, 35]} Expecting nothing ok 8 items had no tests: cytoolz.dicttoolz cytoolz.dicttoolz.__reduce_cython__ cytoolz.dicttoolz.__setstate_cython__ cytoolz.dicttoolz._iter_mapping cytoolz.dicttoolz._iter_mapping.__iter__ cytoolz.dicttoolz._iter_mapping.__next__ cytoolz.dicttoolz._iter_mapping.__reduce__ cytoolz.dicttoolz._iter_mapping.__setstate__ 26 items passed all tests: 2 tests in cytoolz.dicttoolz.__test__.assoc (line 367) 2 tests in cytoolz.dicttoolz.__test__.assoc_in (line 388) 3 tests in cytoolz.dicttoolz.__test__.dissoc (line 447) 8 tests in cytoolz.dicttoolz.__test__.get_in (line 535) 3 tests in cytoolz.dicttoolz.__test__.itemfilter (line 330) 2 tests in cytoolz.dicttoolz.__test__.itemmap (line 236) 3 tests in cytoolz.dicttoolz.__test__.keyfilter (line 298) 2 tests in cytoolz.dicttoolz.__test__.keymap (line 207) 2 tests in cytoolz.dicttoolz.__test__.merge (line 98) 2 tests in cytoolz.dicttoolz.__test__.merge_with (line 155) 6 tests in cytoolz.dicttoolz.__test__.update_in (line 464) 3 tests in cytoolz.dicttoolz.__test__.valfilter (line 266) 2 tests in cytoolz.dicttoolz.__test__.valmap (line 178) 2 tests in cytoolz.dicttoolz.assoc 2 tests in cytoolz.dicttoolz.assoc_in 3 tests in cytoolz.dicttoolz.dissoc 8 tests in cytoolz.dicttoolz.get_in 3 tests in cytoolz.dicttoolz.itemfilter 2 tests in cytoolz.dicttoolz.itemmap 3 tests in cytoolz.dicttoolz.keyfilter 2 tests in cytoolz.dicttoolz.keymap 2 tests in cytoolz.dicttoolz.merge 2 tests in cytoolz.dicttoolz.merge_with 6 tests in cytoolz.dicttoolz.update_in 3 tests in cytoolz.dicttoolz.valfilter 2 tests in cytoolz.dicttoolz.valmap 80 tests in 34 items. 80 passed. Test passed. Trying: def double(x): return 2*x Expecting nothing ok Trying: def inc(x): return x + 1 Expecting nothing ok Trying: apply(double, 5) Expecting: 10 ok Trying: tuple(map(apply, [double, inc, double], [10, 500, 8000])) Expecting: (20, 501, 16000) ok Trying: inc = lambda i: i + 1 Expecting nothing ok Trying: compose(str, inc)(3) Expecting: '4' ok Trying: inc = lambda i: i + 1 Expecting nothing ok Trying: compose_left(inc, str)(3) Expecting: '4' ok Trying: from cytoolz import compose Expecting nothing ok Trying: from cytoolz.curried import do Expecting nothing ok Trying: log = [] Expecting nothing ok Trying: inc = lambda x: x + 1 Expecting nothing ok Trying: inc = compose(inc, do(log.append)) Expecting nothing ok Trying: inc(1) Expecting: 2 ok Trying: inc(11) Expecting: 12 ok Trying: log Expecting: [1, 11] ok Trying: def div(a, b): return a // b Expecting nothing ok Trying: flip(div, 2, 6) Expecting: 3 ok Trying: div_by_two = flip(div, 2) Expecting nothing ok Trying: div_by_two(4) Expecting: 2 ok Trying: data = [1, 'a', 'b', 2, 1.5, object(), 3] Expecting nothing ok Trying: only_ints = list(filter(flip(isinstance, int), data)) Expecting nothing ok Trying: only_ints Expecting: [1, 2, 3] ok Trying: identity(3) Expecting: 3 ok Trying: def add(x, y): return x + y Expecting nothing ok Trying: add = memoize(add) Expecting nothing ok Trying: @memoize def add(x, y): return x + y Expecting nothing ok Trying: @memoize(cache={(1, 2): 3}) def add(x, y): return x + y Expecting nothing ok Trying: @memoize(key=lambda args, kwargs: args) def add(x, y, verbose=False): if verbose: print('Calculating %s + %s' % (x, y)) return x + y Expecting nothing ok Trying: double = lambda i: 2 * i Expecting nothing ok Trying: pipe(3, double, str) Expecting: '6' ok Trying: def double(x): return 2*x Expecting nothing ok Trying: def inc(x): return x + 1 Expecting nothing ok Trying: thread_first(1, inc, double) Expecting: 4 ok Trying: def add(x, y): return x + y Expecting nothing ok Trying: def pow(x, y): return x**y Expecting nothing ok Trying: thread_first(1, (add, 4), (pow, 2)) # pow(add(1, 4), 2) Expecting: 25 ok Trying: def double(x): return 2*x Expecting nothing ok Trying: def inc(x): return x + 1 Expecting nothing ok Trying: thread_last(1, inc, double) Expecting: 4 ok Trying: def add(x, y): return x + y Expecting nothing ok Trying: def pow(x, y): return x**y Expecting nothing ok Trying: thread_last(1, (add, 4), (pow, 2)) # pow(2, add(4, 1)) Expecting: 32 ok Trying: def iseven(x): return x % 2 == 0 Expecting nothing ok Trying: list(thread_last([1, 2, 3], (map, inc), (filter, iseven))) Expecting: [2, 4] ok Trying: def div(a, b): return a // b Expecting nothing ok Trying: flip(div, 2, 6) Expecting: 3 ok Trying: div_by_two = flip(div, 2) Expecting nothing ok Trying: div_by_two(4) Expecting: 2 ok Trying: data = [1, 'a', 'b', 2, 1.5, object(), 3] Expecting nothing ok Trying: only_ints = list(filter(flip(isinstance, int), data)) Expecting nothing ok Trying: only_ints Expecting: [1, 2, 3] ok Trying: def double(x): return 2*x Expecting nothing ok Trying: def inc(x): return x + 1 Expecting nothing ok Trying: apply(double, 5) Expecting: 10 ok Trying: tuple(map(apply, [double, inc, double], [10, 500, 8000])) Expecting: (20, 501, 16000) ok Trying: def iseven(n): return n % 2 == 0 Expecting nothing ok Trying: isodd = complement(iseven) Expecting nothing ok Trying: iseven(2) Expecting: True ok Trying: isodd(2) Expecting: False ok Trying: inc = lambda i: i + 1 Expecting nothing ok Trying: compose(str, inc)(3) Expecting: '4' ok Trying: inc = lambda i: i + 1 Expecting nothing ok Trying: compose_left(inc, str)(3) Expecting: '4' ok Trying: def mul(x, y): return x * y Expecting nothing ok Trying: mul = curry(mul) Expecting nothing ok Trying: double = mul(2) Expecting nothing ok Trying: double(10) Expecting: 20 ok Trying: @curry # Can use curry as a decorator def f(x, y, a=10): return a * (x + y) Expecting nothing ok Trying: add = f(a=1) Expecting nothing ok Trying: add(2, 3) Expecting: 5 ok Trying: from cytoolz import compose Expecting nothing ok Trying: from cytoolz.curried import do Expecting nothing ok Trying: log = [] Expecting nothing ok Trying: inc = lambda x: x + 1 Expecting nothing ok Trying: inc = compose(inc, do(log.append)) Expecting nothing ok Trying: inc(1) Expecting: 2 ok Trying: inc(11) Expecting: 12 ok Trying: log Expecting: [1, 11] ok Trying: excepting = excepts( ValueError, lambda a: [1, 2].index(a), lambda _: -1, ) Expecting nothing ok Trying: excepting(1) Expecting: 0 ok Trying: excepting(3) Expecting: -1 ok Trying: excepting = excepts((IndexError, KeyError), lambda a: a[0]) Expecting nothing ok Trying: excepting([]) Expecting nothing ok Trying: excepting([1]) Expecting: 1 ok Trying: excepting({}) Expecting nothing ok Trying: excepting({0: 1}) Expecting: 1 ok Trying: def div(a, b): return a // b Expecting nothing ok Trying: flip(div, 2, 6) Expecting: 3 ok Trying: div_by_two = flip(div, 2) Expecting nothing ok Trying: div_by_two(4) Expecting: 2 ok Trying: data = [1, 'a', 'b', 2, 1.5, object(), 3] Expecting nothing ok Trying: only_ints = list(filter(flip(isinstance, int), data)) Expecting nothing ok Trying: only_ints Expecting: [1, 2, 3] ok Trying: identity(3) Expecting: 3 ok Trying: inc = lambda x: x + 1 Expecting nothing ok Trying: double = lambda x: x * 2 Expecting nothing ok Trying: juxt(inc, double)(10) Expecting: (11, 20) ok Trying: juxt([inc, double])(10) Expecting: (11, 20) ok Trying: def add(x, y): return x + y Expecting nothing ok Trying: add = memoize(add) Expecting nothing ok Trying: @memoize def add(x, y): return x + y Expecting nothing ok Trying: @memoize(cache={(1, 2): 3}) def add(x, y): return x + y Expecting nothing ok Trying: @memoize(key=lambda args, kwargs: args) def add(x, y, verbose=False): if verbose: print('Calculating %s + %s' % (x, y)) return x + y Expecting nothing ok Trying: double = lambda i: 2 * i Expecting nothing ok Trying: pipe(3, double, str) Expecting: '6' ok Trying: def double(x): return 2*x Expecting nothing ok Trying: def inc(x): return x + 1 Expecting nothing ok Trying: thread_first(1, inc, double) Expecting: 4 ok Trying: def add(x, y): return x + y Expecting nothing ok Trying: def pow(x, y): return x**y Expecting nothing ok Trying: thread_first(1, (add, 4), (pow, 2)) # pow(add(1, 4), 2) Expecting: 25 ok Trying: def double(x): return 2*x Expecting nothing ok Trying: def inc(x): return x + 1 Expecting nothing ok Trying: thread_last(1, inc, double) Expecting: 4 ok Trying: def add(x, y): return x + y Expecting nothing ok Trying: def pow(x, y): return x**y Expecting nothing ok Trying: thread_last(1, (add, 4), (pow, 2)) # pow(2, add(4, 1)) Expecting: 32 ok Trying: def iseven(x): return x % 2 == 0 Expecting nothing ok Trying: list(thread_last([1, 2, 3], (map, inc), (filter, iseven))) Expecting: [2, 4] ok 46 items had no tests: cytoolz.functoolz cytoolz.functoolz.Compose cytoolz.functoolz.Compose.__call__ cytoolz.functoolz.Compose.__eq__ cytoolz.functoolz.Compose.__ge__ cytoolz.functoolz.Compose.__get__ cytoolz.functoolz.Compose.__gt__ cytoolz.functoolz.Compose.__hash__ cytoolz.functoolz.Compose.__le__ cytoolz.functoolz.Compose.__lt__ cytoolz.functoolz.Compose.__ne__ cytoolz.functoolz.Compose.__reduce__ cytoolz.functoolz.Compose.__repr__ cytoolz.functoolz.Compose.__setstate__ cytoolz.functoolz.__reduce_cython__ cytoolz.functoolz.__setstate_cython__ cytoolz.functoolz._memoize cytoolz.functoolz._memoize.__call__ cytoolz.functoolz._memoize.__get__ cytoolz.functoolz._memoize.__reduce__ cytoolz.functoolz._memoize.__setstate__ cytoolz.functoolz._restore_curry cytoolz.functoolz.complement.__call__ cytoolz.functoolz.complement.__reduce__ cytoolz.functoolz.curry.__call__ cytoolz.functoolz.curry.__eq__ cytoolz.functoolz.curry.__ge__ cytoolz.functoolz.curry.__get__ cytoolz.functoolz.curry.__gt__ cytoolz.functoolz.curry.__hash__ cytoolz.functoolz.curry.__le__ cytoolz.functoolz.curry.__lt__ cytoolz.functoolz.curry.__ne__ cytoolz.functoolz.curry.__reduce__ cytoolz.functoolz.curry.__repr__ cytoolz.functoolz.curry.__str__ cytoolz.functoolz.curry._should_curry cytoolz.functoolz.curry._should_curry_internal cytoolz.functoolz.curry.bind cytoolz.functoolz.curry.call cytoolz.functoolz.excepts.__call__ cytoolz.functoolz.excepts.__reduce__ cytoolz.functoolz.excepts.__setstate__ cytoolz.functoolz.juxt.__call__ cytoolz.functoolz.juxt.__reduce__ cytoolz.functoolz.return_none 25 items passed all tests: 4 tests in cytoolz.functoolz.__test__.apply (line 38) 2 tests in cytoolz.functoolz.__test__.compose (line 604) 2 tests in cytoolz.functoolz.__test__.compose_left (line 635) 8 tests in cytoolz.functoolz.__test__.do (line 746) 7 tests in cytoolz.functoolz.__test__.flip (line 773) 1 test in cytoolz.functoolz.__test__.identity (line 29) 5 tests in cytoolz.functoolz.__test__.memoize (line 409) 2 tests in cytoolz.functoolz.__test__.pipe (line 664) 6 tests in cytoolz.functoolz.__test__.thread_first (line 69) 8 tests in cytoolz.functoolz.__test__.thread_last (line 111) 7 tests in cytoolz.functoolz._flip 4 tests in cytoolz.functoolz.apply 4 tests in cytoolz.functoolz.complement 2 tests in cytoolz.functoolz.compose 2 tests in cytoolz.functoolz.compose_left 7 tests in cytoolz.functoolz.curry 8 tests in cytoolz.functoolz.do 8 tests in cytoolz.functoolz.excepts 7 tests in cytoolz.functoolz.flip 1 test in cytoolz.functoolz.identity 4 tests in cytoolz.functoolz.juxt 5 tests in cytoolz.functoolz.memoize 2 tests in cytoolz.functoolz.pipe 6 tests in cytoolz.functoolz.thread_first 8 tests in cytoolz.functoolz.thread_last 120 tests in 71 items. 120 passed. Test passed. Trying: list(concat([[], [1], [2, 3]])) Expecting: [1, 2, 3] ok Trying: list(concatv([], ["a"], ["b", "c"])) Expecting: ['a', 'b', 'c'] ok Trying: list(cons(1, [2, 3])) Expecting: [1, 2, 3] ok Trying: list(diff([1, 2, 3], [1, 2, 10, 100])) Expecting: [(3, 10)] ok Trying: list(diff([1, 2, 3], [1, 2, 10, 100], default=None)) Expecting: [(3, 10), (None, 100)] ok Trying: list(diff(['apples', 'bananas'], ['Apples', 'Oranges'], key=str.lower)) Expecting: [('bananas', 'Oranges')] ok Trying: list(drop(2, [10, 20, 30, 40, 50])) Expecting: [30, 40, 50] ok Trying: first('ABC') Expecting: 'A' ok Trying: get(1, 'ABC') # Same as 'ABC'[1] Expecting: 'B' ok Trying: get([1, 2], 'ABC') # ('ABC'[1], 'ABC'[2]) Expecting: ('B', 'C') ok Trying: phonebook = {'Alice': '555-1234', 'Bob': '555-5678', 'Charlie':'555-9999'} Expecting nothing ok Trying: get('Alice', phonebook) Expecting: '555-1234' ok Trying: get(['Alice', 'Bob'], phonebook) Expecting: ('555-1234', '555-5678') ok Trying: get(['Alice', 'Dennis'], phonebook, None) Expecting: ('555-1234', None) ok Trying: names = ['Alice', 'Bob', 'Charlie', 'Dan', 'Edith', 'Frank'] Expecting nothing ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: isdistinct([1, 2, 3]) Expecting: True ok Trying: isdistinct([1, 2, 1]) Expecting: False ok Trying: isdistinct("Hello") Expecting: False ok Trying: isdistinct("World") Expecting: True ok Trying: isiterable([1, 2, 3]) Expecting: True ok Trying: isiterable('abc') Expecting: True ok Trying: isiterable(5) Expecting: False ok Trying: friends = [('Alice', 'Edith'), ('Alice', 'Zhao'), ('Edith', 'Alice'), ('Zhao', 'Alice'), ('Zhao', 'Edith')] Expecting nothing ok Trying: cities = [('Alice', 'NYC'), ('Alice', 'Chicago'), ('Dan', 'Sydney'), ('Edith', 'Paris'), ('Edith', 'Berlin'), ('Zhao', 'Shanghai')] Expecting nothing ok Trying: result = join(second, friends, first, cities) Expecting nothing ok Trying: for ((a, b), (c, d)) in sorted(unique(result)): print((a, d)) Expecting: ('Alice', 'Berlin') ('Alice', 'Paris') ('Alice', 'Shanghai') ('Edith', 'Chicago') ('Edith', 'NYC') ('Zhao', 'Chicago') ('Zhao', 'NYC') ('Zhao', 'Berlin') ('Zhao', 'Paris') ok Trying: identity = lambda x: x Expecting nothing ok Trying: list(join(identity, [1, 2, 3], identity, [2, 3, 4], left_default=None, right_default=None)) Expecting: [(2, 2), (3, 3), (None, 4), (1, None)] ok Trying: last('ABC') Expecting: 'C' ok Trying: list(mapcat(lambda s: [c.upper() for c in s], [["a", "b"], ["c", "d", "e"]])) Expecting: ['A', 'B', 'C', 'D', 'E'] ok Trying: list(merge_sorted([1, 3, 5], [2, 4, 6])) Expecting: [1, 2, 3, 4, 5, 6] ok Trying: ''.join(merge_sorted('abc', 'abc', 'abc')) Expecting: 'aaabbbccc' ok Trying: list(merge_sorted([2, 3], [1, 3], key=lambda x: x // 3)) Expecting: [2, 1, 3, 3] ok Trying: nth(1, 'ABC') Expecting: 'B' ok Trying: list(partition(2, [1, 2, 3, 4])) Expecting: [(1, 2), (3, 4)] ok Trying: list(partition(2, [1, 2, 3, 4, 5])) Expecting: [(1, 2), (3, 4)] ok Trying: list(partition(2, [1, 2, 3, 4, 5], pad=None)) Expecting: [(1, 2), (3, 4), (5, None)] ok Trying: seq = [0, 1, 2, 3, 4] Expecting nothing ok Trying: first, seq = peek(seq) Expecting nothing ok Trying: first Expecting: 0 ok Trying: list(seq) Expecting: [0, 1, 2, 3, 4] ok Trying: seq = [0, 1, 2, 3, 4] Expecting nothing ok Trying: first_two, seq = peekn(2, seq) Expecting nothing ok Trying: first_two Expecting: (0, 1) ok Trying: list(seq) Expecting: [0, 1, 2, 3, 4] ok Trying: data = [{'id': 1, 'name': 'Cheese'}, {'id': 2, 'name': 'Pies'}] Expecting nothing ok Trying: list(pluck('name', data)) Expecting: ['Cheese', 'Pies'] ok Trying: list(pluck([0, 1], [[1, 2, 3], [4, 5, 7]])) Expecting: [(1, 2), (4, 5)] ok Trying: from operator import add, mul Expecting nothing ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: data = [1, 2, 3, 4, 5] Expecting nothing ok Trying: projects = [{'name': 'build roads', 'state': 'CA', 'cost': 1000000}, {'name': 'fight crime', 'state': 'IL', 'cost': 100000}, {'name': 'help farmers', 'state': 'IL', 'cost': 2000000}, {'name': 'help farmers', 'state': 'CA', 'cost': 200000}] Expecting nothing ok Trying: def set_add(s, i): s.add(i) return s Expecting nothing ok Trying: second('ABC') Expecting: 'B' ok Trying: tail(2, [10, 20, 30, 40, 50]) Expecting: [40, 50] ok Trying: list(take(2, [10, 20, 30, 40, 50])) Expecting: [10, 20] ok Trying: list(take_nth(2, [10, 20, 30, 40, 50])) Expecting: [10, 30, 50] ok Trying: topk(2, [1, 100, 10, 1000]) Expecting: (1000, 100) ok Trying: topk(2, ['Alice', 'Bob', 'Charlie', 'Dan'], key=len) Expecting: ('Charlie', 'Alice') ok Trying: tuple(unique((1, 2, 3))) Expecting: (1, 2, 3) ok Trying: tuple(unique((1, 2, 1, 3))) Expecting: (1, 2, 3) ok Trying: tuple(unique(['cat', 'mouse', 'dog', 'hen'], key=len)) Expecting: ('cat', 'mouse') ok Trying: from operator import add, mul Expecting nothing ok Trying: list(accumulate(add, [1, 2, 3, 4, 5])) Expecting: [1, 3, 6, 10, 15] ok Trying: list(accumulate(mul, [1, 2, 3, 4, 5])) Expecting: [1, 2, 6, 24, 120] ok Trying: from functools import partial, reduce Expecting nothing ok Trying: sum = partial(reduce, add) Expecting nothing ok Trying: cumsum = partial(accumulate, add) Expecting nothing ok Trying: list(accumulate(add, [1, 2, 3], -1)) Expecting: [-1, 0, 2, 5] ok Trying: list(accumulate(add, [], 1)) Expecting: [1] ok Trying: list(concat([[], [1], [2, 3]])) Expecting: [1, 2, 3] ok Trying: list(concatv([], ["a"], ["b", "c"])) Expecting: ['a', 'b', 'c'] ok Trying: list(cons(1, [2, 3])) Expecting: [1, 2, 3] ok Trying: list(diff([1, 2, 3], [1, 2, 10, 100])) Expecting: [(3, 10)] ok Trying: list(diff([1, 2, 3], [1, 2, 10, 100], default=None)) Expecting: [(3, 10), (None, 100)] ok Trying: list(diff(['apples', 'bananas'], ['Apples', 'Oranges'], key=str.lower)) Expecting: [('bananas', 'Oranges')] ok Trying: list(drop(2, [10, 20, 30, 40, 50])) Expecting: [30, 40, 50] ok Trying: first('ABC') Expecting: 'A' ok Trying: get(1, 'ABC') # Same as 'ABC'[1] Expecting: 'B' ok Trying: get([1, 2], 'ABC') # ('ABC'[1], 'ABC'[2]) Expecting: ('B', 'C') ok Trying: phonebook = {'Alice': '555-1234', 'Bob': '555-5678', 'Charlie':'555-9999'} Expecting nothing ok Trying: get('Alice', phonebook) Expecting: '555-1234' ok Trying: get(['Alice', 'Bob'], phonebook) Expecting: ('555-1234', '555-5678') ok Trying: get(['Alice', 'Dennis'], phonebook, None) Expecting: ('555-1234', None) ok Trying: names = ['Alice', 'Bob', 'Charlie', 'Dan', 'Edith', 'Frank'] Expecting nothing ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: list(interleave([[1, 2], [3, 4]])) Expecting: [1, 3, 2, 4] ok Trying: ''.join(interleave(('ABC', 'XY'))) Expecting: 'AXBYC' ok Trying: list(interpose("a", [1, 2, 3])) Expecting: [1, 'a', 2, 'a', 3] ok Trying: isdistinct([1, 2, 3]) Expecting: True ok Trying: isdistinct([1, 2, 1]) Expecting: False ok Trying: isdistinct("Hello") Expecting: False ok Trying: isdistinct("World") Expecting: True ok Trying: isiterable([1, 2, 3]) Expecting: True ok Trying: isiterable('abc') Expecting: True ok Trying: isiterable(5) Expecting: False ok Trying: def inc(x): return x + 1 Expecting nothing ok Trying: counter = iterate(inc, 0) Expecting nothing ok Trying: next(counter) Expecting: 0 ok Trying: next(counter) Expecting: 1 ok Trying: next(counter) Expecting: 2 ok Trying: double = lambda x: x * 2 Expecting nothing ok Trying: powers_of_two = iterate(double, 1) Expecting nothing ok Trying: next(powers_of_two) Expecting: 1 ok Trying: next(powers_of_two) Expecting: 2 ok Trying: next(powers_of_two) Expecting: 4 ok Trying: next(powers_of_two) Expecting: 8 ok Trying: friends = [('Alice', 'Edith'), ('Alice', 'Zhao'), ('Edith', 'Alice'), ('Zhao', 'Alice'), ('Zhao', 'Edith')] Expecting nothing ok Trying: cities = [('Alice', 'NYC'), ('Alice', 'Chicago'), ('Dan', 'Sydney'), ('Edith', 'Paris'), ('Edith', 'Berlin'), ('Zhao', 'Shanghai')] Expecting nothing ok Trying: result = join(second, friends, first, cities) Expecting nothing ok Trying: for ((a, b), (c, d)) in sorted(unique(result)): print((a, d)) Expecting: ('Alice', 'Berlin') ('Alice', 'Paris') ('Alice', 'Shanghai') ('Edith', 'Chicago') ('Edith', 'NYC') ('Zhao', 'Chicago') ('Zhao', 'NYC') ('Zhao', 'Berlin') ('Zhao', 'Paris') ok Trying: identity = lambda x: x Expecting nothing ok Trying: list(join(identity, [1, 2, 3], identity, [2, 3, 4], left_default=None, right_default=None)) Expecting: [(2, 2), (3, 3), (None, 4), (1, None)] ok Trying: last('ABC') Expecting: 'C' ok Trying: list(mapcat(lambda s: [c.upper() for c in s], [["a", "b"], ["c", "d", "e"]])) Expecting: ['A', 'B', 'C', 'D', 'E'] ok Trying: list(merge_sorted([1, 3, 5], [2, 4, 6])) Expecting: [1, 2, 3, 4, 5, 6] ok Trying: ''.join(merge_sorted('abc', 'abc', 'abc')) Expecting: 'aaabbbccc' ok Trying: list(merge_sorted([2, 3], [1, 3], key=lambda x: x // 3)) Expecting: [2, 1, 3, 3] ok Trying: nth(1, 'ABC') Expecting: 'B' ok Trying: list(partition(2, [1, 2, 3, 4])) Expecting: [(1, 2), (3, 4)] ok Trying: list(partition(2, [1, 2, 3, 4, 5])) Expecting: [(1, 2), (3, 4)] ok Trying: list(partition(2, [1, 2, 3, 4, 5], pad=None)) Expecting: [(1, 2), (3, 4), (5, None)] ok Trying: list(partition_all(2, [1, 2, 3, 4])) Expecting: [(1, 2), (3, 4)] ok Trying: list(partition_all(2, [1, 2, 3, 4, 5])) Expecting: [(1, 2), (3, 4), (5,)] ok Trying: seq = [0, 1, 2, 3, 4] Expecting nothing ok Trying: first, seq = peek(seq) Expecting nothing ok Trying: first Expecting: 0 ok Trying: list(seq) Expecting: [0, 1, 2, 3, 4] ok Trying: seq = [0, 1, 2, 3, 4] Expecting nothing ok Trying: first_two, seq = peekn(2, seq) Expecting nothing ok Trying: first_two Expecting: (0, 1) ok Trying: list(seq) Expecting: [0, 1, 2, 3, 4] ok Trying: data = [{'id': 1, 'name': 'Cheese'}, {'id': 2, 'name': 'Pies'}] Expecting nothing ok Trying: list(pluck('name', data)) Expecting: ['Cheese', 'Pies'] ok Trying: list(pluck([0, 1], [[1, 2, 3], [4, 5, 7]])) Expecting: [(1, 2), (4, 5)] ok Trying: seq = list(range(100)) Expecting nothing ok Trying: list(random_sample(0.1, seq, random_state=2016)) Expecting: [7, 9, 19, 25, 30, 32, 34, 48, 59, 60, 81, 98] ok Trying: list(random_sample(0.1, seq, random_state=2016)) Expecting: [7, 9, 19, 25, 30, 32, 34, 48, 59, 60, 81, 98] ok Trying: from random import Random Expecting nothing ok Trying: randobj = Random(2016) Expecting nothing ok Trying: list(random_sample(0.1, seq, random_state=randobj)) Expecting: [7, 9, 19, 25, 30, 32, 34, 48, 59, 60, 81, 98] ok Trying: from operator import add, mul Expecting nothing ok Trying: iseven = lambda x: x % 2 == 0 Expecting nothing ok Trying: data = [1, 2, 3, 4, 5] Expecting nothing ok Trying: projects = [{'name': 'build roads', 'state': 'CA', 'cost': 1000000}, {'name': 'fight crime', 'state': 'IL', 'cost': 100000}, {'name': 'help farmers', 'state': 'IL', 'cost': 2000000}, {'name': 'help farmers', 'state': 'CA', 'cost': 200000}] Expecting nothing ok Trying: def set_add(s, i): s.add(i) return s Expecting nothing ok Trying: def iseven(x): return x % 2 == 0 Expecting nothing ok Trying: list(remove(iseven, [1, 2, 3, 4])) Expecting: [1, 3] ok Trying: second('ABC') Expecting: 'B' ok Trying: list(sliding_window(2, [1, 2, 3, 4])) Expecting: [(1, 2), (2, 3), (3, 4)] ok Trying: mean = lambda seq: float(sum(seq)) / len(seq) Expecting nothing ok Trying: list(map(mean, sliding_window(2, [1, 2, 3, 4]))) Expecting: [1.5, 2.5, 3.5] ok Trying: tail(2, [10, 20, 30, 40, 50]) Expecting: [40, 50] ok Trying: list(take(2, [10, 20, 30, 40, 50])) Expecting: [10, 20] ok Trying: list(take_nth(2, [10, 20, 30, 40, 50])) Expecting: [10, 30, 50] ok Trying: topk(2, [1, 100, 10, 1000]) Expecting: (1000, 100) ok Trying: topk(2, ['Alice', 'Bob', 'Charlie', 'Dan'], key=len) Expecting: ('Charlie', 'Alice') ok Trying: tuple(unique((1, 2, 3))) Expecting: (1, 2, 3) ok Trying: tuple(unique((1, 2, 1, 3))) Expecting: (1, 2, 3) ok Trying: tuple(unique(['cat', 'mouse', 'dog', 'hen'], key=len)) Expecting: ('cat', 'mouse') ok 160 items had no tests: cytoolz.itertoolz cytoolz.itertoolz.__pyx_unpickle__getter_null cytoolz.itertoolz.__reduce_cython__ cytoolz.itertoolz.__setstate_cython__ cytoolz.itertoolz._diff_identity cytoolz.itertoolz._diff_identity.__iter__ cytoolz.itertoolz._diff_identity.__next__ cytoolz.itertoolz._diff_identity.__reduce__ cytoolz.itertoolz._diff_identity.__setstate__ cytoolz.itertoolz._diff_key cytoolz.itertoolz._diff_key.__iter__ cytoolz.itertoolz._diff_key.__next__ cytoolz.itertoolz._diff_key.__reduce__ cytoolz.itertoolz._diff_key.__setstate__ cytoolz.itertoolz._getter_index cytoolz.itertoolz._getter_index.__call__ cytoolz.itertoolz._getter_index.__reduce__ cytoolz.itertoolz._getter_index.__setstate__ cytoolz.itertoolz._getter_list cytoolz.itertoolz._getter_list.__call__ cytoolz.itertoolz._getter_list.__reduce__ cytoolz.itertoolz._getter_list.__setstate__ cytoolz.itertoolz._getter_null cytoolz.itertoolz._getter_null.__call__ cytoolz.itertoolz._getter_null.__reduce__ cytoolz.itertoolz._getter_null.__reduce_cython__ cytoolz.itertoolz._getter_null.__setstate__ cytoolz.itertoolz._getter_null.__setstate_cython__ cytoolz.itertoolz._inner_join cytoolz.itertoolz._inner_join.__next__ cytoolz.itertoolz._inner_join.__reduce__ cytoolz.itertoolz._inner_join.__setstate__ cytoolz.itertoolz._inner_join_index cytoolz.itertoolz._inner_join_index.__reduce__ cytoolz.itertoolz._inner_join_index.__setstate__ cytoolz.itertoolz._inner_join_indices cytoolz.itertoolz._inner_join_indices.__reduce__ cytoolz.itertoolz._inner_join_indices.__setstate__ cytoolz.itertoolz._inner_join_key cytoolz.itertoolz._inner_join_key.__reduce__ cytoolz.itertoolz._inner_join_key.__setstate__ cytoolz.itertoolz._join cytoolz.itertoolz._join.__iter__ cytoolz.itertoolz._join.__reduce__ cytoolz.itertoolz._join.__setstate__ cytoolz.itertoolz._left_outer_join cytoolz.itertoolz._left_outer_join.__next__ cytoolz.itertoolz._left_outer_join.__reduce__ cytoolz.itertoolz._left_outer_join.__setstate__ cytoolz.itertoolz._left_outer_join_index cytoolz.itertoolz._left_outer_join_index.__reduce__ cytoolz.itertoolz._left_outer_join_index.__setstate__ cytoolz.itertoolz._left_outer_join_indices cytoolz.itertoolz._left_outer_join_indices.__reduce__ cytoolz.itertoolz._left_outer_join_indices.__setstate__ cytoolz.itertoolz._left_outer_join_key cytoolz.itertoolz._left_outer_join_key.__reduce__ cytoolz.itertoolz._left_outer_join_key.__setstate__ cytoolz.itertoolz._merge_sorted cytoolz.itertoolz._merge_sorted.__iter__ cytoolz.itertoolz._merge_sorted.__next__ cytoolz.itertoolz._merge_sorted.__reduce__ cytoolz.itertoolz._merge_sorted.__setstate__ cytoolz.itertoolz._merge_sorted_key cytoolz.itertoolz._merge_sorted_key.__iter__ cytoolz.itertoolz._merge_sorted_key.__next__ cytoolz.itertoolz._merge_sorted_key.__reduce__ cytoolz.itertoolz._merge_sorted_key.__setstate__ cytoolz.itertoolz._outer_join cytoolz.itertoolz._outer_join.__next__ cytoolz.itertoolz._outer_join.__reduce__ cytoolz.itertoolz._outer_join.__setstate__ cytoolz.itertoolz._outer_join_index cytoolz.itertoolz._outer_join_index.__reduce__ cytoolz.itertoolz._outer_join_index.__setstate__ cytoolz.itertoolz._outer_join_indices cytoolz.itertoolz._outer_join_indices.__reduce__ cytoolz.itertoolz._outer_join_indices.__setstate__ cytoolz.itertoolz._outer_join_key cytoolz.itertoolz._outer_join_key.__reduce__ cytoolz.itertoolz._outer_join_key.__setstate__ cytoolz.itertoolz._pluck_index cytoolz.itertoolz._pluck_index.__iter__ cytoolz.itertoolz._pluck_index.__next__ cytoolz.itertoolz._pluck_index.__reduce__ cytoolz.itertoolz._pluck_index.__setstate__ cytoolz.itertoolz._pluck_index_default cytoolz.itertoolz._pluck_index_default.__iter__ cytoolz.itertoolz._pluck_index_default.__next__ cytoolz.itertoolz._pluck_index_default.__reduce__ cytoolz.itertoolz._pluck_index_default.__setstate__ cytoolz.itertoolz._pluck_list cytoolz.itertoolz._pluck_list.__iter__ cytoolz.itertoolz._pluck_list.__next__ cytoolz.itertoolz._pluck_list.__reduce__ cytoolz.itertoolz._pluck_list.__setstate__ cytoolz.itertoolz._pluck_list_default cytoolz.itertoolz._pluck_list_default.__iter__ cytoolz.itertoolz._pluck_list_default.__next__ cytoolz.itertoolz._pluck_list_default.__reduce__ cytoolz.itertoolz._pluck_list_default.__setstate__ cytoolz.itertoolz._right_outer_join cytoolz.itertoolz._right_outer_join.__next__ cytoolz.itertoolz._right_outer_join.__reduce__ cytoolz.itertoolz._right_outer_join.__setstate__ cytoolz.itertoolz._right_outer_join_index cytoolz.itertoolz._right_outer_join_index.__reduce__ cytoolz.itertoolz._right_outer_join_index.__setstate__ cytoolz.itertoolz._right_outer_join_indices cytoolz.itertoolz._right_outer_join_indices.__reduce__ cytoolz.itertoolz._right_outer_join_indices.__setstate__ cytoolz.itertoolz._right_outer_join_key cytoolz.itertoolz._right_outer_join_key.__reduce__ cytoolz.itertoolz._right_outer_join_key.__setstate__ cytoolz.itertoolz._unique_identity cytoolz.itertoolz._unique_identity.__iter__ cytoolz.itertoolz._unique_identity.__next__ cytoolz.itertoolz._unique_identity.__reduce__ cytoolz.itertoolz._unique_identity.__setstate__ cytoolz.itertoolz._unique_key cytoolz.itertoolz._unique_key.__iter__ cytoolz.itertoolz._unique_key.__next__ cytoolz.itertoolz._unique_key.__reduce__ cytoolz.itertoolz._unique_key.__setstate__ cytoolz.itertoolz.accumulate.__iter__ cytoolz.itertoolz.accumulate.__next__ cytoolz.itertoolz.accumulate.__reduce__ cytoolz.itertoolz.accumulate.__setstate__ cytoolz.itertoolz.count cytoolz.itertoolz.getter cytoolz.itertoolz.identity cytoolz.itertoolz.interleave.__iter__ cytoolz.itertoolz.interleave.__next__ cytoolz.itertoolz.interleave.__reduce__ cytoolz.itertoolz.interleave.__setstate__ cytoolz.itertoolz.interpose.__iter__ cytoolz.itertoolz.interpose.__next__ cytoolz.itertoolz.interpose.__reduce__ cytoolz.itertoolz.interpose.__setstate__ cytoolz.itertoolz.iterate.__iter__ cytoolz.itertoolz.iterate.__next__ cytoolz.itertoolz.iterate.__reduce__ cytoolz.itertoolz.iterate.__setstate__ cytoolz.itertoolz.partition_all.__iter__ cytoolz.itertoolz.partition_all.__next__ cytoolz.itertoolz.partition_all.__reduce__ cytoolz.itertoolz.partition_all.__setstate__ cytoolz.itertoolz.random_sample.__iter__ cytoolz.itertoolz.random_sample.__next__ cytoolz.itertoolz.random_sample.__reduce__ cytoolz.itertoolz.random_sample.__setstate__ cytoolz.itertoolz.remove.__iter__ cytoolz.itertoolz.remove.__next__ cytoolz.itertoolz.remove.__reduce__ cytoolz.itertoolz.remove.__setstate__ cytoolz.itertoolz.rest cytoolz.itertoolz.sliding_window.__iter__ cytoolz.itertoolz.sliding_window.__next__ cytoolz.itertoolz.sliding_window.__reduce__ cytoolz.itertoolz.sliding_window.__setstate__ 62 items passed all tests: 1 test in cytoolz.itertoolz.__test__.concat (line 695) 1 test in cytoolz.itertoolz.__test__.concatv (line 714) 1 test in cytoolz.itertoolz.__test__.cons (line 738) 3 tests in cytoolz.itertoolz.__test__.diff (line 1623) 1 test in cytoolz.itertoolz.__test__.drop (line 515) 1 test in cytoolz.itertoolz.__test__.first (line 549) 1 test in cytoolz.itertoolz.__test__.frequencies (line 778) 6 tests in cytoolz.itertoolz.__test__.get (line 617) 5 tests in cytoolz.itertoolz.__test__.groupby (line 116) 4 tests in cytoolz.itertoolz.__test__.isdistinct (line 460) 3 tests in cytoolz.itertoolz.__test__.isiterable (line 441) 7 tests in cytoolz.itertoolz.__test__.join (line 1250) 1 test in cytoolz.itertoolz.__test__.last (line 589) 1 test in cytoolz.itertoolz.__test__.mapcat (line 727) 3 tests in cytoolz.itertoolz.__test__.merge_sorted (line 293) 1 test in cytoolz.itertoolz.__test__.nth (line 571) 3 tests in cytoolz.itertoolz.__test__.partition (line 995) 4 tests in cytoolz.itertoolz.__test__.peek (line 1721) 4 tests in cytoolz.itertoolz.__test__.peekn (line 1740) 3 tests in cytoolz.itertoolz.__test__.pluck (line 1174) 13 tests in cytoolz.itertoolz.__test__.reduceby (line 815) 1 test in cytoolz.itertoolz.__test__.second (line 559) 1 test in cytoolz.itertoolz.__test__.tail (line 499) 1 test in cytoolz.itertoolz.__test__.take (line 485) 1 test in cytoolz.itertoolz.__test__.take_nth (line 539) 2 tests in cytoolz.itertoolz.__test__.topk (line 1649) 3 tests in cytoolz.itertoolz.__test__.unique (line 421) 8 tests in cytoolz.itertoolz.accumulate 1 test in cytoolz.itertoolz.concat 1 test in cytoolz.itertoolz.concatv 1 test in cytoolz.itertoolz.cons 3 tests in cytoolz.itertoolz.diff 1 test in cytoolz.itertoolz.drop 1 test in cytoolz.itertoolz.first 1 test in cytoolz.itertoolz.frequencies 6 tests in cytoolz.itertoolz.get 5 tests in cytoolz.itertoolz.groupby 2 tests in cytoolz.itertoolz.interleave 1 test in cytoolz.itertoolz.interpose 4 tests in cytoolz.itertoolz.isdistinct 3 tests in cytoolz.itertoolz.isiterable 11 tests in cytoolz.itertoolz.iterate 7 tests in cytoolz.itertoolz.join 1 test in cytoolz.itertoolz.last 1 test in cytoolz.itertoolz.mapcat 3 tests in cytoolz.itertoolz.merge_sorted 1 test in cytoolz.itertoolz.nth 3 tests in cytoolz.itertoolz.partition 2 tests in cytoolz.itertoolz.partition_all 4 tests in cytoolz.itertoolz.peek 4 tests in cytoolz.itertoolz.peekn 3 tests in cytoolz.itertoolz.pluck 8 tests in cytoolz.itertoolz.random_sample 13 tests in cytoolz.itertoolz.reduceby 2 tests in cytoolz.itertoolz.remove 1 test in cytoolz.itertoolz.second 3 tests in cytoolz.itertoolz.sliding_window 1 test in cytoolz.itertoolz.tail 1 test in cytoolz.itertoolz.take 1 test in cytoolz.itertoolz.take_nth 2 tests in cytoolz.itertoolz.topk 3 tests in cytoolz.itertoolz.unique 189 tests in 222 items. 189 passed. Test passed. Trying: countby(len, ['cat', 'mouse', 'dog']) Expecting: {3: 2, 5: 1} ok Trying: def iseven(x): return x % 2 == 0 Expecting nothing ok Trying: countby(len, ['cat', 'mouse', 'dog']) Expecting: {3: 2, 5: 1} ok Trying: def iseven(x): return x % 2 == 0 Expecting nothing ok Trying: is_space = lambda c: c == " " Expecting nothing ok Trying: list(partitionby(is_space, "I have space")) Expecting: [('I',), (' ',), ('h', 'a', 'v', 'e'), (' ',), ('s', 'p', 'a', 'c', 'e')] ok Trying: is_large = lambda x: x > 10 Expecting nothing ok Trying: list(partitionby(is_large, [1, 2, 1, 99, 88, 33, 99, -1, 5])) Expecting: [(1, 2, 1), (99, 88, 33, 99), (-1, 5)] ok 7 items had no tests: cytoolz.recipes cytoolz.recipes.__reduce_cython__ cytoolz.recipes.__setstate_cython__ cytoolz.recipes.partitionby.__iter__ cytoolz.recipes.partitionby.__next__ cytoolz.recipes.partitionby.__reduce__ cytoolz.recipes.partitionby.__setstate__ 3 items passed all tests: 3 tests in cytoolz.recipes.__test__.countby (line 10) 3 tests in cytoolz.recipes.countby 4 tests in cytoolz.recipes.partitionby 10 tests in 10 items. 10 passed. Test passed. PASSED cytoolz/tests/test_embedded_sigs.py::test_class_sigs PASSED cytoolz/tests/test_embedded_sigs.py::test_sig_at_beginning PASSED cytoolz/tests/test_functoolz.py::test_apply PASSED cytoolz/tests/test_functoolz.py::test_thread_first PASSED cytoolz/tests/test_functoolz.py::test_thread_last PASSED cytoolz/tests/test_functoolz.py::test_memoize PASSED cytoolz/tests/test_functoolz.py::test_memoize_kwargs PASSED cytoolz/tests/test_functoolz.py::test_memoize_curried PASSED cytoolz/tests/test_functoolz.py::test_memoize_partial PASSED cytoolz/tests/test_functoolz.py::test_memoize_key_signature PASSED cytoolz/tests/test_functoolz.py::test_memoize_curry_cache PASSED cytoolz/tests/test_functoolz.py::test_memoize_key PASSED cytoolz/tests/test_functoolz.py::test_memoize_wrapped PASSED cytoolz/tests/test_functoolz.py::test_curry_simple PASSED cytoolz/tests/test_functoolz.py::test_curry_kwargs PASSED cytoolz/tests/test_functoolz.py::test_curry_passes_errors PASSED cytoolz/tests/test_functoolz.py::test_curry_docstring PASSED cytoolz/tests/test_functoolz.py::test_curry_is_like_partial PASSED cytoolz/tests/test_functoolz.py::test_curry_is_idempotent PASSED cytoolz/tests/test_functoolz.py::test_curry_attributes_readonly PASSED cytoolz/tests/test_functoolz.py::test_curry_attributes_writable PASSED cytoolz/tests/test_functoolz.py::test_curry_module PASSED cytoolz/tests/test_functoolz.py::test_curry_comparable PASSED cytoolz/tests/test_functoolz.py::test_curry_doesnot_transmogrify PASSED cytoolz/tests/test_functoolz.py::test_curry_on_classmethods PASSED cytoolz/tests/test_functoolz.py::test_memoize_on_classmethods PASSED cytoolz/tests/test_functoolz.py::test_curry_call PASSED cytoolz/tests/test_functoolz.py::test_curry_bind PASSED cytoolz/tests/test_functoolz.py::test_curry_unknown_args PASSED cytoolz/tests/test_functoolz.py::test_curry_bad_types PASSED cytoolz/tests/test_functoolz.py::test_curry_subclassable PASSED cytoolz/tests/test_functoolz.py::test_compose PASSED cytoolz/tests/test_functoolz.py::test_compose_metadata PASSED cytoolz/tests/test_functoolz.py::test_compose_left PASSED cytoolz/tests/test_functoolz.py::test_pipe PASSED cytoolz/tests/test_functoolz.py::test_complement PASSED cytoolz/tests/test_functoolz.py::test_do PASSED cytoolz/tests/test_functoolz.py::test_juxt_generator_input PASSED cytoolz/tests/test_functoolz.py::test_flip PASSED cytoolz/tests/test_functoolz.py::test_excepts PASSED cytoolz/tests/test_inspect_args.py::test_make_func PASSED cytoolz/tests/test_inspect_args.py::test_is_valid PASSED cytoolz/tests/test_inspect_args.py::test_is_valid_py3 PASSED cytoolz/tests/test_inspect_args.py::test_is_partial PASSED cytoolz/tests/test_inspect_args.py::test_is_valid_curry PASSED cytoolz/tests/test_inspect_args.py::test_func_keyword PASSED cytoolz/tests/test_inspect_args.py::test_has_unknown_args PASSED cytoolz/tests/test_inspect_args.py::test_num_required_args PASSED cytoolz/tests/test_inspect_args.py::test_has_keywords FAILED cytoolz/tests/test_inspect_args.py::test_has_varargs PASSED cytoolz/tests/test_inspect_args.py::test_is_arity PASSED cytoolz/tests/test_inspect_args.py::test_introspect_curry_valid_py3 PASSED cytoolz/tests/test_inspect_args.py::test_introspect_curry_partial_py3 PASSED cytoolz/tests/test_inspect_args.py::test_introspect_curry_py3 PASSED cytoolz/tests/test_inspect_args.py::test_introspect_builtin_modules PASSED cytoolz/tests/test_inspect_args.py::test_inspect_signature_property PASSED cytoolz/tests/test_inspect_args.py::test_inspect_wrapped_property PASSED cytoolz/tests/test_itertoolz.py::test_remove PASSED cytoolz/tests/test_itertoolz.py::test_groupby PASSED cytoolz/tests/test_itertoolz.py::test_groupby_non_callable PASSED cytoolz/tests/test_itertoolz.py::test_merge_sorted PASSED cytoolz/tests/test_itertoolz.py::test_interleave PASSED cytoolz/tests/test_itertoolz.py::test_unique PASSED cytoolz/tests/test_itertoolz.py::test_isiterable PASSED cytoolz/tests/test_itertoolz.py::test_isdistinct PASSED cytoolz/tests/test_itertoolz.py::test_nth PASSED cytoolz/tests/test_itertoolz.py::test_first PASSED cytoolz/tests/test_itertoolz.py::test_second PASSED cytoolz/tests/test_itertoolz.py::test_last PASSED cytoolz/tests/test_itertoolz.py::test_rest PASSED cytoolz/tests/test_itertoolz.py::test_take PASSED cytoolz/tests/test_itertoolz.py::test_tail PASSED cytoolz/tests/test_itertoolz.py::test_drop PASSED cytoolz/tests/test_itertoolz.py::test_take_nth PASSED cytoolz/tests/test_itertoolz.py::test_get PASSED cytoolz/tests/test_itertoolz.py::test_mapcat PASSED cytoolz/tests/test_itertoolz.py::test_cons PASSED cytoolz/tests/test_itertoolz.py::test_concat PASSED cytoolz/tests/test_itertoolz.py::test_concatv PASSED cytoolz/tests/test_itertoolz.py::test_interpose PASSED cytoolz/tests/test_itertoolz.py::test_frequencies PASSED cytoolz/tests/test_itertoolz.py::test_reduceby PASSED cytoolz/tests/test_itertoolz.py::test_reduce_by_init PASSED cytoolz/tests/test_itertoolz.py::test_reduce_by_callable_default PASSED cytoolz/tests/test_itertoolz.py::test_iterate PASSED cytoolz/tests/test_itertoolz.py::test_accumulate PASSED cytoolz/tests/test_itertoolz.py::test_accumulate_works_on_consumable_iterables PASSED cytoolz/tests/test_itertoolz.py::test_sliding_window PASSED cytoolz/tests/test_itertoolz.py::test_sliding_window_of_short_iterator PASSED cytoolz/tests/test_itertoolz.py::test_partition PASSED cytoolz/tests/test_itertoolz.py::test_partition_all PASSED cytoolz/tests/test_itertoolz.py::test_count PASSED cytoolz/tests/test_itertoolz.py::test_pluck PASSED cytoolz/tests/test_itertoolz.py::test_join PASSED cytoolz/tests/test_itertoolz.py::test_getter PASSED cytoolz/tests/test_itertoolz.py::test_key_as_getter PASSED cytoolz/tests/test_itertoolz.py::test_join_double_repeats PASSED cytoolz/tests/test_itertoolz.py::test_join_missing_element PASSED cytoolz/tests/test_itertoolz.py::test_left_outer_join PASSED cytoolz/tests/test_itertoolz.py::test_right_outer_join PASSED cytoolz/tests/test_itertoolz.py::test_outer_join PASSED cytoolz/tests/test_itertoolz.py::test_diff PASSED cytoolz/tests/test_itertoolz.py::test_topk PASSED cytoolz/tests/test_itertoolz.py::test_topk_is_stable PASSED cytoolz/tests/test_itertoolz.py::test_peek PASSED cytoolz/tests/test_itertoolz.py::test_peekn PASSED cytoolz/tests/test_itertoolz.py::test_random_sample PASSED cytoolz/tests/test_none_safe.py::test_dicttoolz PASSED cytoolz/tests/test_none_safe.py::test_functoolz PASSED cytoolz/tests/test_none_safe.py::test_itertoolz PASSED cytoolz/tests/test_none_safe.py::test_recipes PASSED cytoolz/tests/test_recipes.py::test_countby PASSED cytoolz/tests/test_recipes.py::test_partitionby PASSED cytoolz/tests/test_serialization.py::test_compose PASSED cytoolz/tests/test_serialization.py::test_curry PASSED cytoolz/tests/test_serialization.py::test_juxt PASSED cytoolz/tests/test_serialization.py::test_complement PASSED cytoolz/tests/test_serialization.py::test_instanceproperty PASSED cytoolz/tests/test_serialization.py::test_flip PASSED cytoolz/tests/test_serialization.py::test_curried_exceptions PASSED cytoolz/tests/test_serialization.py::test_curried_qualname PASSED cytoolz/tests/test_serialization.py::test_curried_bad_qualname PASSED cytoolz/tests/test_signatures.py::test_is_valid PASSED cytoolz/tests/test_signatures.py::test_is_partial PASSED cytoolz/tests/test_signatures.py::test_for_coverage PASSED cytoolz/tests/test_tlz.py::test_tlz PASSED cytoolz/tests/test_utils.py::test_raises PASSED cytoolz/tests/test_utils.py::test_consume PASSED =================================== FAILURES =================================== ____________________________ test_curried_operator _____________________________ def test_curried_operator(): import operator for k, v in vars(cop).items(): if not callable(v): continue if not isinstance(v, cytoolz.curry): try: # Make sure it is unary v(1) except TypeError: try: v('x') except TypeError: pass else: continue raise AssertionError( 'cytoolz.curried.operator.%s is not curried!' % k, ) print(f"HELLO {k} {v} TYPE {type(getattr(operator, k))} should be {type(v)}") > assert should_curry(getattr(operator, k)) == isinstance(v, cytoolz.curry), k E AssertionError: is_none E assert False == True E + where False = should_curry() E + where = getattr(, 'is_none') E + and True = isinstance(, ) E + where = cytoolz.curry cytoolz/tests/test_curried.py:75: AssertionError ______________________________ test_has_keywords _______________________________ def test_has_keywords(): assert has_keywords(lambda: None) is False assert has_keywords(lambda x: None) is False assert has_keywords(lambda x=1: None) assert has_keywords(lambda **kwargs: None) assert has_keywords(int) assert has_keywords(sorted) assert has_keywords(max) > assert has_keywords(map) is False E assert True is False E + where True = has_keywords(map) cytoolz/tests/test_inspect_args.py:289: AssertionError =============================== warnings summary =============================== cytoolz/tests/test_tlz.py::test_tlz /usr/lib64/python3.14/importlib/__init__.py:88: DeprecationWarning: The toolz.compatibility module is no longer needed in Python 3 and has been deprecated. Please import these utilities directly from the standard library. This module will be removed in a future release. return _bootstrap._gcd_import(name[level:], package, level) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED cytoolz/tests/test_curried.py::test_curried_operator - AssertionError:... FAILED cytoolz/tests/test_inspect_args.py::test_has_keywords - assert True is... =================== 2 failed, 192 passed, 1 warning in 0.52s =================== RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.1qndmS (%check) The %py3_build macro is deprecated and will likely stop working in Fedora 44. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ The %py3_install macro is deprecated and will likely stop working in Fedora 44. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ Bad exit status from /var/tmp/rpm-tmp.1qndmS (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 823828991a5a40af9c974dde8e87e879 -D /var/lib/mock/f43-build-61061240-6588340/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.mrc479ff:/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 -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cytoolz.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 823828991a5a40af9c974dde8e87e879 -D /var/lib/mock/f43-build-61061240-6588340/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.mrc479ff:/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 -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cytoolz.spec'