diff --git a/epy.changes b/epy.changes index a48f947..7a3ddcf 100644 --- a/epy.changes +++ b/epy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 20 11:43:07 UTC 2023 - Bernhard Wiedemann + +- Do not write non-deterministic .pyc files in tests + ------------------------------------------------------------------- Sat Mar 04 13:16:37 UTC 2023 - mcepl@cepl.eu diff --git a/epy.spec b/epy.spec index f094564..680ddc7 100644 --- a/epy.spec +++ b/epy.spec @@ -75,6 +75,7 @@ python3 -mpip install --root %{buildroot} --no-warn-script-location \ build/epy_reader-*-py3-none-any.whl %check +export PYTHONDONTWRITEBYTECODE=1 export PYTHONPATH=%{buildroot}/%{python3_sitelib} pytest -v tests