1
0

Accepting request 854285 from home:bnavigator:branches:devel:languages:python

- Don't pip install testpkg into user sitelib
  * it masks problems with reused local builds
  * was only single flavor

OBS-URL: https://build.opensuse.org/request/show/854285
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=33
This commit is contained in:
Markéta Machová 2020-12-09 15:27:44 +00:00 committed by Git OBS Bridge
parent bc4e7e121b
commit 21ded1e2a2
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 9 14:43:55 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- 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á <mmachova@suse.com>

View File

@ -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}