Skip to content

Update bundled c-ares to v1.34.5 #221

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

Merged
merged 40 commits into from
May 2, 2025
Merged

Conversation

bdraco
Copy link
Collaborator

@bdraco bdraco commented May 2, 2025

This gets us up to date with c-ares. The regressions I was worried about earlier in the previous PR were fixed in 1.33.1 c-ares/c-ares#852 , and I was able to get all the way to the latest version (v1.34.5) with the only change to the tests being for test_idna_encoding_query_a got a different error code when passing bytes instead of str, which is expected.

https://c-ares.org/changelog.html

Testing

I tested this on multiple production Home Assistant installs along with aio-libs/aiodns#145

@bdraco

This comment has been minimized.

@bdraco

This comment has been minimized.

@bdraco

This comment has been minimized.

@bdraco

This comment has been minimized.

@bdraco

This comment has been minimized.

@bdraco

This comment has been minimized.

@bdraco

This comment has been minimized.

@bdraco
Copy link
Collaborator Author

bdraco commented May 2, 2025

c-ares/c-ares@70f10a8 breaks test_idna_encoding_query_a

@bdraco
Copy link
Collaborator Author

bdraco commented May 2, 2025

its the error that changed when incorrectly passing bytes. this is just fine

bdraco added a commit to bdraco/pycares that referenced this pull request May 2, 2025
In saghul#221 I did a lot of pushes to figure out what had changed
between versions. The previous jobs kept running and the CI
got tied up.
@bdraco bdraco marked this pull request as ready for review May 2, 2025 05:07
@bdraco

This comment has been minimized.

@bdraco bdraco marked this pull request as draft May 2, 2025 05:38
@bdraco bdraco changed the title Update bundled c-ares to v1.32.3 Update bundled c-ares to v1.33.1 May 2, 2025
@bdraco bdraco changed the title Update bundled c-ares to v1.33.1 Update bundled c-ares to v1.34.5 May 2, 2025
@bdraco bdraco marked this pull request as ready for review May 2, 2025 05:59
saghul pushed a commit that referenced this pull request May 2, 2025
In #221 I did a lot of pushes to figure out what had changed
between versions. The previous jobs kept running and the CI
got tied up.
Copy link
Owner

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work!

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