diff options
author | github-actions[bot] | 2024-08-07 06:01:16 +0000 |
---|---|---|
committer | GitHub | 2024-08-07 06:01:16 +0000 |
commit | 3c2967ad037887a5ed5f53be3b5be29693940029 (patch) | |
tree | 5cd4bd7633a192b2a7635978967857a5a6fc1edc /doc | |
parent | a3e00ebd2741be3c86e76c8a38c668aaad5a504c (diff) | |
parent | 28d6d07b92aab729d001a8f9deb8e260235d12d4 (diff) |
Merge master into staging-next
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index e5447d986088..beca9545f284 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -55,13 +55,19 @@ sets are * `pkgs.python311Packages` * `pkgs.python312Packages` * `pkgs.python313Packages` -* `pkgs.pypyPackages` +* `pkgs.pypy27Packages` +* `pkgs.pypy39Packages` +* `pkgs.pypy310Packages` and the aliases * `pkgs.python2Packages` pointing to `pkgs.python27Packages` -* `pkgs.python3Packages` pointing to `pkgs.python311Packages` +* `pkgs.python3Packages` pointing to `pkgs.python312Packages` * `pkgs.pythonPackages` pointing to `pkgs.python2Packages` +* `pkgs.pypy2Packages` pointing to `pkgs.pypy27Packages` +* `pkgs.pypy3Packages` pointing to `pkgs.pypy39Packages` +* `pkgs.pypyPackages` pointing to `pkgs.pypy2Packages` + #### `buildPythonPackage` function {#buildpythonpackage-function} @@ -1364,6 +1370,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`: |