structuredAttrs is enabled Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/dghlq8v77ib3iq6gns737k9cs9az7iz2-requests-mock-1.12.1.tar.gz source root is requests-mock-1.12.1 setting SOURCE_DATE_EPOCH to timestamp 1711597393 of file "requests-mock-1.12.1/setup.cfg" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Setting SETUPTOOLS_SCM_PRETEND_VERSION to 1.12.1 Including all tracked files automatically Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info writing requests_mock.egg-info/PKG-INFO writing dependency_links to requests_mock.egg-info/dependency_links.txt writing entry points to requests_mock.egg-info/entry_points.txt writing requirements to requests_mock.egg-info/requires.txt writing top-level names to requests_mock.egg-info/top_level.txt reading manifest file 'requests_mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' adding license file 'LICENSE' writing manifest file 'requests_mock.egg-info/SOURCES.txt' * Building wheel... /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/requests_mock copying requests_mock/__init__.py -> build/lib/requests_mock copying requests_mock/adapter.py -> build/lib/requests_mock copying requests_mock/exceptions.py -> build/lib/requests_mock copying requests_mock/mocker.py -> build/lib/requests_mock copying requests_mock/request.py -> build/lib/requests_mock copying requests_mock/response.py -> build/lib/requests_mock running egg_info writing requests_mock.egg-info/PKG-INFO writing dependency_links to requests_mock.egg-info/dependency_links.txt writing entry points to requests_mock.egg-info/entry_points.txt writing requirements to requests_mock.egg-info/requires.txt writing top-level names to requests_mock.egg-info/top_level.txt reading manifest file 'requests_mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' adding license file 'LICENSE' writing manifest file 'requests_mock.egg-info/SOURCES.txt' /nix/store/d13f804szzqg28s2i8rbqwlcz2wg63w9-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/command/build_py.py:215: _Warning: Package 'requests_mock.contrib' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'requests_mock.contrib' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'requests_mock.contrib' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'requests_mock.contrib' to be distributed and are already explicitly excluding 'requests_mock.contrib' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying requests_mock/__init__.pyi -> build/lib/requests_mock copying requests_mock/adapter.pyi -> build/lib/requests_mock copying requests_mock/exceptions.pyi -> build/lib/requests_mock copying requests_mock/mocker.pyi -> build/lib/requests_mock copying requests_mock/py.typed -> build/lib/requests_mock copying requests_mock/request.pyi -> build/lib/requests_mock copying requests_mock/response.pyi -> build/lib/requests_mock creating build/lib/requests_mock/contrib copying requests_mock/contrib/__init__.py -> build/lib/requests_mock/contrib copying requests_mock/contrib/_pytest_plugin.py -> build/lib/requests_mock/contrib copying requests_mock/contrib/_pytest_plugin.pyi -> build/lib/requests_mock/contrib copying requests_mock/contrib/fixture.py -> build/lib/requests_mock/contrib 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/requests_mock copying build/lib/requests_mock/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/adapter.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/exceptions.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/mocker.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/request.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/response.py -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/__init__.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/adapter.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/exceptions.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/mocker.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/py.typed -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/request.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock copying build/lib/requests_mock/response.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock creating build/bdist.linux-x86_64/wheel/requests_mock/contrib copying build/lib/requests_mock/contrib/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/_pytest_plugin.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/_pytest_plugin.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib copying build/lib/requests_mock/contrib/fixture.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib running install_egg_info Copying requests_mock.egg-info to build/bdist.linux-x86_64/wheel/./requests_mock-1.12.1-py3.14.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/requests_mock-1.12.1.dist-info/WHEEL creating '/build/requests-mock-1.12.1/dist/.tmp-slw71s9b/requests_mock-1.12.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'requests_mock/__init__.py' adding 'requests_mock/__init__.pyi' adding 'requests_mock/adapter.py' adding 'requests_mock/adapter.pyi' adding 'requests_mock/exceptions.py' adding 'requests_mock/exceptions.pyi' adding 'requests_mock/mocker.py' adding 'requests_mock/mocker.pyi' adding 'requests_mock/py.typed' adding 'requests_mock/request.py' adding 'requests_mock/request.pyi' adding 'requests_mock/response.py' adding 'requests_mock/response.pyi' adding 'requests_mock/contrib/__init__.py' adding 'requests_mock/contrib/_pytest_plugin.py' adding 'requests_mock/contrib/_pytest_plugin.pyi' adding 'requests_mock/contrib/fixture.py' adding 'requests_mock-1.12.1.dist-info/licenses/LICENSE' adding 'requests_mock-1.12.1.dist-info/METADATA' adding 'requests_mock-1.12.1.dist-info/WHEEL' adding 'requests_mock-1.12.1.dist-info/entry_points.txt' adding 'requests_mock-1.12.1.dist-info/top_level.txt' adding 'requests_mock-1.12.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built requests_mock-1.12.1-py2.py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for requests_mock-1.12.1-py2.py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed requests_mock-1.12.1-py2.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/mayr9w3pz3rdra5y7rn6x0alpjzb5ckw-python3.14-requests-mock-1.12.1-dist checking for references to /build/ in /nix/store/mayr9w3pz3rdra5y7rn6x0alpjzb5ckw-python3.14-requests-mock-1.12.1-dist... patching script interpreter paths in /nix/store/mayr9w3pz3rdra5y7rn6x0alpjzb5ckw-python3.14-requests-mock-1.12.1-dist shrinking RPATHs of ELF executables and libraries in /nix/store/af7i2dxmrki4xaf9pqm1lpd71fyp3wsz-python3.14-requests-mock-1.12.1 checking for references to /build/ in /nix/store/af7i2dxmrki4xaf9pqm1lpd71fyp3wsz-python3.14-requests-mock-1.12.1... patching script interpreter paths in /nix/store/af7i2dxmrki4xaf9pqm1lpd71fyp3wsz-python3.14-requests-mock-1.12.1 stripping (with command strip and flags -S -p) in /nix/store/af7i2dxmrki4xaf9pqm1lpd71fyp3wsz-python3.14-requests-mock-1.12.1/lib 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 Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest ============================= test session starts ============================== platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 rootdir: /build/requests-mock-1.12.1 configfile: pyproject.toml plugins: requests-mock-1.12.1 collected 145 items tests/pytest/test_with_pytest.py ..... [ 3%] tests/test_adapter.py .................................................. [ 37%] .... [ 40%] tests/test_custom_matchers.py ... [ 42%] tests/test_fixture.py ... [ 44%] tests/test_matcher.py ............... [ 55%] tests/test_mocker.py .................................... [ 80%] tests/test_request.py .............. [ 89%] tests/test_response.py ............... [100%] ============================= 145 passed in 0.31s ============================== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase