unknown pytest option --doctest-docutils-modules
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
Research direction
Start with the pytest options in setup.cfg and compare the failing option with the documented pytest options. Run the test command using the repository configuration, then confirm pytest accepts the configured option and the test suite proceeds without the reported unrecognized-argument error.
Written by the indexing model from the issue text.
Description
Hi! I'm currently updating to 0.23.0post0 on Arch Linux and ran into the issue, that the setup.cfg declares an option to pytest that is not understood.
This is probably due to some pytest plugin or similar not being around or some version mismatch on your target test infrastructure.
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --doctest-docutils-modules
inifile: /build/python-libtmux/src/libtmux-0.23.0post0/setup.cfg
rootdir: /build/python-libtmux/src/libtmux-0.23.0post0
This is (roughly) how the package is being built: https://gitlab.archlinux.org/archlinux/packaging/packages/python-libtmux/-/blob/main/PKGBUILD
Here are the full build/test logs:
python-libtmux-0.23.0post0-1-x86_64-check.log
python-libtmux-0.23.0post0-1-x86_64-build.log
After using sed to replace --doctest-docutils-modules with --doctest-modules the tests work.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 127
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tmux-python/libtmux
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
tmux-python/libtmux#759 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tmux-python/libtmux#745 · 2 comments ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tmux-python/libtmux#744 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tmux-python/libtmux#731 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tmux-python/libtmux#654 ·
All issues in tmux-python/libtmux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·