From e782f2f5f5448e5d1b7ebc08bf9d18bf342e880f60450e5454f6706ec2b238f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 8 Dec 2020 19:50:42 +0000 Subject: [PATCH] Accepting request 853754 from home:bnavigator:branches:devel:languages:python:pytest - The now broken apicycle requires apipkg to be importable from elsewhere -- use src dir. OBS-URL: https://build.opensuse.org/request/show/853754 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-apipkg?expand=0&rev=7 --- python-apipkg.changes | 6 ++++++ python-apipkg.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/python-apipkg.changes b/python-apipkg.changes index 0524649..d54f2ae 100644 --- a/python-apipkg.changes +++ b/python-apipkg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 8 10:59:41 UTC 2020 - Benjamin Greiner + +- The now broken apicycle requires apipkg to be importable from + elsewhere -- use src dir. + ------------------------------------------------------------------- Sun Dec 6 11:49:49 UTC 2020 - Matej Cepl diff --git a/python-apipkg.spec b/python-apipkg.spec index 298476e..09adb23 100644 --- a/python-apipkg.spec +++ b/python-apipkg.spec @@ -72,6 +72,7 @@ can copy paste the <100 Lines of code into your project. %check %if %{with test} +PYTHONPATH=$(pwd)/src %pytest %endif