-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown pytest option --doctest-docutils-modules #496
Comments
I haven't checked.
No I'm not installing/packaging that. It is not in the test environment.
I have been orienting according to this block to figure out what are the relevant test requirements for me. Hm, guess I need to package yet another package 🥲 |
Yes I think so - as a test dependency. gp-libs' |
Shouldn't this be in the test dependencies section in the pyproject.toml? And not (only) in the docs section? |
(I will not be able to look at this until the weekend / evening.) Yes, it should be in the test dependencies. I will follow up.
…________________________________
From: Johannes Kastl ***@***.***>
Sent: Monday, November 20, 2023 11:52 PM
To: tmux-python/libtmux ***@***.***>
Cc: Tony Narlock ***@***.***>; Comment ***@***.***>
Subject: Re: [tmux-python/libtmux] unknown pytest option --doctest-docutils-modules (Issue #496)
Shouldn't this be in the test dependencies section in the pyproject.toml? And not (only) in the docs section?
—
Reply to this email directly, view it on GitHub<#496 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAGNYDFHIXBUYHSGDT2WWDYFQ6TNAVCNFSM6AAAAAA3XOPU72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRQGI4DIMZSG4>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@johanneskastl @dvzrv If you try v0.24.1 (PyPI, github release, changelog), is anything different? |
See #508 for my findings. The |
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.
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.The text was updated successfully, but these errors were encountered: