uWSGI: Makes stubtest_allowlist_darwin more resilient against CI flakyness (#11819)

This commit is contained in:
David Salvisberg
2024-05-15 18:07:55 +02:00
committed by GitHub
parent a86115a19d
commit d3faa5a8b0
3 changed files with 11 additions and 3 deletions

View File

@@ -4,6 +4,6 @@ version = "0.2.*"
[tool.stubtest]
# linux and win32 are equivalent
platforms = ["linux"]
platforms = ["darwin", "linux"]
apt_dependencies = ["portaudio19-dev"]
# brew_dependencies = ["portaudio"]
brew_dependencies = ["portaudio"]

View File

@@ -9,3 +9,8 @@
uwsgi.SymbolsImporter
uwsgi.SymbolsZipImporter
uwsgi.ZipImporter
# These may or may not exist depending on how the CI is feeling
# at any given point in time
(uwsgi\.i_am_the_lord)?
(uwsgi\.lord_scroll)?
(uwsgi\.scrolls)?

View File

@@ -9,4 +9,7 @@ extra_description = """\
"""
[tool.stubtest]
platforms = ["linux"]
# Run stubtest on MacOS as well, to check that the
# uWSGI-specific parts of stubtest_third_party.py
# also work there
platforms = ["linux", "darwin"]