Skip to content

Commit 418d48b

Browse files
committed
Disable --importmode=importlib to work around pytest-dev/pytest#9645
1 parent 7b27f76 commit 418d48b

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
test:
1818
name: Test ${{ matrix.os }} Python ${{ matrix.python-version }} conda=${{ matrix.use-conda }}
1919
runs-on: ${{ matrix.os }}
20-
timeout-minutes: 15
20+
timeout-minutes: 20
2121
defaults:
2222
run:
2323
shell: ${{ matrix.special-invocation }}bash -l {0}

MANIFEST.in

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
include AUTHORS.md
2-
include CHANGELOG.md
3-
include LICENSE.txt
4-
include README.md
5-
include SECURITY.md
1+
include AUTHORS*
2+
include CHANGELOG*
3+
include LICENSE*
4+
include README*
5+
include SECURITY*
6+
include pytest.ini
67
recursive-include qtpy/tests *.py *.ui

pytest.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[pytest]
2-
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
2+
# Temporarily remove --importmode=imoprtlib due to pytest-dev/pytest#9681
3+
addopts = --durations=10 -v -r a --color=yes --code-highlight=yes --strict-config --strict-markers --importmode=imoprtlib --maxfail 10 --cov=qtpy --cov-report=term-missing
34
empty_parameter_set_mark = fail_at_collect
45
filterwarnings =
56
error

0 commit comments

Comments
 (0)