Skip to content

Extract grpcio plugins #13896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
05554dc
Remove Any in stubs/grpcio/grpc_status/rpc_status.pyi
Avasam Apr 27, 2025
3b36a98
Extract and complete grpcio plugins
Avasam Apr 27, 2025
b55c92b
Add missing config
Avasam Apr 27, 2025
66d7f13
Add missing generic and run stubdefaulter
Avasam Apr 27, 2025
516089b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 27, 2025
b1caa0a
Remove broken test
Avasam Apr 27, 2025
fe97538
Merge branch 'Extract-and-complete-grpcio-plugins' of https://github.…
Avasam Apr 27, 2025
b427841
Add pyright stricter ignore entries
Avasam Apr 27, 2025
48cf819
typo
Avasam Apr 27, 2025
a569cc4
Missing a stub file
Avasam Apr 27, 2025
21f5a90
Exclude grpcio-status/grpc_status/_async.pyi from stricter
Avasam Apr 27, 2025
3eb034d
Merge branch 'main' of https://github.com/python/typeshed into Extrac…
Avasam Apr 28, 2025
d82357e
fix some stubtest issues
Avasam Apr 28, 2025
20ea195
Solve stubtest issues in protobuf
Avasam Apr 28, 2025
00add89
Fix pytype
Avasam Apr 28, 2025
24dda9f
Remove __hash__ function
Avasam Apr 28, 2025
882bac4
Update pyrightconfig.stricter.json
Avasam May 3, 2025
2b8ceb1
Merge branch 'main' of https://github.com/python/typeshed into Extrac…
Avasam May 5, 2025
48798ea
Merge branch 'Extract-and-complete-grpcio-plugins' of https://github.…
Avasam May 5, 2025
4e2a242
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 5, 2025
7eb5b31
Remove leftover files that have been moved
Avasam May 5, 2025
82b4047
Merge branch 'Extract-and-complete-grpcio-plugins' of https://github.…
Avasam May 5, 2025
4934271
Merge branch 'main' of https://github.com/python/typeshed into Extrac…
Avasam May 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pyrightconfig.stricter.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
"stubs/gdb",
"stubs/geopandas",
"stubs/google-cloud-ndb",
"stubs/grpcio-channelz/grpc_channelz/v1",
"stubs/grpcio-health-checking/grpc_health/v1/health_pb2_grpc.pyi",
"stubs/grpcio-reflection/grpc_reflection/v1alpha",
"stubs/grpcio-status/grpc_status",
"stubs/grpcio/grpc/__init__.pyi",
"stubs/grpcio/grpc_channelz/v1",
"stubs/grpcio/grpc_health/v1/health_pb2_grpc.pyi",
"stubs/grpcio/grpc_reflection/v1alpha",
"stubs/grpcio/grpc_status",
"stubs/hdbcli/hdbcli/dbapi.pyi",
"stubs/html5lib",
"stubs/httplib2",
Expand Down
3 changes: 3 additions & 0 deletions stubs/grpcio-channelz/METADATA.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version = "1.*"
upstream_repository = "https://github.com/grpc/grpc"
requires = ["types-grpcio", "types-protobuf"]
3 changes: 3 additions & 0 deletions stubs/grpcio-health-checking/METADATA.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version = "1.*"
upstream_repository = "https://github.com/grpc/grpc"
requires = ["types-grpcio", "types-protobuf"]
3 changes: 3 additions & 0 deletions stubs/grpcio-reflection/METADATA.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version = "1.*"
upstream_repository = "https://github.com/grpc/grpc"
requires = ["types-grpcio", "types-protobuf"]
3 changes: 3 additions & 0 deletions stubs/grpcio-status/METADATA.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version = "1.*"
upstream_repository = "https://github.com/grpc/grpc"
requires = ["types-grpcio"]
9 changes: 0 additions & 9 deletions stubs/grpcio/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
version = "1.*"
upstream_repository = "https://github.com/grpc/grpc"
partial_stub = true
requires = [
"types-protobuf",
]

[tool.stubtest]
ignore_missing_stub = true
stubtest_requirements = [
"grpcio-channelz",
"grpcio-health-checking",
"grpcio-reflection",
"grpcio-status",
]
Loading