mirror of https://github.com/grpc/grpc.git
[python] Cython 3 compatibility: declare functions noexcept. (#35995)
In Cython 3, cdef functions that really will not raise exceptions must be declared as `noexcept`. Fixed by this commit.
Update requirements to `cython >= 3.0` in requirements*.txt and setup.py.
Fixes issue #33918.
<!--
If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the appropriate
lang label.
-->
Closes #35995
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35995 from badshah400:master b3277bac15
PiperOrigin-RevId: 621214091
pull/36227/head
parent
da43a61322
commit
4bea12353c
9 changed files with 15 additions and 15 deletions
@ -1,5 +1,5 @@ |
||||
# GRPC Python setup requirements |
||||
coverage>=4.0 |
||||
cython>=0.29.8,<3.0.0rc1 |
||||
cython>=3.0.0 |
||||
protobuf>=4.21.3,<5.0dev |
||||
wheel>=0.29 |
||||
|
Loading…
Reference in new issue