https://bugzilla.redhat.com/show_bug.cgi?id=1809537
--- Comment #4 from Fabian Affolter mail@fabian-affolter.ch --- Thanks for your feedback. It's very appreciated.
(In reply to Robert-André Mauchin from comment #2)
- pytest-3.8 -v tests -k 'not test_run_marker_registered'
/var/tmp/rpm-tmp.2hTgAv: line 32: pytest-3.8: command not found
- You need to add Pytest as a BR
BuildRequires: python3-pytest
- Use PYTHONDONTWRITEBYTECODE=1 instead of %exclude directive:
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests \ -k "not test_run_marker_registered"
* Mon Mar 23 2020 Fabian Affolter mail@fabian-affolter.ch - 0.6-2 - Add missing BR - Don't write byte code during tests (rhbz#1809537)
Updated files: Spec URL: https://fab.fedorapeople.org/packages/SRPMS/python-pytest-ordering.spec SRPM URL: https://fab.fedorapeople.org/packages/SRPMS/python-pytest-ordering-0.6-2.fc3...