From 8f9e861543ff115d6ebec3be41a1690f092a699b Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 2 Jun 2024 00:50:11 +0900 Subject: [PATCH] doc/languages-frameworks/python: add extra information for pythonRelaxDepsHook --- doc/languages-frameworks/python.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index e5e28d5abc78..02fcd29745c4 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1361,6 +1361,8 @@ instead of a dev dependency). Keep in mind that while the examples above are done with `requirements.txt`, `pythonRelaxDepsHook` works by modifying the resulting wheel file, so it should work with any of the [existing hooks](#setup-hooks). +It indicates that `pythonRelaxDepsHook` has no effect on build time dependencies, such as in `build-system`. +If a package requires incompatible build time dependencies, they should be removed in `postPatch` with `substituteInPlace` or something similar. #### Using unittestCheckHook {#using-unittestcheckhook}