diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index c1e9ff1..a250abc 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -24,9 +24,9 @@ BuildRequires: python3-sphinx-latex BuildRequires: latexmk %endif -# ============================================================================ -# From setup_requires in setup.py, when tests are to be executed: -BuildRequires: python3dist(pytest-runner) +# There is fancy machinery in setup.py to add pytest-runner to setup_requires +# in setup.py when it looks like tests are to be executed. Since we will not use +# “python3 setup.py test” to run tests, we can do without this dependency. # Note that pyrsistent/_toolz.py contains a bit of code ported from toolz, but # not enough to constitute a bundled dependency.