Skip to content

Commit 7c9d622

Browse files
Update allowlists for latest Python patch releases (#15485)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
1 parent 5803a55 commit 7c9d622

File tree

10 files changed

+8
-41
lines changed

10 files changed

+8
-41
lines changed

stdlib/@tests/stubtest_allowlists/darwin-py310.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ tarfile.TarFile.makelink_with_filter
6464

6565
# Incompatible changes introduced in Python 3.10.20
6666
# (Remove once 3.10.20 becomes available for GitHub Actions)
67+
email._header_value_parser.make_parenthesis_pairs
6768
html.parser.HTMLParser.__init__ # parameter `scripting`
6869
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
6970
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/darwin-py311.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ tarfile.TarFile.makelink_with_filter
3535

3636
# Incompatible changes introduced in Python 3.11.15
3737
# (Remove once 3.11.15 becomes available for GitHub Actions)
38+
email._header_value_parser.make_parenthesis_pairs
3839
html.parser.HTMLParser.__init__ # parameter `scripting`
3940
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
4041
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/darwin-py312.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ tarfile.TarFile.makelink_with_filter
2222

2323
# Incompatible changes introduced in Python 3.12.13
2424
# (Remove once 3.12.13 becomes available for GitHub Actions)
25+
email._header_value_parser.make_parenthesis_pairs
2526
html.parser.HTMLParser.__init__ # parameter `scripting`
2627
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
2728
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/linux-py310.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# =========
2-
# Temporary
3-
# =========
4-
5-
# Incompatible changes introduced in Python 3.10.20
6-
# (Remove once 3.10.20 becomes available for GitHub Actions)
7-
html.parser.HTMLParser.__init__ # parameter `scripting`
8-
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
9-
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
10-
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
11-
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
12-
13-
141
# =============================================================
152
# Allowlist entries that cannot or should not be fixed; <= 3.12
163
# =============================================================

stdlib/@tests/stubtest_allowlists/linux-py311.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# =========
2-
# Temporary
3-
# =========
4-
5-
# Incompatible changes introduced in Python 3.11.15
6-
# (Remove once 3.11.15 becomes available for GitHub Actions)
7-
html.parser.HTMLParser.__init__ # parameter `scripting`
8-
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
9-
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
10-
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
11-
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
12-
13-
141
# =============================================================
152
# Allowlist entries that cannot or should not be fixed; <= 3.12
163
# =============================================================

stdlib/@tests/stubtest_allowlists/linux-py312.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# =========
2-
# Temporary
3-
# =========
4-
5-
# Incompatible changes introduced in Python 3.12.13
6-
# (Remove once 3.12.13 becomes available for GitHub Actions)
7-
html.parser.HTMLParser.__init__ # parameter `scripting`
8-
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
9-
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
10-
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
11-
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
12-
13-
141
# =============================================================
152
# Allowlist entries that cannot or should not be fixed; <= 3.12
163
# =============================================================

stdlib/@tests/stubtest_allowlists/win32-py310.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ tarfile.TarFile.makelink_with_filter
6464

6565
# Incompatible changes introduced in Python 3.10.20
6666
# (Remove once 3.10.20 becomes available for GitHub Actions)
67+
email._header_value_parser.make_parenthesis_pairs
6768
html.parser.HTMLParser.__init__ # parameter `scripting`
6869
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
6970
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/win32-py311.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ tarfile.TarFile.makelink_with_filter
3535

3636
# Incompatible changes introduced in Python 3.11.15
3737
# (Remove once 3.11.15 becomes available for GitHub Actions)
38+
email._header_value_parser.make_parenthesis_pairs
3839
html.parser.HTMLParser.__init__ # parameter `scripting`
3940
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
4041
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/win32-py312.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ tarfile.TarFile.makelink_with_filter
2222

2323
# Incompatible changes introduced in Python 3.12.13
2424
# (Remove once 3.12.13 becomes available for GitHub Actions)
25+
email._header_value_parser.make_parenthesis_pairs
2526
html.parser.HTMLParser.__init__ # parameter `scripting`
2627
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
2728
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/email/_header_value_parser.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ SPECIALSNL: Final[set[str]]
2626
def make_quoted_pairs(value: Any) -> str: ...
2727
def quote_string(value: Any) -> str: ...
2828

29-
if sys.version_info >= (3, 13):
30-
# Added in Python 3.13.12, 3.14.3
29+
if sys.version_info >= (3, 10):
30+
# Added in Python 3.10.20, 3.11.15, 3.12.13, 3.13.12, 3.14.3
3131
def make_parenthesis_pairs(value: Any) -> str: ...
3232

3333
rfc2047_matcher: Final[Pattern[str]]

0 commit comments

Comments
 (0)