tomli was merged under the name tomllib into std library *3.11*#3088
tomli was merged under the name tomllib into std library *3.11*#3088koxudaxi merged 2 commits intokoxudaxi:mainfrom
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merging this PR will improve performance by 18.37%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | WallTime | test_perf_duplicate_names |
1,098.4 ms | 940.3 ms | +16.81% |
| ⚡ | WallTime | test_perf_complex_refs |
2.3 s | 1.9 s | +18.37% |
| ⚡ | WallTime | test_perf_deep_nested |
6.3 s | 5.5 s | +14.91% |
| ⚡ | WallTime | test_perf_multiple_files_input |
3.9 s | 3.3 s | +17.75% |
| ⚡ | WallTime | test_perf_kubernetes_style_pydantic_v2 |
2.7 s | 2.4 s | +14.44% |
| ⚡ | WallTime | test_perf_graphql_style_pydantic_v2 |
856.1 ms | 740.3 ms | +15.65% |
| ⚡ | WallTime | test_perf_stripe_style_pydantic_v2 |
2.1 s | 1.8 s | +13.86% |
| ⚡ | WallTime | test_perf_openapi_large |
3 s | 2.6 s | +16.78% |
| ⚡ | WallTime | test_perf_aws_style_openapi_pydantic_v2 |
2 s | 1.7 s | +15.99% |
| ⚡ | WallTime | test_perf_large_models_pydantic_v2 |
3.8 s | 3.3 s | +16.66% |
| ⚡ | WallTime | test_perf_all_options_enabled |
6.8 s | 5.9 s | +15.57% |
Comparing a-detiste:main (09425f3) with main (d7a1f71)
Footnotes
-
98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3088 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 87 87
Lines 18300 18300
Branches 2090 2090
=========================================
Hits 18300 18300
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Breaking Change AnalysisResult: No breaking changes detected Reasoning: This PR contains three bug fixes: (1) correcting the tomli dependency marker from python_version<='3.11' to python_version<'3.11' since tomllib was added to the stdlib in 3.11, not 3.12; (2) fixing CLI input source precedence so that CLI args properly override pyproject.toml settings for competing input sources (--input, --url, --input-model); (3) fixing relative root $id resolution against the base URL in reference.py. None of these changes alter code generation output, CLI/API surface, default behaviors, template requirements, or Python version support. They are all correctness fixes for previously incorrect behavior. This analysis was performed by Claude Code Action |
|
🎉 Released in 0.56.1 This PR is now available in the latest release. See the release notes for details. |
Hi,
There is a little of-by-one error in the dependencies metadata.
This is important on Debian when we try to remove old
tomliusageand the cut-off Python version to drop optional dependencies is precisely 3.11
https://salsa.debian.org/python-team/tools/dh-python/-/commit/14e4e6a8ae63c9918732599393f6f28d1130d3bd
https://docs.python.org/3/library/tomllib.html
Summary by CodeRabbit