Tomáš Chvátal 2019-10-17 08:51:25 +00:00 committed by Git OBS Bridge
parent 47c8c7ab20
commit d3d6dc0eec
2 changed files with 17 additions and 1 deletions

View File

@ -124,8 +124,10 @@ find ./ -type f -name \*.py -exec sed -i \
%check
%if %{with test}
# 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
%pytest
%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
%if !%{with test}

View File

@ -37,3 +37,17 @@ Index: setuptools-41.4.0/setuptools/dist.py
write_field('Provides-Extra', extra)
Index: setuptools-41.4.0/setuptools/tests/test_egg_info.py
===================================================================
--- setuptools-41.4.0.orig/setuptools/tests/test_egg_info.py
+++ setuptools-41.4.0/setuptools/tests/test_egg_info.py
@@ -291,8 +291,8 @@ class TestEggInfo:
wheel>=0.5
pytest
- wheel>=0.5
pytest
+ wheel>=0.5
''',
'''