nixbot

builds

succeeded python3.13-requests-mock-1.12.1 checks.x86_64-linux.pre-commit · build #764 · raw

1Sourcing python-remove-tests-dir-hook2Sourcing python-catch-conflicts-hook.sh3Sourcing python-remove-bin-bytecode-hook.sh4Sourcing pypa-build-hook5Using pypaBuildPhase6Sourcing python-runtime-deps-check-hook7Using pythonRuntimeDepsCheckHook8Sourcing pypa-install-hook9Using pypaInstallPhase10Sourcing python-imports-check-hook.sh11Using pythonImportsCheckPhase12Sourcing python-namespaces-hook13Sourcing python-catch-conflicts-hook.sh14Sourcing pytest-check-hook15Using pytestCheckPhase
unpackPhase
16unpacking source archive /nix/store/dghlq8v77ib3iq6gns737k9cs9az7iz2-requests-mock-1.12.1.tar.gz17source root is requests-mock-1.12.118setting SOURCE_DATE_EPOCH to timestamp 1711597393 of file "requests-mock-1.12.1/setup.cfg"
configurePhase
19no configure script, doing nothing
buildPhase
20Executing pypaBuildPhase21Setting SETUPTOOLS_SCM_PRETEND_VERSION to 1.12.122Including all tracked files automatically23Creating a wheel...24pypa build flags: --no-isolation --outdir dist/ --wheel25* Getting build dependencies for wheel...26/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.27!!2829 ********************************************************************************30 Please consider removing the following classifiers in favor of a SPDX license expression:3132 License :: OSI Approved :: Apache Software License3334 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.35 ********************************************************************************3637!!38 self._finalize_license_expression()39running egg_info40writing requests_mock.egg-info/PKG-INFO41writing dependency_links to requests_mock.egg-info/dependency_links.txt42writing entry points to requests_mock.egg-info/entry_points.txt43writing requirements to requests_mock.egg-info/requires.txt44writing top-level names to requests_mock.egg-info/top_level.txt45reading manifest file 'requests_mock.egg-info/SOURCES.txt'46reading manifest template 'MANIFEST.in'47warning: no files found matching 'AUTHORS'48warning: no files found matching 'ChangeLog'49adding license file 'LICENSE'50writing manifest file 'requests_mock.egg-info/SOURCES.txt'51* Building wheel...52/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.53!!5455 ********************************************************************************56 Please consider removing the following classifiers in favor of a SPDX license expression:5758 License :: OSI Approved :: Apache Software License5960 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.61 ********************************************************************************6263!!64 self._finalize_license_expression()65running bdist_wheel66/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated67!!6869 ********************************************************************************70 With Python 2.7 end-of-life, support for building universal wheels71 (i.e., wheels that support both Python 2 and Python 3)72 is being obviated.73 Please discontinue using this option, or if you still need it,74 file an issue with pypa/setuptools describing your use case.7576 This deprecation is overdue, please update your project and remove deprecated77 calls to avoid build errors in the future.78 ********************************************************************************7980!!81 self.finalize_options()82running build83running build_py84creating build/lib/requests_mock85copying requests_mock/__init__.py -> build/lib/requests_mock86copying requests_mock/mocker.py -> build/lib/requests_mock87copying requests_mock/request.py -> build/lib/requests_mock88copying requests_mock/adapter.py -> build/lib/requests_mock89copying requests_mock/response.py -> build/lib/requests_mock90copying requests_mock/exceptions.py -> build/lib/requests_mock91running egg_info92writing requests_mock.egg-info/PKG-INFO93writing dependency_links to requests_mock.egg-info/dependency_links.txt94writing entry points to requests_mock.egg-info/entry_points.txt95writing requirements to requests_mock.egg-info/requires.txt96writing top-level names to requests_mock.egg-info/top_level.txt97reading manifest file 'requests_mock.egg-info/SOURCES.txt'98reading manifest template 'MANIFEST.in'99warning: no files found matching 'AUTHORS'100warning: no files found matching 'ChangeLog'101adding license file 'LICENSE'102writing manifest file 'requests_mock.egg-info/SOURCES.txt'103/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'requests_mock.contrib' is absent from the `packages` configuration.104!!105106 ********************************************************************************107 ############################108 # Package would be ignored #109 ############################110 Python recognizes 'requests_mock.contrib' as an importable package[^1],111 but it is absent from setuptools' `packages` configuration.112113 This leads to an ambiguous overall configuration. If you want to distribute this114 package, please make sure that 'requests_mock.contrib' is explicitly added115 to the `packages` configuration field.116117 Alternatively, you can also rely on setuptools' discovery methods118 (for example by using `find_namespace_packages(...)`/`find_namespace:`119 instead of `find_packages(...)`/`find:`).120121 You can read more about "package discovery" on setuptools documentation page:122123 - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html124125 If you don't want 'requests_mock.contrib' to be distributed and are126 already explicitly excluding 'requests_mock.contrib' via127 `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,128 you can try to use `exclude_package_data`, or `include-package-data=False` in129 combination with a more fine grained `package-data` configuration.130131 You can read more about "package data files" on setuptools documentation page:132133 - https://setuptools.pypa.io/en/latest/userguide/datafiles.html134135136 [^1]: For Python, any directory (with suitable naming) can be imported,137 even if it does not contain any `.py` files.138 On the other hand, currently there is no concept of package data139 directory, all directories are treated like packages.140 ********************************************************************************141142!!143 check.warn(importable)144copying requests_mock/__init__.pyi -> build/lib/requests_mock145copying requests_mock/adapter.pyi -> build/lib/requests_mock146copying requests_mock/exceptions.pyi -> build/lib/requests_mock147copying requests_mock/mocker.pyi -> build/lib/requests_mock148copying requests_mock/py.typed -> build/lib/requests_mock149copying requests_mock/request.pyi -> build/lib/requests_mock150copying requests_mock/response.pyi -> build/lib/requests_mock151creating build/lib/requests_mock/contrib152copying requests_mock/contrib/__init__.py -> build/lib/requests_mock/contrib153copying requests_mock/contrib/_pytest_plugin.py -> build/lib/requests_mock/contrib154copying requests_mock/contrib/_pytest_plugin.pyi -> build/lib/requests_mock/contrib155copying requests_mock/contrib/fixture.py -> build/lib/requests_mock/contrib156installing to build/bdist.linux-x86_64/wheel157running install158running install_lib159creating build/bdist.linux-x86_64/wheel160creating build/bdist.linux-x86_64/wheel/requests_mock161copying build/lib/requests_mock/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock162creating build/bdist.linux-x86_64/wheel/requests_mock/contrib163copying build/lib/requests_mock/contrib/__init__.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib164copying build/lib/requests_mock/contrib/_pytest_plugin.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib165copying build/lib/requests_mock/contrib/_pytest_plugin.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib166copying build/lib/requests_mock/contrib/fixture.py -> build/bdist.linux-x86_64/wheel/./requests_mock/contrib167copying build/lib/requests_mock/mocker.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock168copying build/lib/requests_mock/mocker.py -> build/bdist.linux-x86_64/wheel/./requests_mock169copying build/lib/requests_mock/exceptions.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock170copying build/lib/requests_mock/request.py -> build/bdist.linux-x86_64/wheel/./requests_mock171copying build/lib/requests_mock/py.typed -> build/bdist.linux-x86_64/wheel/./requests_mock172copying build/lib/requests_mock/adapter.py -> build/bdist.linux-x86_64/wheel/./requests_mock173copying build/lib/requests_mock/__init__.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock174copying build/lib/requests_mock/response.py -> build/bdist.linux-x86_64/wheel/./requests_mock175copying build/lib/requests_mock/request.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock176copying build/lib/requests_mock/exceptions.py -> build/bdist.linux-x86_64/wheel/./requests_mock177copying build/lib/requests_mock/response.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock178copying build/lib/requests_mock/adapter.pyi -> build/bdist.linux-x86_64/wheel/./requests_mock179running install_egg_info180Copying requests_mock.egg-info to build/bdist.linux-x86_64/wheel/./requests_mock-1.12.1-py3.13.egg-info181running install_scripts182creating build/bdist.linux-x86_64/wheel/requests_mock-1.12.1.dist-info/WHEEL183creating '/build/requests-mock-1.12.1/dist/.tmp-prcqgzdn/requests_mock-1.12.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it184adding 'requests_mock/__init__.py'185adding 'requests_mock/__init__.pyi'186adding 'requests_mock/adapter.py'187adding 'requests_mock/adapter.pyi'188adding 'requests_mock/exceptions.py'189adding 'requests_mock/exceptions.pyi'190adding 'requests_mock/mocker.py'191adding 'requests_mock/mocker.pyi'192adding 'requests_mock/py.typed'193adding 'requests_mock/request.py'194adding 'requests_mock/request.pyi'195adding 'requests_mock/response.py'196adding 'requests_mock/response.pyi'197adding 'requests_mock/contrib/__init__.py'198adding 'requests_mock/contrib/_pytest_plugin.py'199adding 'requests_mock/contrib/_pytest_plugin.pyi'200adding 'requests_mock/contrib/fixture.py'201adding 'requests_mock-1.12.1.dist-info/licenses/LICENSE'202adding 'requests_mock-1.12.1.dist-info/METADATA'203adding 'requests_mock-1.12.1.dist-info/WHEEL'204adding 'requests_mock-1.12.1.dist-info/entry_points.txt'205adding 'requests_mock-1.12.1.dist-info/top_level.txt'206adding 'requests_mock-1.12.1.dist-info/RECORD'207removing build/bdist.linux-x86_64/wheel208Successfully built requests_mock-1.12.1-py2.py3-none-any.whl209Finished creating a wheel...210Finished executing pypaBuildPhase
pythonRuntimeDepsCheckHook
211Executing pythonRuntimeDepsCheck212Checking runtime dependencies for requests_mock-1.12.1-py2.py3-none-any.whl213Finished executing pythonRuntimeDepsCheck
installPhase
214Executing pypaInstallPhase215Successfully installed requests_mock-1.12.1-py2.py3-none-any.whl216Finished executing pypaInstallPhase
pythonOutputDistPhase
217Executing pythonOutputDistPhase218Finished executing pythonOutputDistPhase
fixupPhase
219shrinking RPATHs of ELF executables and libraries in /nix/store/9fmlmqhx6p7wzid82j769akjgcmd8f1m-python3.13-requests-mock-1.12.1220checking for references to /build/ in /nix/store/9fmlmqhx6p7wzid82j769akjgcmd8f1m-python3.13-requests-mock-1.12.1...221patching script interpreter paths in /nix/store/9fmlmqhx6p7wzid82j769akjgcmd8f1m-python3.13-requests-mock-1.12.1222stripping (with command strip and flags -S -p) in /nix/store/9fmlmqhx6p7wzid82j769akjgcmd8f1m-python3.13-requests-mock-1.12.1/lib223shrinking RPATHs of ELF executables and libraries in /nix/store/m3nl78f6v6y0dzkmfskb96568jbc2pk4-python3.13-requests-mock-1.12.1-dist224checking for references to /build/ in /nix/store/m3nl78f6v6y0dzkmfskb96568jbc2pk4-python3.13-requests-mock-1.12.1-dist...225patching script interpreter paths in /nix/store/m3nl78f6v6y0dzkmfskb96568jbc2pk4-python3.13-requests-mock-1.12.1-dist226Executing pythonRemoveTestsDir227Finished executing pythonRemoveTestsDir
installCheckPhase
228no Makefile or custom installCheckPhase, doing nothing
pythonImportsCheckPhase
229Executing pythonImportsCheckPhase
pytestCheckPhase
230Executing pytestCheckPhase231pytest flags: -m pytest232============================= test session starts ==============================233platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0234rootdir: /build/requests-mock-1.12.1235configfile: pyproject.toml236plugins: requests-mock-1.12.1237collected 145 items 238239tests/pytest/test_with_pytest.py ..... [ 3%]240tests/test_adapter.py .................................................. [ 37%]241.... [ 40%]242tests/test_custom_matchers.py ... [ 42%]243tests/test_fixture.py ... [ 44%]244tests/test_matcher.py ............... [ 55%]245tests/test_mocker.py .................................... [ 80%]246tests/test_request.py .............. [ 89%]247tests/test_response.py ............... [100%]248249=============================== warnings summary ===============================250tests/test_mocker.py::MockerTests::test_with_decorator_called_multiple_times251tests/test_mocker.py::MockerTests::test_with_decorator_called_multiple_times252 /build/requests-mock-1.12.1/tests/test_mocker.py:222: DeprecationWarning: Please use assertEqual instead.253 self.assertEquals(254255-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html256======================= 145 passed, 2 warnings in 0.32s ========================257Finished executing pytestCheckPhase