New comment by dotnetfox on void-packages repository https://github.com/void-linux/void-packages/pull/34490#issuecomment-991856439 Comment: @bobertlo, your particular comment in all these commits caught my interest. ```sh # pytest marked deprecated, suggests using tox (which does not test against system packages) ``` You see, I too got entrapped with tests (PR #34489) and it seems I have to explicitly specify `python3-pytest` in `checkdepends` along with packages it uses during tests. If `python3-pytest` is not defined, `do_check` falls back to that "deprecated testing" which you mentioned. ```sh do_check() { if python3 -c 'import pytest' >/dev/null 2>&1; then PYTHONPATH="$(cd build/lib* && pwd)" \ python3 -m pytest ${make_check_args} ${make_check_target} else # Fall back to deprecated setup.py test orchestration without pytest if [ -z "$make_check_target" ]; then if ! python3 setup.py --help test >/dev/null 2>&1; then msg_warn "No command 'test' defined by setup.py.\n" return 0 fi fi : ${make_check_target:=test} python3 setup.py ${make_check_target} ${make_check_args} fi } ``` To be certain, the `python3-module` build style does not append `python3-pytest` to anywhere. As you can see above, it is mentioned only within `do_check`. Hope this information will be useful for you.