Closed Kahlenden closed 7 months ago
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Hello, thanks for reporting this issue! :)
After investigation, I think the reason of our failing gns3-server build is the upgrade of pytest to 8.x: https://github.com/nixos/nixpkgs/commit/92c34d01035c
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix
index ae792037e453..f9939000f744 100644
--- a/pkgs/applications/networking/gns3/server.nix
+++ b/pkgs/applications/networking/gns3/server.nix
@@ -66,7 +66,7 @@ python3.pkgs.buildPythonApplication {
checkInputs = with python3.pkgs; [
pytest-aiohttp
pytest-rerunfailures
- pytestCheckHook
+ (pytestCheckHook.override { pytest = pytest_7; })
];
pytestFlagsArray = [
Looks like a resolution is to downgrade pytest to 7.x for gns3-server so that the build passes.
We can set the version while waiting for a patch upstream. I'll create a PR with this temporary fix.
The PR is here: https://github.com/NixOS/nixpkgs/pull/299853
Build pass: https://hydra.nixos.org/build/255496086
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
after switching between commits in nixpkgs, this commit is what caused the problem https://github.com/NixOS/nixpkgs/commit/b3bced21a8acebb9e8777c5af8de851c49d8637e my temporary fix for now is reverting back a commit, to 093051473fd84cce950f574e77754353a5731463
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.