# =========
# Temporary
# =========

# Incompatible changes introduced in Python 3.11.10
# (Remove once 3.11.10 becomes available for GitHub Actions)
email._header_value_parser.NLSET
email._header_value_parser.SPECIALSNL
email.errors.HeaderWriteError
email.utils.getaddresses
email.utils.parseaddr

# Incompatible changes introduced in Python 3.11.12
# (Remove once 3.11.12 becomes available for GitHub Actions)
email._header_value_parser.get_encoded_word
email._header_value_parser.make_quoted_pairs

# Incompatible changes introduced in Python 3.11.13
# (Remove once 3.11.13 becomes available for GitHub Actions)
html.parser.HTMLParser.set_cdata_mode # parameter `escapable`
genericpath.__all__
genericpath.ALLOW_MISSING
(ntpath.__all__)?
(ntpath.ALLOW_MISSING)?
(ntpath.realpath)?
(os.path.__all__)?
(os.path.ALLOW_MISSING)?
(os.path.realpath)?
(posixpath.__all__)?
(posixpath.ALLOW_MISSING)?
(posixpath.realpath)?
tarfile.LinkFallbackError
tarfile.TarFile._extract_member
tarfile.TarFile.makelink_with_filter

# 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


# ============
# 3.11 to 3.12
# ============

# Not present on all MacOS versions
fcntl.F_OFD_GETLK
fcntl.F_OFD_SETLK
fcntl.F_OFD_SETLKW


# =============================================================
# Allowlist entries that cannot or should not be fixed; <= 3.12
# =============================================================

# Doesn't exist on macos:
_msi
msilib(.[a-z]+)?
ossaudiodev
spwd


# ================
# Unclear problems
# ================

# Added in 3.11.1, flagged by stubtest on Python < 3.14 for unknown reasons
errno.ENOTCAPABLE
