diff options
author | natsukium <tomoya.otabi@gmail.com> | 2024-06-02 00:50:11 +0900 |
---|---|---|
committer | natsukium <tomoya.otabi@gmail.com> | 2024-06-04 09:02:05 +0900 |
commit | 8f9e861543ff115d6ebec3be41a1690f092a699b (patch) | |
tree | bd5911ecccf9eafef2ee9e676d7329a42fd252e8 /doc | |
parent | 1b4462bb0c01bcc633d07c9e316d12af5281ac0a (diff) |
doc/languages-frameworks/python: add extra information for pythonRelaxDepsHook
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index e5e28d5abc782..02fcd29745c42 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} |