From fa0c6fd25b36d8e931f5ea54df83f21dab223919 Mon Sep 17 00:00:00 2001 From: Avasam Date: Sun, 7 Jan 2024 23:07:43 -0500 Subject: [PATCH] protobuff: Prevent namespace package google from having a py.typed file at root Short-term fix for #11254 (see discussion in the issue) --- stubs/protobuf/METADATA.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stubs/protobuf/METADATA.toml b/stubs/protobuf/METADATA.toml index 7ee1107f0357..44b04f1fe6e1 100644 --- a/stubs/protobuf/METADATA.toml +++ b/stubs/protobuf/METADATA.toml @@ -1,7 +1,9 @@ version = "4.24.*" upstream_repository = "https://github.com/protocolbuffers/protobuf" extra_description = "Generated using [mypy-protobuf==3.5.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.5.0) on protobuf==4.21.8" -partial_stub = true +# Namespace packages shouldn't have py.typed files at the root. See #11254 +# This could be better reolved in stub_uploader, but in the mean time, this stays false. +partial_stub = false [tool.stubtest] ignore_missing_stub = true