forked from pool/python-setuptools
Accepting request 816632 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/816632 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=60
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 23 15:41:14 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- use local source dir for pytest imports
|
||||
gh#openSUSE/python-rpm-macros#48
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 6 17:14:11 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -135,6 +135,8 @@ find ./ -type f -name \*.py -exec sed -i \
|
||||
# the 4 skipped test rely on the bundled packages but they are
|
||||
# not available on virtualenv; this is expected behaviour
|
||||
export LANG=en_US.UTF-8
|
||||
# tests need imports local source dir
|
||||
export PYTHONPATH=$(pwd)
|
||||
%pytest -k 'not (test_clean_env_install or test_pip_upgrade_from_source or test_test_command_install_requirements or test_no_missing_dependencies)'
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user