Repository navigation
Accept stacklevel in warn_deprecated again - #6802
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Merging this PR will degrade performance by 8.4%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR only changes warn_deprecated in deprecations.py by adding an optional keyword-only stacklevel parameter that defaults to None, and a new test. When stacklevel is not passed, the function still uses _stacklevel_at_caller exactly as before, so existing callers, warning messages, categories and attributed frames are unchanged. No parameters, options, templates or public names were removed, and Python version support is unchanged. The behaviour diff gate does list accepted cells, all about how single-quote regex patterns are written. This PR does not touch pattern or code generation logic, so those cells come from other changes since release 0.95.0 and not from this diff. The rest are both-fail, no-behaviour or crash-fix cells, which do not change behaviour. This analysis was produced by the release draft workflow |
|
🎉 Released in 0.96.0 This PR is now available in the latest release. See the release notes for details. |
Fixes: #6801
Summary by CodeRabbit