Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.12] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203)#117244

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 1 commit intopython:3.12frommiss-islington:backport-9f74e86-3.12
Mar 26, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedMar 26, 2024
edited by bedevere-appbot
Loading

This fixes XML unittest fallout from the#115398 security fix. When configured using--with-system-expat on systems with older pre 2.6.0 versions of libexpat, our unittests were failing.

  • sax|etree: Simplify Expat version guard where simplifiable

Idea by Matěj Cepl

  • sax|etree: Fix reparse deferral tests for vanilla Expat <2.6.0

Thisdoes not fix the case of distros with an older version of libexpat with the 2.6.0 feature backported as a security fix. (Ubuntu is a known example of this with its libexpat1 2.5.0-2ubunutu0.1 package)
(cherry picked from commit9f74e86)

Co-authored-by: Sebastian Pippingsebastian@pipping.org

)This fixes XML unittest fallout from thepython#115398 security fix.  When configured using `--with-system-expat` on systems with older pre 2.6.0 versions of libexpat, our unittests were failing.* sax|etree: Simplify Expat version guard where simplifiableIdea by Matěj Cepl* sax|etree: Fix reparse deferral tests for vanilla Expat <2.6.0This *does not fix* the case of distros with an older version of libexpat with the 2.6.0 feature backported as a security fix.  (Ubuntu is a known example of this with its libexpat1 2.5.0-2ubunutu0.1 package)(cherry picked from commit9f74e86)Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
@gpsheadgpsheadenabled auto-merge (squash)March 26, 2024 01:53
@gpsheadgpshead merged commit1c72265 intopython:3.12Mar 26, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gpsheadgpsheadgpshead approved these changes

Assignees
No one assigned
Labels
testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@miss-islington@gpshead@hartwork

[8]ページ先頭

©2009-2025 Movatter.jp