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 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 pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/382iyb4cyiz7br739mkswlcp8qyx3pvg-mock-5.2.0.tar.gz source root is mock-5.2.0 setting SOURCE_DATE_EPOCH to timestamp 1741005060 of file "mock-5.2.0/setup.cfg" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing setuptoolsBuildPhase setup.py build flags: '' /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'home-page' in 'metadata' (setup.cfg), please use the underscore name 'home_page' instead. !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self._enforce_underscore(opt, section) /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self._enforce_underscore(opt, section) /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'author-email' in 'metadata' (setup.cfg), please use the underscore name 'author_email' instead. !! ******************************************************************************** Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self._enforce_underscore(opt, section) /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/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 bdist_wheel running build running build_py creating build/lib/mock copying mock/__init__.py -> build/lib/mock copying mock/backports.py -> build/lib/mock copying mock/mock.py -> build/lib/mock /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/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. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/mock copying build/lib/mock/__init__.py -> build/bdist.linux-x86_64/wheel/./mock copying build/lib/mock/backports.py -> build/bdist.linux-x86_64/wheel/./mock copying build/lib/mock/mock.py -> build/bdist.linux-x86_64/wheel/./mock running install_egg_info running egg_info writing mock.egg-info/PKG-INFO writing dependency_links to mock.egg-info/dependency_links.txt writing requirements to mock.egg-info/requires.txt writing top-level names to mock.egg-info/top_level.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'mock.egg-info/SOURCES.txt' Copying mock.egg-info to build/bdist.linux-x86_64/wheel/./mock-5.2.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/mock-5.2.0.dist-info/WHEEL creating 'dist/mock-5.2.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'mock/__init__.py' adding 'mock/backports.py' adding 'mock/mock.py' adding 'mock-5.2.0.dist-info/licenses/LICENSE.txt' adding 'mock-5.2.0.dist-info/METADATA' adding 'mock-5.2.0.dist-info/WHEEL' adding 'mock-5.2.0.dist-info/top_level.txt' adding 'mock-5.2.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Finished executing setuptoolsBuildPhase Running phase: installPhase Executing pypaInstallPhase Successfully installed mock-5.2.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/p3h4pix3825fhl6gjsr1fwrxzv2dcr3c-python3.13-mock-5.2.0 checking for references to /build/ in /nix/store/p3h4pix3825fhl6gjsr1fwrxzv2dcr3c-python3.13-mock-5.2.0... patching script interpreter paths in /nix/store/p3h4pix3825fhl6gjsr1fwrxzv2dcr3c-python3.13-mock-5.2.0 stripping (with command strip and flags -S -p) in /nix/store/p3h4pix3825fhl6gjsr1fwrxzv2dcr3c-python3.13-mock-5.2.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/kr6wgvhcv4dpp3kylh6ic743dm1xi5hh-python3.13-mock-5.2.0-dist checking for references to /build/ in /nix/store/kr6wgvhcv4dpp3kylh6ic743dm1xi5hh-python3.13-mock-5.2.0-dist... patching script interpreter paths in /nix/store/kr6wgvhcv4dpp3kylh6ic743dm1xi5hh-python3.13-mock-5.2.0-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: mock Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/mock-5.2.0 configfile: setup.cfg collected 550 items mock/tests/testasync.py ................................................ [ 8%] ....................................... [ 15%] mock/tests/testcallable.py ........... [ 17%] mock/tests/testhelpers.py .............................................. [ 26%] ..................................... [ 32%] mock/tests/testmagicmethods.py ..................................... [ 39%] mock/tests/testmock.py ................................................. [ 48%] ........................................................................ [ 61%] ........................ [ 66%] mock/tests/testpatch.py ................................................ [ 74%] .................................................................... [ 87%] mock/tests/testsealable.py ................... [ 90%] mock/tests/testsentinel.py ...... [ 91%] mock/tests/testthreadingmock.py ................... [ 95%] mock/tests/testwith.py ........................... [100%] ============================= 550 passed in 2.84s ============================== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase