14
0

- Skip TestDeeplyNested.testRegr for gh#pyinstaller/pyinstaller#4406

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyInstaller?expand=0&rev=12
This commit is contained in:
2021-09-16 10:22:15 +00:00
committed by Git OBS Bridge
parent daa19307f0
commit 6f82ae126d
3 changed files with 11 additions and 8 deletions

View File

@@ -13,15 +13,12 @@ as skipable. And any future unrecognised patterns will now issue
warnings. warnings.
--- ---
PyInstaller/depend/utils.py | 12 ++++++++++++ PyInstaller/depend/utils.py | 12 ++++++++++++
news/5540.bugfix.rst | 3 +++ 1 file changed, 12 insertions(+)
2 files changed, 15 insertions(+)
create mode 100644 news/5540.bugfix.rst create mode 100644 news/5540.bugfix.rst
diff --git a/PyInstaller/depend/utils.py b/PyInstaller/depend/utils.py
index baffb2a9f3..95846f39d5 100644
--- a/PyInstaller/depend/utils.py --- a/PyInstaller/depend/utils.py
+++ b/PyInstaller/depend/utils.py +++ b/PyInstaller/depend/utils.py
@@ -399,6 +399,18 @@ def load_ldconfig_cache(): @@ -397,6 +397,18 @@ def load_ldconfig_cache():
for line in text: for line in text:
# :fixme: this assumes libary names do not contain whitespace # :fixme: this assumes libary names do not contain whitespace
m = pattern.match(line) m = pattern.match(line)

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 16 10:21:46 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Skip TestDeeplyNested.testRegr for gh#pyinstaller/pyinstaller#4406
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 1 13:27:23 UTC 2021 - Markéta Machová <mmachova@suse.com> Thu Apr 1 13:27:23 UTC 2021 - Markéta Machová <mmachova@suse.com>

View File

@@ -39,7 +39,7 @@ Requires: python-macholib >= 1.8
Requires: python-pefile >= 2017.8.1 Requires: python-pefile >= 2017.8.1
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
Recommends: upx Recommends: upx
%if %{with test} %if %{with test}
BuildRequires: %{python_module Babel} BuildRequires: %{python_module Babel}
@@ -106,7 +106,8 @@ fi
%check %check
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
# 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 # 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)' # gh#pyinstaller/pyinstaller#4406 skip TestDeeplyNested.testRegr (it is just the only method in the class)
%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 or TestDeeplyNested)'
%endif %endif
%post %post