mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 23:51:03 +00:00
treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
This commit is contained in:
@@ -794,11 +794,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
inherit src;
|
||||
name = "python${pythonVersion}-${version}-doc";
|
||||
|
||||
postPatch = lib.optionalString (pythonAtLeast "3.9" && pythonOlder "3.11") ''
|
||||
substituteInPlace Doc/tools/extensions/pyspecific.py \
|
||||
--replace-fail "from sphinx.util import status_iterator" "from sphinx.util.display import status_iterator"
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
@@ -82,17 +82,12 @@ let
|
||||
"installer"
|
||||
];
|
||||
|
||||
isBootstrapPackage' = flip elem (
|
||||
[
|
||||
"build"
|
||||
"packaging"
|
||||
"pyproject-hooks"
|
||||
"wheel"
|
||||
]
|
||||
++ optionals (python.pythonOlder "3.11") [
|
||||
"tomli"
|
||||
]
|
||||
);
|
||||
isBootstrapPackage' = flip elem [
|
||||
"build"
|
||||
"packaging"
|
||||
"pyproject-hooks"
|
||||
"wheel"
|
||||
];
|
||||
|
||||
isSetuptoolsDependency' = flip elem [
|
||||
"setuptools"
|
||||
|
||||
Reference in New Issue
Block a user