mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-06 23:24:25 +08:00
- Simplified `download_file` error handling (400+ return codes already raised errors!) - Moved `update_metadata` from `scripts/sync_protobuf/_utils.py` to `lib/ts_utils/metadata.py` - Improved `update_metadata` to support any key (values unvalidated atm) and return the modified dictionary - Updated `scripts/stubsabot.py` to use `update_metadata` - Updated `scripts/sync_protobuf/*` to use `lib/ts_utils` - Updated `scripts/sync_protobuf/tensorflow.py` and `scripts/sync_protobuf/google_protobuf.py` to use the version directly from the `METADATA.toml` file
9 lines
496 B
TOML
9 lines
496 B
TOML
# Using an exact number in the specifier for scripts/sync_proto/google_protobuf.py
|
|
version = "~=5.28.3"
|
|
upstream_repository = "https://github.com/protocolbuffers/protobuf"
|
|
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 27.2 on [protobuf v28.3](https://github.com/protocolbuffers/protobuf/releases/tag/v28.3) (python `protobuf==5.28.3`)."
|
|
partial_stub = true
|
|
|
|
[tool.stubtest]
|
|
ignore_missing_stub = true
|