This fix is pip-specific. To be compatible with all setuptools-using tools, we should use tests_require. I don’t remember why I didn’t choose that when I rewoked the build deps for yarhp months ago; I think it works fine using pip install "dynamodb-mapper[test]" or similar (should also work with pip install -e . i.e. develop mode, and work in setup.py).