-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
gh-116741: Upgrade libexpat to 2.6.2 #117296
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
Conversation
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.
@sethmlarson looks good, my verification script likes it. Thank you! 👍
# Copyright (c) 2022-2024 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the Apache License version 2.0
FROM alpine
RUN apk add --update \
diffutils \
git \
sed \
&& \
git clone --depth 1 https://github.com/python/cpython cpython-main \
&& \
( cd cpython-main && git rev-parse HEAD ) \
&& \
git clone --depth 1 --branch libexpat-2.6.2 https://github.com/sethmlarson/cpython cpython-pr \
&& \
( cd cpython-pr && git rev-parse HEAD ) \
&& \
git config --global advice.detachedHead false \
&& \
git clone --depth 1 --branch R_2_6_0 https://github.com/libexpat/libexpat libexpat_2_6_0 \
&& \
git clone --depth 1 --branch R_2_6_2 https://github.com/libexpat/libexpat libexpat_2_6_2 \
&& \
diff -r -u libexpat_2_6_0/expat/lib/ cpython-main/Modules/expat/ | tee 2-6-0.diff \
&& \
diff -r -u libexpat_2_6_2/expat/lib/ cpython-pr/Modules/expat/ | tee 2-6-2.diff \
&& \
sed -e '/^Only in /d' -e '/^\(+++\|---\) /d' -e '/^diff /d' -i 2-6-0.diff 2-6-2.diff \
&& \
diff -u 2-6-0.diff 2-6-2.diff \
&& \
echo 'Diff is good.'
@sethmlarson ready to merge? |
@sethmlarson any news? |
@hartwork I can't merge PRs on my own, I'll find a core developer to merge. |
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.
These changes appear to match libexpat/libexpat@R_2_6_0...R_2_6_2.
We should probably script updating this.
Thanks @sethmlarson for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9, 3.10, 3.11, 3.12. |
Upgrade libexpat to 2.6.2 (cherry picked from commit c9829ee) Co-authored-by: Seth Michael Larson <seth@python.org>
Sorry, @sethmlarson and @gpshead, I could not cleanly backport this to
|
GH-118166 is a backport of this pull request to the 3.12 branch. |
Sorry, @sethmlarson and @gpshead, I could not cleanly backport this to
|
Sorry, @sethmlarson and @gpshead, I could not cleanly backport this to
|
Sorry, @sethmlarson and @gpshead, I could not cleanly backport this to
|
GH-118185 is a backport of this pull request to the 3.11 branch. |
Upgrade libexpat to 2.6.2 (cherry picked from commit c9829ee) Co-authored-by: Seth Michael Larson <seth@python.org>
Upgrade libexpat to 2.6.2 (cherry picked from commit c9829ee) Co-authored-by: Seth Michael Larson <seth@python.org>
GH-118186 is a backport of this pull request to the 3.10 branch. |
Upgrade libexpat to 2.6.2 (cherry picked from commit c9829ee) Co-authored-by: Seth Michael Larson <seth@python.org>
GH-118187 is a backport of this pull request to the 3.9 branch. |
Upgrade libexpat to 2.6.2 (cherry picked from commit c9829ee) Co-authored-by: Seth Michael Larson <seth@python.org>
GH-118188 is a backport of this pull request to the 3.8 branch. |
@sethmlarson thanks a lot! 👍 |
|
cc @hartwork