Skip to content

gh-155558: Update bundled Expat to 2.8.3 - #155560

Merged
encukou merged 1 commit into
python:mainfrom
StanFromIreland:expat-2.8.3
Aug 12, 2026
Merged

gh-155558: Update bundled Expat to 2.8.3#155560
encukou merged 1 commit into
python:mainfrom
StanFromIreland:expat-2.8.3

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Aug 11, 2026

Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Aug 11, 2026
@StanFromIreland StanFromIreland added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 11, 2026

@encukou encukou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Modules/expat/refresh.sh gives me the same result; changes in Expat look reasonable.

@encukou
encukou merged commit 3d6a505 into python:main Aug 12, 2026
120 of 122 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12, 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 12, 2026

Copy link
Copy Markdown

GH-155612 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 12, 2026
@bedevere-app

bedevere-app Bot commented Aug 12, 2026

Copy link
Copy Markdown

GH-155613 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Aug 12, 2026
@bedevere-app

bedevere-app Bot commented Aug 12, 2026

Copy link
Copy Markdown

GH-155614 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Aug 12, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland and @encukou, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 3d6a50598ba7c89a6468f8e77afe2a39787c80e5 3.11

@bedevere-app

bedevere-app Bot commented Aug 12, 2026

Copy link
Copy Markdown

GH-155615 is a backport of this pull request to the 3.12 branch.

@miss-islington-app

Copy link
Copy Markdown

Sorry, @StanFromIreland and @encukou, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 3d6a50598ba7c89a6468f8e77afe2a39787c80e5 3.10

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Aug 12, 2026
@StanFromIreland

StanFromIreland commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

Modules/expat/refresh.sh gives me the same result

JFYI @encukou, we have a CI check for that https://github.com/python/cpython/actions/runs/31501678160 :-)

@StanFromIreland
StanFromIreland deleted the expat-2.8.3 branch August 12, 2026 11:18
@bedevere-app

bedevere-app Bot commented Aug 12, 2026

Copy link
Copy Markdown

GH-155616 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Aug 12, 2026
@bedevere-app

bedevere-app Bot commented Aug 12, 2026

Copy link
Copy Markdown

GH-155618 is a backport of this pull request to the 3.10 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.10 only security fixes label Aug 12, 2026
Yhg1s pushed a commit that referenced this pull request Aug 12, 2026
gh-155558: Update bundled Expat to 2.8.3 (GH-155560)
(cherry picked from commit 3d6a505)

Co-authored-by: Stan Ulbrych <stan@python.org>
StanFromIreland added a commit that referenced this pull request Aug 12, 2026
(cherry picked from commit 3d6a505)

Co-authored-by: Stan Ulbrych <stan@python.org>
StanFromIreland added a commit that referenced this pull request Aug 12, 2026
(cherry picked from commit 3d6a505)

Co-authored-by: Stan Ulbrych <stan@python.org>
hugovk pushed a commit that referenced this pull request Aug 12, 2026
Co-authored-by: Stan Ulbrych <stan@python.org>
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 FreeBSD14 3.12 (tier-3) has failed when building commit c546712.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1233/builds/1413) and take a look at the build logs.
  4. Check if the failure is related to this commit (c546712) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1233/builds/1413

Failed tests:

  • test_httpservers

Failed subtests:

  • test_large_content_length_truncated - test.test_httpservers.CGIHTTPServerTestCase.test_large_content_length_truncated

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/test/test_httpservers.py", line 914, in test_large_content_length_truncated
    res = self.request('/cgi-bin/file1.py', 'POST', b'x', headers)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/test/test_httpservers.py", line 87, in request
    return self.connection.getresponse()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/http/client.py", line 1478, in getresponse
    response.begin()
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/http/client.py", line 343, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/http/client.py", line 312, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/test/test_httpservers.py", line 914, in test_large_content_length_truncated
    res = self.request('/cgi-bin/file1.py', 'POST', b'x', headers)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/test/test_httpservers.py", line 87, in request
    return self.connection.getresponse()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/http/client.py", line 1478, in getresponse
    response.begin()
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/http/client.py", line 343, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/http/client.py", line 304, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.opsec-fbsd14/build/Lib/socket.py", line 720, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 54] Connection reset by peer

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.

3 participants