From 0ae495ffbf69ee40913f8b6e710e5ffdfc1c1c7cfcf0303394dbe4a7081a343d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 9 Sep 2019 18:34:11 +0000 Subject: [PATCH] - Skip test_hashing to fix 32bit builds OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elementpath?expand=0&rev=2 --- python-elementpath.changes | 5 +++++ python-elementpath.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-elementpath.changes b/python-elementpath.changes index 54a31fa..5b9a137 100644 --- a/python-elementpath.changes +++ b/python-elementpath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 9 18:33:40 UTC 2019 - Tomáš Chvátal + +- Skip test_hashing to fix 32bit builds + ------------------------------------------------------------------- Mon Sep 9 14:24:09 UTC 2019 - Tomáš Chvátal diff --git a/python-elementpath.spec b/python-elementpath.spec index 05c5b0a..d16743d 100644 --- a/python-elementpath.spec +++ b/python-elementpath.spec @@ -23,14 +23,13 @@ Release: 0 Summary: XPath 1.0/20 parsers and selectors for ElementTree and lxml License: MIT Group: Development/Languages/Python -Url: https://github.com/sissaschool/elementpath +URL: https://github.com/sissaschool/elementpath Source: https://github.com/sissaschool/elementpath/archive/v%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -52,7 +51,8 @@ rm tests/test_schema_proxy.py %check # test_compare_strings_function depends on LOCALE to produce proper results -%pytest -k 'not test_compare_strings_function' +# test_hashing is arch specific and overflows on 32bit platforms +%pytest -k 'not test_compare_strings_function and not test_hashing' %files %{python_files} %doc CHANGELOG.rst README.rst