[Python-checkins] Add ignore file for the abidump check (GH-25323)
pablogsal
webhook-mailer at python.org
Fri Apr 9 18:12:12 EDT 2021
https://github.com/python/cpython/commit/b3fec753bb14e10066be908b93d3448c6b433ea6
commit: b3fec753bb14e10066be908b93d3448c6b433ea6
branch: 3.9
author: Pablo Galindo <Pablogsal at gmail.com>
committer: pablogsal <Pablogsal at gmail.com>
date: 2021-04-09T23:12:08+01:00
summary:
Add ignore file for the abidump check (GH-25323)
files:
A Doc/data/python3.9.abi.ignorefile
M Makefile.pre.in
diff --git a/Doc/data/python3.9.abi.ignorefile b/Doc/data/python3.9.abi.ignorefile
new file mode 100644
index 0000000000000..a9c89f0a746c8
--- /dev/null
+++ b/Doc/data/python3.9.abi.ignorefile
@@ -0,0 +1,8 @@
+[suppress_type]
+name_regexp = _Py.*
+
+[suppress_variable]
+name_regexp = _Py.*
+
+[suppress_function]
+name_regexp = _Py.*
diff --git a/Makefile.pre.in b/Makefile.pre.in
index d088eb5768fc8..9aeeac5cca295 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -759,7 +759,9 @@ regen-abidump: all
@$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
check-abidump: all
- abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types --no-architecture --no-added-syms
+ abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types \
+ --suppressions $(srcdir)/Doc/data/python$(LDVERSION).abi.ignorefile \
+ --no-architecture --no-added-syms
############################################################################
# Regenerate all generated files
More information about the Python-checkins
mailing list