generated from tophat/new-project-kit
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[WIP] Syrupy v5 #905
Draft
noahnu
wants to merge
10
commits into
main
Choose a base branch
from
next
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[WIP] Syrupy v5 #905
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is @@ Coverage Diff @@
## main #905 +/- ##
==========================================
- Coverage 97.71% 97.40% -0.31%
==========================================
Files 21 21
Lines 1616 1658 +42
==========================================
+ Hits 1579 1615 +36
- Misses 37 43 +6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Benchmark suite | Current: e445cdf | Previous: 7fdffd9 | Ratio |
---|---|---|---|
benchmarks/test_1000x.py::test_1000x_reads |
0.7816811072680893 iter/sec (stddev: 0.056085821716579776 ) |
0.791293207258563 iter/sec (stddev: 0.07167662396936088 ) |
1.01 |
benchmarks/test_1000x.py::test_1000x_writes |
0.7158407282480719 iter/sec (stddev: 0.21995078515667238 ) |
0.7056598497565947 iter/sec (stddev: 0.23696319708989552 ) |
0.99 |
benchmarks/test_standard.py::test_standard |
0.7265557557121373 iter/sec (stddev: 0.06589037094384544 ) |
0.7288381306864072 iter/sec (stddev: 0.09187540514725986 ) |
1.00 |
This comment was automatically generated by workflow using github-action-benchmark.
This was referenced Feb 17, 2025
BREAKING CHANGE: Drops support for Python 3.8 which is end of life as of October 2024. Raises the minimum version of pytest to v8.
* chore(poetry): use project toml spec * feat: switch from Apache-2.0 to MIT license BREAKING CHANGE: The Syrupy project is switching from Apache 2.0 to a more permissive MIT license. By using Syrupy >=5, you agree to abide by this new license. You can continue to use Syrupy v1 through v4 under Apache 2.0.
BREAKING CHANGE: Trailing newlines are now preserved in amber serialization. This mostly affects serialization of custom repr implementations.
…t in binary mode (#951)
…f the default amber extension (#959)
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Syrupy v5
Features
SingleFileSnapshotExtension
with non-byte-like object.compose_matchers
utility to compose one or more matchers.SingleFileAmberSnapshotExtension
.Breaking Changes