Commit 685e86b
Release Manager
gh-37583: Workaround warning in cython 3.0.9 (#37560)
A new warning in cython 3.0.9 breaks doctests
cython/cython#5999.
We filter this warning at runtime, as a quick workaround for 10.3.
For the future, we will need to remove the `noexcept` in question. Note
that these were mostly added in #36507 guided by a different warning
which is not quite right (see
cython/cython#5999 (comment)).
This has to be done with some care: about 2/3rds of the `noexcept` have
to be removed, but the other 1/3rd has to be kept. These changes are no-
ops as long as we use `legacy_implicit_noexcept=True` but it's important
to get it right before removing the legacy option. Hopefully we'll soon
have a version of cython which gives correct warnings so it's possible
to eliminate both types of warnings. Once there are no warnings left, we
can proceed to remove the legacy option.
### 📝 Checklist
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
Fixes: #37560
URL: #37583
Reported by: Gonzalo Tornaría
Reviewer(s):
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
385 | 391 | | |
386 | 392 | | |
387 | 393 | | |
| |||
0 commit comments