Skip to content

Commit fa0c6fd

Browse files
authored
protobuff: Prevent namespace package google from having a py.typed file at root
Short-term fix for #11254 (see discussion in the issue)
1 parent adc2e16 commit fa0c6fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stubs/protobuf/METADATA.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
version = "4.24.*"
22
upstream_repository = "https://github.com/protocolbuffers/protobuf"
33
extra_description = "Generated using [mypy-protobuf==3.5.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.5.0) on protobuf==4.21.8"
4-
partial_stub = true
4+
# Namespace packages shouldn't have py.typed files at the root. See #11254
5+
# This could be better reolved in stub_uploader, but in the mean time, this stays false.
6+
partial_stub = false
57

68
[tool.stubtest]
79
ignore_missing_stub = true

0 commit comments

Comments
 (0)