Skip to content

unknown pytest option --doctest-docutils-modules #496

Open
@dvzrv

Description

@dvzrv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions