From 34937c3dae890d5f7c40598f387fb01d1eddf1a699a15015a33a3837dfac6544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 6 Aug 2024 07:30:06 +0000 Subject: [PATCH] Accepting request 1191536 from home:bmwiedemann:branches:devel:languages:python Don't write python bytecode in tests for reproducible builds OBS-URL: https://build.opensuse.org/request/show/1191536 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=14 --- python-EditorConfig.changes | 5 +++++ python-EditorConfig.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-EditorConfig.changes b/python-EditorConfig.changes index 40981ab..64c975d 100644 --- a/python-EditorConfig.changes +++ b/python-EditorConfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 4 13:38:40 UTC 2024 - Bernhard Wiedemann + +- Don't write python bytecode in tests for reproducible builds + ------------------------------------------------------------------- Tue Jul 30 21:16:59 UTC 2024 - Matej Cepl diff --git a/python-EditorConfig.spec b/python-EditorConfig.spec index f880fb5..d671f4f 100644 --- a/python-EditorConfig.spec +++ b/python-EditorConfig.spec @@ -51,6 +51,7 @@ rm -rf %{buildroot}%{_bindir} %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export PYTHONDONTWRITEBYTECODE=1 # Still not resolved issues with tests, gh#editorconfig/editorconfig-core-py#37 %{python_expand cmake . export PYTHONPATH=%{buildroot}%{$python_sitelib}