Skip to content
Snippets Groups Projects
Commit d9faa71a57f6 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

test-check: don't report distutils as a local import

On python 3.12 this is wrongly reported as a local import. So we adjust the
checker to avoid it.
parent a0f1378b932e
No related branches found
No related tags found
1 merge request!880test-check: fix some 3.12 false positive
......@@ -237,6 +237,8 @@
yield m
for m in ['cffi']:
yield m
yield 'distutils' # in Python < 3.12
yield 'distutils.version' # in Python < 3.12
stdlib_prefixes = {sys.prefix, sys.exec_prefix}
# We need to supplement the list of prefixes for the search to work
# when run from within a virtualenv.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment