diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec index 6ae9934..7e1f23f 100644 --- a/python-setuptools-rust.spec +++ b/python-setuptools-rust.spec @@ -105,10 +105,8 @@ for example in $(ls examples/ | grep -vE %{integration_tests_exc}); do %{python3} -c 'from setuptools.build_meta import build_wheel; build_wheel("dist")' if [ -d "tests/" ]; then %{python3} -m venv venv --system-site-packages - . ./venv/bin/activate - pip install dist/*.whl - python -Pm pytest tests/ - deactivate + ./venv/bin/pip install dist/*.whl + ./venv/bin/python -Pm pytest tests/ fi cd - done