-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
gh-93018: Fix for the compatibility problems with expat #93900
Conversation
This is another take on #93022, fixes #93018. 1. I believe it is inappropriate to assert on the error message for the external API. Error messages are not part of the provided contract with its users. 2. I don't think we are really care what exact exception is thrown, it is much more important that non-well-formed XML is discovered. 3. Changing tests based on the version of library seems as a code smell to me, but that's personal opinion.
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.
Hi! I'm unsure of this direction at the moment, I'll leave to you to weigh the pros and cons of this approach.
Hi @hartwork, I think @mcepl is a good approach (from a linux distribution maintainer). Note that a linux distro may backport patches (for dependencies like |
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.
I understand that test failures are not nice, no matter what or who is causing them. So if it's tolerable that this PR makes the test suite slightly more forgiving and in a way less precise, then it's probably a good direction with regard to ridding the misleading test failures. Please see two comments on details below. Sorry I didn't find time to reply earlier.
Misc/NEWS.d/next/Tests/2022-06-16-13-26-31.gh-issue-93018.wvNx76.rst
Outdated
Show resolved
Hide resolved
@hartwork Can we move on here, please? |
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.
lgtm
This is another take on #93022, fixes #93018.
Cc: @corona10 @hartwork