From 6904e726ca3048294e903ae668ff97fa22cbc2905bde0fb6d69765f3ed4820cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 18 Mar 2020 07:33:23 +0000 Subject: [PATCH] - Disable functional tests as it takes ages and basic checks are okay with unittests - Use xdist for test execution as otherwise it takes ages OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=8 --- python-PyInstaller.changes | 11 +++++++++++ python-PyInstaller.spec | 7 ++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/python-PyInstaller.changes b/python-PyInstaller.changes index 2980129..6b0a5b4 100644 --- a/python-PyInstaller.changes +++ b/python-PyInstaller.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Mar 18 07:22:03 UTC 2020 - Tomáš Chvátal + +- Disable functional tests as it takes ages and basic checks + are okay with unittests + +------------------------------------------------------------------- +Tue Mar 10 09:31:11 UTC 2020 - Tomáš Chvátal + +- Use xdist for test execution as otherwise it takes ages + ------------------------------------------------------------------- Fri Jan 17 13:33:04 UTC 2020 - Alberto Planas Dominguez diff --git a/python-PyInstaller.spec b/python-PyInstaller.spec index 2fabac5..002f8ae 100644 --- a/python-PyInstaller.spec +++ b/python-PyInstaller.spec @@ -24,7 +24,6 @@ Version: 3.6 Release: 0 Summary: Bundle a Python application and all its dependencies into a single package License: GPL-2.0-only -Group: Development/Languages/Python URL: https://www.pyinstaller.org Source: https://files.pythonhosted.org/packages/source/P/PyInstaller/PyInstaller-%{version}.tar.gz BuildRequires: %{python_module devel} @@ -53,13 +52,14 @@ BuildRequires: %{python_module opengl} BuildRequires: %{python_module pefile >= 2017.8.1} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pycountry} +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module qt5} BuildRequires: %{python_module setuptools} +BuildRequires: upx %if %{with python2} BuildRequires: python-dis3 %endif -BuildRequires: upx %endif %ifpython2 Requires: python-dis3 @@ -103,7 +103,8 @@ fi %if %{with test} %check export LANG=en_US.UTF-8 -%pytest_arch tests/unit tests/functional --ignore=tests/functional/test_libraries.py --ignore=tests/functional/test_hooks -k 'not test_find_module and not test_egg and not test_nspkg1' +# test_get_co_using_ctypes, test_get_co_using_ctypes_from_extension, test_replace_paths_in_code broken with python 3.8 on PyInstall 3.6 +%pytest_arch -n auto tests/unit -k 'not (test_find_module or test_egg and not test_nspkg1 or test_get_co_using_ctypes or test_get_co_using_ctypes_from_extension or test_replace_paths_in_code)' %endif %post