Unverified Commit 6ff8fec7 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #332784 from pbsds/doc-python-auto-remove-deps-hook-1722967990

docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
parents 1ad3e6c0 ef70f7d0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1371,6 +1371,10 @@ those specified in `build-system`. If a package requires incompatible build
time dependencies, they should be removed in `postPatch` through
`substituteInPlace` or similar.

For ease of use, both `buildPythonPackage` and `buildPythonApplication` will
automatically add `pythonRelaxDepsHook` if either `pythonRelaxDeps` or
`pythonRemoveDeps` is specified.

#### Using unittestCheckHook {#using-unittestcheckhook}

`unittestCheckHook` is a hook which will set up (or configure) a [`checkPhase`](#ssec-check-phase) to run `python -m unittest discover`: