Commit Graph

6 Commits

Author SHA1 Message Date
Konstantin Baikov
445858c565 Remove unnecessary pyright supressions (#13287) 2024-12-23 20:27:11 -08:00
Avasam
bff5547abc Use lib/ts_utils for scripts/sync_protobuf (#12913)
- 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
2024-10-28 11:47:52 +01:00
Sebastian Rittau
2d0f6d8277 Bundle path handling in ts_utils.paths (#12805) 2024-10-17 08:16:10 +02:00
Sebastian Rittau
36fb63ebc8 Support compatible version specifiers (#12771) 2024-10-17 08:15:30 +02:00
Sebastian Rittau
a2d6d5315b [stubsabot] Use common functions from ts_utils (#12772) 2024-10-14 15:41:28 +02:00
Sebastian Rittau
1fa4986f71 Move common utility functions to a common library (#12773) 2024-10-14 08:00:02 +02:00