about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSomeone <sergei.kozlukov@aalto.fi>2024-05-20 11:40:57 +0000
committerGitHub <noreply@github.com>2024-05-20 11:40:57 +0000
commit0852bd6a954bb42ad6bf1f88ef12a7fbe3009103 (patch)
treefadcc0762a4a887a5272a1af38d4442f3ca500c9
parentb30aef1f0a0bf0bda3a3895591f123d4fcd5df37 (diff)
parent5b84606d50d1d4f6fd58f111fc4796e55a11d6a0 (diff)
Merge pull request #312957 from knedlsepp/python-protobuf
protobuf_25.tests.pythonProtobuf: disable faulty test
-rw-r--r--pkgs/development/python-modules/protobuf/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/protobuf/default.nix b/pkgs/development/python-modules/protobuf/default.nix
index 73e013d00af8c..f47c64d19a375 100644
--- a/pkgs/development/python-modules/protobuf/default.nix
+++ b/pkgs/development/python-modules/protobuf/default.nix
@@ -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 = [
@@ -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";
   };
 }