From 7c5e01f1e0b840a2073c614b746baa2d5b79f1a3 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Fri, 25 Feb 2022 23:28:51 -0600 Subject: [PATCH] Disable --importmode=importlib to work around pytest-dev/pytest#9645 --- MANIFEST.in | 11 ++++++----- pytest.ini | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 1d7cd43a..c089429f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,7 @@ -include AUTHORS.md -include CHANGELOG.md -include LICENSE.txt -include README.md -include SECURITY.md +include AUTHORS* +include CHANGELOG* +include LICENSE* +include README* +include SECURITY* +include pytest.ini recursive-include qtpy/tests *.py *.ui diff --git a/pytest.ini b/pytest.ini index 19e23c3b..be204876 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,6 @@ [pytest] -addopts = --durations=10 -v -r a --color=yes --code-highlight=yes --strict-config --strict-markers --import-mode=importlib --maxfail 10 --cov=qtpy --cov-report=term-missing +# Temporarily remove --imoprtmode=imoprtlib due to pytest-dev/pytest#9681 +addopts = --durations=10 -v -r a --color=yes --code-highlight=yes --strict-config --strict-markers --maxfail 10 --cov=qtpy --cov-report=term-missing empty_parameter_set_mark = fail_at_collect filterwarnings = error