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

Fix setting the idna_encode_size #1357

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Fix setting the idna_encode_size #1357

merged 3 commits into from
Oct 21, 2024

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Oct 21, 2024

There was a refactoring error in #1348 that set encode size to the decode size

Fix the bug and add coverage to ensure it does not break again.

This change never made it to a release before the problem was discovered

There was a refactoring error in #1348 that set this to the decode size

Fix the bug and add coverage to ensure it does not break again.

This change never made it to a release
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Oct 21, 2024
@bdraco bdraco marked this pull request as ready for review October 21, 2024 04:47
@bdraco bdraco enabled auto-merge (squash) October 21, 2024 04:47
Copy link

codspeed-hq bot commented Oct 21, 2024

CodSpeed Performance Report

Merging #1357 will improve performances by 8.03%

Comparing idna_encode_size (83073f9) with master (fff1f15)

Summary

⚡ 1 improvements
✅ 82 untouched benchmarks

Benchmarks breakdown

Benchmark master idna_encode_size Change
test_update_query_sequence_mapping 3.8 ms 3.5 ms +8.03%

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.15%. Comparing base (fff1f15) to head (83073f9).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1357   +/-   ##
=======================================
  Coverage   96.14%   96.15%           
=======================================
  Files          28       28           
  Lines        5554     5560    +6     
  Branches      351      346    -5     
=======================================
+ Hits         5340     5346    +6     
  Misses        188      188           
  Partials       26       26           
Flag Coverage Δ
CI-GHA 96.15% <100.00%> (+<0.01%) ⬆️
MyPy 45.54% <100.00%> (+0.11%) ⬆️
OS-Linux 99.23% <100.00%> (+<0.01%) ⬆️
OS-Windows 99.27% <100.00%> (+<0.01%) ⬆️
OS-macOS 98.97% <100.00%> (+<0.01%) ⬆️
Py-3.10.11 98.94% <100.00%> (+<0.01%) ⬆️
Py-3.10.15 99.18% <100.00%> (+<0.01%) ⬆️
Py-3.11.10 99.18% <100.00%> (+<0.01%) ⬆️
Py-3.11.9 98.94% <100.00%> (+<0.01%) ⬆️
Py-3.12.7 99.18% <100.00%> (+<0.01%) ⬆️
Py-3.13.0 99.18% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 98.90% <100.00%> (+<0.01%) ⬆️
Py-3.9.20 99.14% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.16 99.18% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.17 99.21% <100.00%> (+<0.01%) ⬆️
VM-macos-latest 98.97% <100.00%> (+<0.01%) ⬆️
VM-ubuntu-latest 99.23% <100.00%> (+<0.01%) ⬆️
VM-windows-latest 99.27% <100.00%> (+<0.01%) ⬆️
pytest 99.23% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@bdraco bdraco merged commit 16de8e2 into master Oct 21, 2024
43 of 46 checks passed
@bdraco bdraco deleted the idna_encode_size branch October 21, 2024 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant