Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion modules/kernels/python/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,19 @@ in

x = config.kernels.python3.python3Package;

basePython = lib.getAttr x config.pkgs;
basePython = (lib.getAttr x config.pkgs).override {
packageOverrides = _pyFinal: pyPrev: {
# Every pylint primer test drives one shared PRIMER_DIRECTORY and reads back the
# comment.txt it writes there, so the pytest-xdist workers overwrite each other's
# output and one of them reads an empty file. They only run on Python 3.11, and
# they cover pylint's own CI tooling rather than anything we ship.
pylint = pyPrev.pylint.overridePythonAttrs (old: {
disabledTestPaths = (old.disabledTestPaths or []) ++ [
"tests/testutils/_primer/test_primer.py"
];
});
};
};
# if lib.hasAttr x specialEnvPythons then (config.pkgs.poetry2nix.mkPoetryEnv {
# projectDir = ./envs/${x};
# python = specialEnvPythons.${x};
Expand Down
Loading