Update allowlists for latest Python patch releases (#15485)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
This commit is contained in:
Semyon Moroz
2026-03-04 03:54:01 +00:00
committed by GitHub
parent 5803a553ee
commit 7c9d622f5b
10 changed files with 8 additions and 41 deletions
@@ -64,6 +64,7 @@ tarfile.TarFile.makelink_with_filter
# Incompatible changes introduced in Python 3.10.20
# (Remove once 3.10.20 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
@@ -35,6 +35,7 @@ tarfile.TarFile.makelink_with_filter
# Incompatible changes introduced in Python 3.11.15
# (Remove once 3.11.15 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
@@ -22,6 +22,7 @@ tarfile.TarFile.makelink_with_filter
# Incompatible changes introduced in Python 3.12.13
# (Remove once 3.12.13 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
@@ -1,16 +1,3 @@
# =========
# Temporary
# =========
# Incompatible changes introduced in Python 3.10.20
# (Remove once 3.10.20 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================
@@ -1,16 +1,3 @@
# =========
# Temporary
# =========
# Incompatible changes introduced in Python 3.11.15
# (Remove once 3.11.15 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================
@@ -1,16 +1,3 @@
# =========
# Temporary
# =========
# Incompatible changes introduced in Python 3.12.13
# (Remove once 3.12.13 becomes available for GitHub Actions)
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================
@@ -64,6 +64,7 @@ tarfile.TarFile.makelink_with_filter
# Incompatible changes introduced in Python 3.10.20
# (Remove once 3.10.20 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
@@ -35,6 +35,7 @@ tarfile.TarFile.makelink_with_filter
# Incompatible changes introduced in Python 3.11.15
# (Remove once 3.11.15 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
@@ -22,6 +22,7 @@ tarfile.TarFile.makelink_with_filter
# Incompatible changes introduced in Python 3.12.13
# (Remove once 3.12.13 becomes available for GitHub Actions)
email._header_value_parser.make_parenthesis_pairs
html.parser.HTMLParser.__init__ # parameter `scripting`
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
+2 -2
View File
@@ -26,8 +26,8 @@ SPECIALSNL: Final[set[str]]
def make_quoted_pairs(value: Any) -> str: ...
def quote_string(value: Any) -> str: ...
if sys.version_info >= (3, 13):
# Added in Python 3.13.12, 3.14.3
if sys.version_info >= (3, 10):
# Added in Python 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
def make_parenthesis_pairs(value: Any) -> str: ...
rfc2047_matcher: Final[Pattern[str]]