diff --git a/python-cloudpickle.changes b/python-cloudpickle.changes index c09cb73..ab17537 100644 --- a/python-cloudpickle.changes +++ b/python-cloudpickle.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 9 14:43:55 UTC 2020 - Benjamin Greiner + +- Don't pip install testpkg into user sitelib + * it masks problems with reused local builds + * was only single flavor + ------------------------------------------------------------------- Wed Dec 2 15:00:54 UTC 2020 - Markéta Machová diff --git a/python-cloudpickle.spec b/python-cloudpickle.spec index c70126d..945c207 100644 --- a/python-cloudpickle.spec +++ b/python-cloudpickle.spec @@ -72,8 +72,9 @@ functions and classes defined interactively in the __main__ module. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -pip install ./tests/cloudpickle_testpkg -export PYTHONPATH='.:tests' +# make local source and testpkg importable +export PYTHONPATH=':./tests/cloudpickle_testpkg' +# -s: tests need direct print %pytest -s %files %{python_files}