mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
doc/languages-frameworks/python: add extra information for pythonRelaxDepsHook
This commit is contained in:
parent
1b4462bb0c
commit
8f9e861543
1 changed files with 2 additions and 0 deletions
|
@ -1361,6 +1361,8 @@ instead of a dev dependency).
|
||||||
Keep in mind that while the examples above are done with `requirements.txt`,
|
Keep in mind that while the examples above are done with `requirements.txt`,
|
||||||
`pythonRelaxDepsHook` works by modifying the resulting wheel file, so it should
|
`pythonRelaxDepsHook` works by modifying the resulting wheel file, so it should
|
||||||
work with any of the [existing hooks](#setup-hooks).
|
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}
|
#### Using unittestCheckHook {#using-unittestcheckhook}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue