From 2c52208311130cefe8fc157fa593aecc01b26313 Mon Sep 17 00:00:00 2001 From: Bailey Stevens Date: Wed, 3 Apr 2024 20:28:10 -0400 Subject: [PATCH] fixup! Removes checks from psutil python package. --- overlays/pythonPackages/default.nix | 8 + .../python311Packages.psutil-log.txt | 304 ++++++++++++++++++ 2 files changed, 312 insertions(+) create mode 100644 overlays/pythonPackages/default.nix create mode 100644 overlays/pythonPackages/python311Packages.psutil-log.txt diff --git a/overlays/pythonPackages/default.nix b/overlays/pythonPackages/default.nix new file mode 100644 index 0000000..31bd368 --- /dev/null +++ b/overlays/pythonPackages/default.nix @@ -0,0 +1,8 @@ +{ ... }: +final: prev: { + pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ (pyfinal: pyprev: { + psutil = pyprev.psutil (oldAttrs: { + doCheck = false; + }); + })]; +} diff --git a/overlays/pythonPackages/python311Packages.psutil-log.txt b/overlays/pythonPackages/python311Packages.psutil-log.txt new file mode 100644 index 0000000..5da9030 --- /dev/null +++ b/overlays/pythonPackages/python311Packages.psutil-log.txt @@ -0,0 +1,304 @@ +Sourcing python-remove-tests-dir-hook +Sourcing python-catch-conflicts-hook.sh +Sourcing python-remove-bin-bytecode-hook.sh +Sourcing setuptools-build-hook +Using setuptoolsBuildPhase +Using setuptoolsShellHook +Sourcing pypa-install-hook +Using pypaInstallPhase +Sourcing python-imports-check-hook.sh +Using pythonImportsCheckPhase +Sourcing python-namespaces-hook +Sourcing python-catch-conflicts-hook.sh +Sourcing setuptools-check-hook +Using setuptoolsCheckPhase +Sourcing pytest-check-hook +Using pytestCheckPhase +Removing setuptoolsCheckPhase +@nix { "action": "setPhase", "phase": "unpackPhase" } +Running phase: unpackPhase +unpacking source archive /nix/store/135vqbl7rdzsnhblrf4kxa2bn5gnjyq4-psutil-5.9.8.tar.gz +source root is psutil-5.9.8 +setting SOURCE_DATE_EPOCH to timestamp 1705697169 of file psutil-5.9.8/setup.cfg +@nix { "action": "setPhase", "phase": "patchPhase" } +Running phase: patchPhase +@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } +Running phase: updateAutotoolsGnuConfigScriptsPhase +@nix { "action": "setPhase", "phase": "configurePhase" } +Running phase: configurePhase +no configure script, doing nothing +@nix { "action": "setPhase", "phase": "buildPhase" } +Running phase: buildPhase +Executing setuptoolsBuildPhase +running bdist_wheel +running build +running build_py +creating build +creating build/lib.linux-riscv64-cpython-311 +creating build/lib.linux-riscv64-cpython-311/psutil +copying psutil/__init__.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_common.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_compat.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_psaix.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_psbsd.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_pslinux.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_psosx.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_psposix.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_pssunos.py -> build/lib.linux-riscv64-cpython-311/psutil +copying psutil/_pswindows.py -> build/lib.linux-riscv64-cpython-311/psutil +creating build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/__init__.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/__main__.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/runner.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_aix.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_bsd.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_connections.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_contracts.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_linux.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_memleaks.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_misc.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_osx.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_posix.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_process.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_process_all.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_sunos.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_system.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_testutils.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_unicode.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +copying psutil/tests/test_windows.py -> build/lib.linux-riscv64-cpython-311/psutil/tests +running build_ext +building 'psutil._psutil_linux' extension +creating build/temp.linux-riscv64-cpython-311 +creating build/temp.linux-riscv64-cpython-311/psutil +creating build/temp.linux-riscv64-cpython-311/psutil/arch +creating build/temp.linux-riscv64-cpython-311/psutil/arch/linux +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/_psutil_common.c -o build/temp.linux-riscv64-cpython-311/psutil/_psutil_common.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/_psutil_linux.c -o build/temp.linux-riscv64-cpython-311/psutil/_psutil_linux.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/_psutil_posix.c -o build/temp.linux-riscv64-cpython-311/psutil/_psutil_posix.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/arch/linux/disk.c -o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/disk.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/arch/linux/mem.c -o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/mem.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/arch/linux/net.c -o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/net.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/arch/linux/proc.c -o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/proc.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/arch/linux/users.c -o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/users.o +gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.6.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.6/lib -L/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.45.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.6.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/ys3dp816x5pi23wxyl5bc6pdn8rhv9dw-tzdata-2024a/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p10/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.6.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.6/lib -L/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.45.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.6.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/ys3dp816x5pi23wxyl5bc6pdn8rhv9dw-tzdata-2024a/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p10/lib build/temp.linux-riscv64-cpython-311/psutil/_psutil_common.o build/temp.linux-riscv64-cpython-311/psutil/_psutil_linux.o build/temp.linux-riscv64-cpython-311/psutil/_psutil_posix.o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/disk.o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/mem.o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/net.o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/proc.o build/temp.linux-riscv64-cpython-311/psutil/arch/linux/users.o -L/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/lib -o build/lib.linux-riscv64-cpython-311/psutil/_psutil_linux.abi3.so +building 'psutil._psutil_posix' extension +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/_psutil_common.c -o build/temp.linux-riscv64-cpython-311/psutil/_psutil_common.o +gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=598 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/include/python3.11 -c psutil/_psutil_posix.c -o build/temp.linux-riscv64-cpython-311/psutil/_psutil_posix.o +gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.6.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.6/lib -L/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.45.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.6.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/ys3dp816x5pi23wxyl5bc6pdn8rhv9dw-tzdata-2024a/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p10/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.6.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.6/lib -L/nix/store/4y05py71anqwjc8ipwg10bblvx79c2g2-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-mpdecimal-4.0.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.45.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.6.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3.1/lib -L/nix/store/ys3dp816x5pi23wxyl5bc6pdn8rhv9dw-tzdata-2024a/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p10/lib build/temp.linux-riscv64-cpython-311/psutil/_psutil_common.o build/temp.linux-riscv64-cpython-311/psutil/_psutil_posix.o -L/nix/store/qilfi7nqb8z83fzpafjzc9cbmmasprj2-python3-3.11.8/lib -o build/lib.linux-riscv64-cpython-311/psutil/_psutil_posix.abi3.so +/nix/store/swr47lwzbq65934vq2cqjs6kjn2lnyl4-python3.11-setuptools-69.1.1/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. +!! + + ******************************************************************************** + Please avoid running ``setup.py`` directly. + Instead, use pypa/build, pypa/installer or other + standards-based tools. + + See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. + ******************************************************************************** + +!! + self.initialize_options() +installing to build/bdist.linux-riscv64/wheel +running install +running install_lib +creating build/bdist.linux-riscv64 +creating build/bdist.linux-riscv64/wheel +creating build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/__init__.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_common.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_compat.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_psaix.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_psbsd.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_pslinux.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_psosx.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_psposix.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_pssunos.py -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_pswindows.py -> build/bdist.linux-riscv64/wheel/psutil +creating build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/__init__.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/__main__.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/runner.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_aix.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_bsd.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_connections.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_contracts.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_linux.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_memleaks.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_misc.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_osx.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_posix.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_process.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_process_all.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_sunos.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_system.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_testutils.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_unicode.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/tests/test_windows.py -> build/bdist.linux-riscv64/wheel/psutil/tests +copying build/lib.linux-riscv64-cpython-311/psutil/_psutil_linux.abi3.so -> build/bdist.linux-riscv64/wheel/psutil +copying build/lib.linux-riscv64-cpython-311/psutil/_psutil_posix.abi3.so -> build/bdist.linux-riscv64/wheel/psutil +running install_egg_info +running egg_info +writing psutil.egg-info/PKG-INFO +writing dependency_links to psutil.egg-info/dependency_links.txt +writing requirements to psutil.egg-info/requires.txt +writing top-level names to psutil.egg-info/top_level.txt +reading manifest file 'psutil.egg-info/SOURCES.txt' +reading manifest template 'MANIFEST.in' +adding license file 'LICENSE' +writing manifest file 'psutil.egg-info/SOURCES.txt' +Copying psutil.egg-info to build/bdist.linux-riscv64/wheel/psutil-5.9.8-py3.11.egg-info +running install_scripts +creating build/bdist.linux-riscv64/wheel/psutil-5.9.8.dist-info/WHEEL +creating 'dist/psutil-5.9.8-cp311-abi3-linux_riscv64.whl' and adding 'build/bdist.linux-riscv64/wheel' to it +adding 'psutil/__init__.py' +adding 'psutil/_common.py' +adding 'psutil/_compat.py' +adding 'psutil/_psaix.py' +adding 'psutil/_psbsd.py' +adding 'psutil/_pslinux.py' +adding 'psutil/_psosx.py' +adding 'psutil/_psposix.py' +adding 'psutil/_pssunos.py' +adding 'psutil/_psutil_linux.abi3.so' +adding 'psutil/_psutil_posix.abi3.so' +adding 'psutil/_pswindows.py' +adding 'psutil/tests/__init__.py' +adding 'psutil/tests/__main__.py' +adding 'psutil/tests/runner.py' +adding 'psutil/tests/test_aix.py' +adding 'psutil/tests/test_bsd.py' +adding 'psutil/tests/test_connections.py' +adding 'psutil/tests/test_contracts.py' +adding 'psutil/tests/test_linux.py' +adding 'psutil/tests/test_memleaks.py' +adding 'psutil/tests/test_misc.py' +adding 'psutil/tests/test_osx.py' +adding 'psutil/tests/test_posix.py' +adding 'psutil/tests/test_process.py' +adding 'psutil/tests/test_process_all.py' +adding 'psutil/tests/test_sunos.py' +adding 'psutil/tests/test_system.py' +adding 'psutil/tests/test_testutils.py' +adding 'psutil/tests/test_unicode.py' +adding 'psutil/tests/test_windows.py' +adding 'psutil-5.9.8.dist-info/LICENSE' +adding 'psutil-5.9.8.dist-info/METADATA' +adding 'psutil-5.9.8.dist-info/WHEEL' +adding 'psutil-5.9.8.dist-info/top_level.txt' +adding 'psutil-5.9.8.dist-info/RECORD' +removing build/bdist.linux-riscv64/wheel +Finished executing setuptoolsBuildPhase +buildPhase completed in 35 seconds +@nix { "action": "setPhase", "phase": "installPhase" } +Running phase: installPhase +Executing pypaInstallPhase +Successfully installed psutil-5.9.8-cp311-abi3-linux_riscv64.whl +Finished executing pypaInstallPhase +@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } +Running phase: pythonOutputDistPhase +Executing pythonOutputDistPhase +Finished executing pythonOutputDistPhase +@nix { "action": "setPhase", "phase": "fixupPhase" } +Running phase: fixupPhase +shrinking RPATHs of ELF executables and libraries in /nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8 +shrinking /nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/_psutil_linux.abi3.so +shrinking /nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/_psutil_posix.abi3.so +checking for references to /build/ in /nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8... +patching script interpreter paths in /nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8 +stripping (with command strip and flags -S -p) in /nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib +shrinking RPATHs of ELF executables and libraries in /nix/store/4z2wgwbcl5z5arm73c7hyf8vlwnvl1iv-python3.11-psutil-5.9.8-dist +checking for references to /build/ in /nix/store/4z2wgwbcl5z5arm73c7hyf8vlwnvl1iv-python3.11-psutil-5.9.8-dist... +patching script interpreter paths in /nix/store/4z2wgwbcl5z5arm73c7hyf8vlwnvl1iv-python3.11-psutil-5.9.8-dist +Executing pythonRemoveTestsDir +Finished executing pythonRemoveTestsDir +@nix { "action": "setPhase", "phase": "installCheckPhase" } +Running phase: installCheckPhase +no Makefile or custom installCheckPhase, doing nothing +@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } +Running phase: pythonCatchConflictsPhase +@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } +Running phase: pythonRemoveBinBytecodePhase +@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } +Running phase: pythonImportsCheckPhase +Executing pythonImportsCheckPhase +Check whether the following modules can be imported: psutil +@nix { "action": "setPhase", "phase": "pytestCheckPhase" } +Running phase: pytestCheckPhase +Executing pytestCheckPhase +============================= test session starts ============================== +platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0 +rootdir: /nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/tests +collecting ...  collecting 0 items  collected 44 items / 16 deselected / 28 selected  + +../../nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/tests/test_system.py . [ 3%] +..........ss.......sF.F.... [100%] + +=================================== FAILURES =================================== +________________________ TestNetAPIs.test_net_if_addrs _________________________ + +self = + + def test_net_if_addrs(self): + nics = psutil.net_if_addrs() + assert nics, nics + +> nic_stats = psutil.net_if_stats() + +/nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/tests/test_system.py:795: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/__init__.py:2276: in net_if_stats + return _psplatform.net_if_stats() +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def net_if_stats(): + """Get NIC stats (isup, duplex, speed, mtu).""" + duplex_map = { + cext.DUPLEX_FULL: NIC_DUPLEX_FULL, + cext.DUPLEX_HALF: NIC_DUPLEX_HALF, + cext.DUPLEX_UNKNOWN: NIC_DUPLEX_UNKNOWN, + } + names = net_io_counters().keys() + ret = {} + for name in names: + try: + mtu = cext_posix.net_if_mtu(name) + flags = cext_posix.net_if_flags(name) +> duplex, speed = cext.net_if_duplex_speed(name) +E OSError: [Errno 25] Inappropriate ioctl for device (originated from ioctl(SIOCETHTOOL)) + +/nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/_pslinux.py:1124: OSError +________________________ TestNetAPIs.test_net_if_stats _________________________ + +self = + + def test_net_if_stats(self): +> nics = psutil.net_if_stats() + +/nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/tests/test_system.py:879: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/__init__.py:2276: in net_if_stats + return _psplatform.net_if_stats() +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def net_if_stats(): + """Get NIC stats (isup, duplex, speed, mtu).""" + duplex_map = { + cext.DUPLEX_FULL: NIC_DUPLEX_FULL, + cext.DUPLEX_HALF: NIC_DUPLEX_HALF, + cext.DUPLEX_UNKNOWN: NIC_DUPLEX_UNKNOWN, + } + names = net_io_counters().keys() + ret = {} + for name in names: + try: + mtu = cext_posix.net_if_mtu(name) + flags = cext_posix.net_if_flags(name) +> duplex, speed = cext.net_if_duplex_speed(name) +E OSError: [Errno 25] Inappropriate ioctl for device (originated from ioctl(SIOCETHTOOL)) + +/nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/_pslinux.py:1124: OSError +=========================== short test summary info ============================ +FAILED ../../nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/tests/test_system.py::TestNetAPIs::test_net_if_addrs - OSError: [Errno 25] Inappropriate ioctl for device (originated from ioctl(S... +FAILED ../../nix/store/mfvxgk2w7v4agp3krnncvd6a202sfv4z-python3.11-psutil-5.9.8/lib/python3.11/site-packages/psutil/tests/test_system.py::TestNetAPIs::test_net_if_stats - OSError: [Errno 25] Inappropriate ioctl for device (originated from ioctl(S... +============ 2 failed, 23 passed, 3 skipped, 16 deselected in 5.60s ============ +/nix/store/c0sd4prm4h66s7dq8k5xasm045rgfnxv-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context