Skip to content

Commit

Permalink
Merge pull request NixOS#312957 from knedlsepp/python-protobuf
Browse files Browse the repository at this point in the history
protobuf_25.tests.pythonProtobuf: disable faulty test
  • Loading branch information
SomeoneSerge authored May 20, 2024
2 parents b30aef1 + 5b84606 commit 0852bd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/python-modules/protobuf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ buildPythonPackage {
# https://github.com/protocolbuffers/protobuf/commit/5abab0f47e81ac085f0b2d17ec3b3a3b252a11f1
#
"google/protobuf/internal/generator_test.py"
] ++ lib.optionals (lib.versionAtLeast protobuf.version "25") [
"minimal_test.py" # ModuleNotFoundError: No module named 'google3'
];

pythonImportsCheck = [
Expand All @@ -122,6 +124,6 @@ buildPythonPackage {
maintainers = with maintainers; [ knedlsepp ];
# Tests are currently failing because backend is unavailable and causes tests to fail
# Progress tracked in https://github.com/NixOS/nixpkgs/pull/264902
broken = lib.versionAtLeast protobuf.version "25";
broken = lib.versionAtLeast protobuf.version "26";
};
}

0 comments on commit 0852bd6

Please sign in to comment.