Merge pull request #312957 from knedlsepp/python-protobuf

protobuf_25.tests.pythonProtobuf: disable faulty test
This commit is contained in:
Someone 2024-05-20 11:40:57 +00:00 committed by GitHub
commit 0852bd6a95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
};
}