1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

doc/languages-frameworks/python: add extra information for pythonRelaxDepsHook

This commit is contained in:
natsukium 2024-06-02 00:50:11 +09:00
parent 1b4462bb0c
commit 8f9e861543
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -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}