Hello community, here is the log from the commit of package python-textfsm for openSUSE:Factory checked in at 2019-08-05 10:36:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-textfsm (Old) and /work/SRC/openSUSE:Factory/.python-textfsm.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-textfsm" Mon Aug 5 10:36:30 2019 rev:2 rq:720151 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-textfsm/python-textfsm.changes 2018-07-21 10:25:41.802950555 +0200 +++ /work/SRC/openSUSE:Factory/.python-textfsm.new.4126/python-textfsm.changes 2019-08-05 10:36:33.215333366 +0200 @@ -1,0 +2,23 @@ +Wed Jul 31 13:48:06 UTC 2019 - pgajdos@suse.com + +- version update to 1.1.0 + * Per 'http://python-future.org/automatic_conversion.html' py2 & py3 compatibility. + * Make sure test fails if there is more than one list entry. + * Fix deprecated warning for invalid escapes. + * Support utf-8 in template files + * Add utf-8 characters to a test example + * Unicode example in template input. + * Switch to utf-8 strings and remove unnecessary conversions. + * Remove legacy lint checks + * Migrate StringIO and remove unneeded import six. + * Remove unnecessary explicit unicast declaration. + * oll back changes to 'open'. + * Cosmetic linting. + * Package 'future' needed for importing builtins. + * Add tests and testdata to distribution. + * Use correct install_requires stanza for dependencies. + * Include testdata files in binarty dist for tyesting. +- deleted patches + - textfsm_test_do_not_relay_on_dic_order.patch (upstreamed) + +------------------------------------------------------------------- Old: ---- 0.4.1.tar.gz textfsm_test_do_not_relay_on_dic_order.patch New: ---- v1.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-textfsm.spec ++++++ --- /var/tmp/diff_new_pack.ocOOou/_old 2019-08-05 10:36:34.611333207 +0200 +++ /var/tmp/diff_new_pack.ocOOou/_new 2019-08-05 10:36:34.611333207 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-textfsm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-textfsm -Version: 0.4.1 +Version: 1.1.0 Release: 0 Summary: Python module for parsing semi-structured text into python tables License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/google/textfsm -Source: https://github.com/google/textfsm/archive/0.4.1.tar.gz -# PATCH-FIX-UPSTREAM textfsm_test_do_not_relay_on_dic_order.patch https://github.com/google/textfsm/pull/33 -Patch0: textfsm_test_do_not_relay_on_dic_order.patch +Source: https://github.com/google/textfsm/archive/v%{version}.tar.gz +BuildRequires: %{python_module future} +BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-future Requires: python-six Conflicts: python-texttable BuildArch: noarch @@ -48,7 +50,6 @@ %prep %setup -q -n textfsm-%{version} -%patch0 -p1 %build %python_build @@ -58,11 +59,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec clitable_test.py -%python_exec copyable_regex_object_test.py -%python_exec terminal_test.py -%python_exec textfsm_test.py -%python_exec texttable_test.py +%pytest %files %{python_files} %license COPYING