Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci/improve code collection #149

Merged
merged 5 commits into from
Oct 27, 2024
Merged

Conversation

MatthieuDartiailh
Copy link
Owner

No description provided.

We improve the logic for round-trip re-compilation of code objects
by listening for module code objects before they are executed.
This way we can thoroughly recurse over nested code object and
attain total coverage for better confidence.
@codecov-commenter
Copy link

codecov-commenter commented Oct 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.79%. Comparing base (63d32b5) to head (d4c217c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
- Coverage   95.79%   95.79%   -0.01%     
==========================================
  Files           7        7              
  Lines        2044     2043       -1     
  Branches      464      464              
==========================================
- Hits         1958     1957       -1     
  Misses         52       52              
  Partials       34       34              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MatthieuDartiailh MatthieuDartiailh force-pushed the ci/improve-code-collection branch 2 times, most recently from b18a1c6 to 1c801c0 Compare October 27, 2024 18:27
This is necessary because the TryEnd may be relevant only in some particular branching conditions.
@MatthieuDartiailh MatthieuDartiailh force-pushed the ci/improve-code-collection branch from 1c801c0 to 95c3de4 Compare October 27, 2024 18:31
@MatthieuDartiailh MatthieuDartiailh marked this pull request as ready for review October 27, 2024 18:46
@MatthieuDartiailh MatthieuDartiailh force-pushed the ci/improve-code-collection branch from 0d3b31e to d4c217c Compare October 27, 2024 18:52
@MatthieuDartiailh
Copy link
Owner Author

@P403n1x87 I pulled your work #143 and after investigating a bit more the 3.11 failure came up with a marginally different solution (mostly a clearer explanation of why things happen). If you are fine with it I will merge and then proceed to 0.16.0 release with Python 3.13 support.

@MatthieuDartiailh MatthieuDartiailh merged commit ca49707 into main Oct 27, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants