From a29d6710a526f8f22e263ec84a30932eb81a88ab Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Thu, 12 Sep 2024 11:04:07 +0200 Subject: [PATCH] Move platform-specific allowlist entries (#12644) --- stdlib/@tests/stubtest_allowlists/darwin-py311.txt | 8 ++++++++ stdlib/@tests/stubtest_allowlists/py310.txt | 8 -------- stdlib/@tests/stubtest_allowlists/py311.txt | 8 -------- stdlib/@tests/stubtest_allowlists/py39.txt | 8 -------- stdlib/@tests/stubtest_allowlists/win32-py310.txt | 8 ++++++++ stdlib/@tests/stubtest_allowlists/win32-py311.txt | 8 ++++++++ stdlib/@tests/stubtest_allowlists/win32-py39.txt | 8 ++++++++ 7 files changed, 32 insertions(+), 24 deletions(-) diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py311.txt b/stdlib/@tests/stubtest_allowlists/darwin-py311.txt index 10b3f11ee..07cf781fa 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py311.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py311.txt @@ -18,3 +18,11 @@ ossaudiodev fcntl.F_OFD_GETLK fcntl.F_OFD_SETLK fcntl.F_OFD_SETLKW + +# Incompatible changes introduced in Python 3.11.10 +# (Remove once 3.11.10 becomes available for MacOS) +email._header_value_parser.NLSET +email._header_value_parser.SPECIALSNL +email.errors.HeaderWriteError +email.utils.getaddresses +email.utils.parseaddr diff --git a/stdlib/@tests/stubtest_allowlists/py310.txt b/stdlib/@tests/stubtest_allowlists/py310.txt index df3022652..8d0631cdd 100644 --- a/stdlib/@tests/stubtest_allowlists/py310.txt +++ b/stdlib/@tests/stubtest_allowlists/py310.txt @@ -259,11 +259,3 @@ tkinter.EventType.__new__ ctypes._endian.DEFAULT_MODE ctypes._endian.RTLD_GLOBAL ctypes._endian.RTLD_LOCAL - -# Incompatible changes introduced in Python 3.10.15 -# (Remove once 3.10.15 becomes available for all platforms) -(email._header_value_parser.NLSET)? -(email._header_value_parser.SPECIALSNL)? -(email.errors.HeaderWriteError)? -(email.utils.getaddresses)? -(email.utils.parseaddr)? diff --git a/stdlib/@tests/stubtest_allowlists/py311.txt b/stdlib/@tests/stubtest_allowlists/py311.txt index 6619a1fc7..308855f8f 100644 --- a/stdlib/@tests/stubtest_allowlists/py311.txt +++ b/stdlib/@tests/stubtest_allowlists/py311.txt @@ -219,11 +219,3 @@ pkgutil.ImpLoader\..* ctypes._endian.DEFAULT_MODE ctypes._endian.RTLD_GLOBAL ctypes._endian.RTLD_LOCAL - -# Incompatible changes introduced in Python 3.11.10 -# (Remove once 3.11.10 becomes available for all platforms) -(email._header_value_parser.NLSET)? -(email._header_value_parser.SPECIALSNL)? -(email.errors.HeaderWriteError)? -(email.utils.getaddresses)? -(email.utils.parseaddr)? diff --git a/stdlib/@tests/stubtest_allowlists/py39.txt b/stdlib/@tests/stubtest_allowlists/py39.txt index 0e2260452..e7217a040 100644 --- a/stdlib/@tests/stubtest_allowlists/py39.txt +++ b/stdlib/@tests/stubtest_allowlists/py39.txt @@ -233,11 +233,3 @@ tkinter.EventType.__new__ ctypes._endian.DEFAULT_MODE ctypes._endian.RTLD_GLOBAL ctypes._endian.RTLD_LOCAL - -# Incompatible changes introduced in Python 3.9.20 -# (Remove once 3.9.20 becomes available for all platforms) -(email._header_value_parser.NLSET)? -(email._header_value_parser.SPECIALSNL)? -(email.errors.HeaderWriteError)? -(email.utils.getaddresses)? -(email.utils.parseaddr)? diff --git a/stdlib/@tests/stubtest_allowlists/win32-py310.txt b/stdlib/@tests/stubtest_allowlists/win32-py310.txt index 059fb6dd3..e9b0b2d5c 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py310.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py310.txt @@ -14,3 +14,11 @@ crypt nis ossaudiodev spwd + +# Incompatible changes introduced in Python 3.10.15 +# (Remove once 3.10.15 becomes available for Windows) +email._header_value_parser.NLSET +email._header_value_parser.SPECIALSNL +email.errors.HeaderWriteError +email.utils.getaddresses +email.utils.parseaddr diff --git a/stdlib/@tests/stubtest_allowlists/win32-py311.txt b/stdlib/@tests/stubtest_allowlists/win32-py311.txt index 6699bd76a..f6587fc54 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py311.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py311.txt @@ -12,3 +12,11 @@ crypt nis ossaudiodev spwd + +# Incompatible changes introduced in Python 3.11.10 +# (Remove once 3.11.10 becomes available for Windows) +email._header_value_parser.NLSET +email._header_value_parser.SPECIALSNL +email.errors.HeaderWriteError +email.utils.getaddresses +email.utils.parseaddr diff --git a/stdlib/@tests/stubtest_allowlists/win32-py39.txt b/stdlib/@tests/stubtest_allowlists/win32-py39.txt index 059fb6dd3..e1154c3e6 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py39.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py39.txt @@ -14,3 +14,11 @@ crypt nis ossaudiodev spwd + +# Incompatible changes introduced in Python 3.9.20 +# (Remove once 3.9.20 becomes available for Windows) +email._header_value_parser.NLSET +email._header_value_parser.SPECIALSNL +email.errors.HeaderWriteError +email.utils.getaddresses +email.utils.parseaddr