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

[PR #9032/c693a816 backport][3.11] Fix Link-Local IPv6 Flags in the Resolver #9047

Conversation

patchback[bot]
Copy link
Contributor

@patchback patchback bot commented Sep 6, 2024

This is a backport of PR #9032 as merged into master (c693a81).

Based on commit c48f2d1, the original use of the NI_NUMERICSERV and NI_NUMERICHOST flags was correct for the getnameinfo() call. As of 38dd9b8 the incorrect flags are now being used. Changed AI_* flags back to NI_* flags. Changed corresponding test.

Related issue number

Fixes #9028

Co-authored-by: Nathan Lee <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sam Bull <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
(cherry picked from commit c693a81)
@bdraco bdraco enabled auto-merge (squash) September 6, 2024 20:02
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.76%. Comparing base (37ca369) to head (27f2bcd).
Report is 6 commits behind head on 3.11.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             3.11    #9047   +/-   ##
=======================================
  Coverage   97.76%   97.76%           
=======================================
  Files         108      108           
  Lines       34501    34508    +7     
  Branches     4089     4089           
=======================================
+ Hits        33730    33737    +7     
  Misses        576      576           
  Partials      195      195           
Flag Coverage Δ
CI-GHA 97.66% <100.00%> (+<0.01%) ⬆️
OS-Linux 97.34% <100.00%> (+<0.01%) ⬆️
OS-Windows 94.91% <88.88%> (+<0.01%) ⬆️
OS-macOS 97.03% <100.00%> (+<0.01%) ⬆️
Py-3.10.11 97.12% <100.00%> (+<0.01%) ⬆️
Py-3.10.14 97.05% <100.00%> (+<0.01%) ⬆️
Py-3.11.9 97.28% <100.00%> (+<0.01%) ⬆️
Py-3.12.5 97.38% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 97.02% <100.00%> (+<0.01%) ⬆️
Py-3.9.19 96.96% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.16 96.56% <100.00%> (+<0.01%) ⬆️
VM-macos 97.03% <100.00%> (+<0.01%) ⬆️
VM-ubuntu 97.34% <100.00%> (+<0.01%) ⬆️
VM-windows 94.91% <88.88%> (+<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 4e1070e into 3.11 Sep 6, 2024
29 of 30 checks passed
@bdraco bdraco deleted the patchback/backports/3.11/c693a816ce84d46c445841c707f23e31f174cf28/pr-9032 branch September 6, 2024 21:02
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.

2 participants