Skip to content

Commit e95559e

Browse files
committed
python-afs: Disable running the checks
It looks like nixos-24.05 tries to run the tests, which expect nose, so the nixos-24.05 CI build fails now. Unstable nixos doesn't have nose. Since the tests also expect OpenAFS to be working on the build machine (they access ThisCell and files in AFS), don't bother fixing the tests to not use nose, and just stop running the tests during the build.
1 parent 8325ab4 commit e95559e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/python-afs.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ in buildPythonPackage {
3131
"afs"
3232
];
3333

34+
# The tests assume that we have AFS installed and working on the machine
35+
# (e.g., they access files in AFS, expect ThisCell to be set, etc.), so
36+
# skip them.
37+
# pythonImportsCheck is run regardless per
38+
# https://ryantm.github.io/nixpkgs/languages-frameworks/python/#using-pythonimportscheck
39+
doCheck = false;
40+
3441
#meta = with lib; {
3542
# description = "Python library for Project Athena forum system";
3643
# homepage = "https://github.com/mit-athena/python-discuss";

0 commit comments

Comments
 (0)