Hello community, here is the log from the commit of package python-padatious for openSUSE:Leap:15.2 checked in at 2020-03-09 18:09:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-padatious (Old) and /work/SRC/openSUSE:Leap:15.2/.python-padatious.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-padatious" Mon Mar 9 18:09:47 2020 rev:12 rq:776886 version:0.4.7 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-padatious/python-padatious.changes 2020-01-15 15:51:08.943519001 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-padatious.new.26092/python-padatious.changes 2020-03-09 18:09:47.741061559 +0100 @@ -1,0 +2,12 @@ +Thu Apr 11 19:05:09 UTC 2019 - [email protected] + +- version update to 0.4.7 + * Fix bug with loaded intents not training + * Add train_subprocess for more stable training + * Skip training if already trained, even if failed + * Train in a thread so it can be aborted if it takes too long +- run testsuite +- deleted sources + - LICENSE (not needed) + +------------------------------------------------------------------- Old: ---- LICENSE padatious-0.4.6.tar.gz New: ---- v0.4.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-padatious.spec ++++++ --- /var/tmp/diff_new_pack.8vJzyD/_old 2020-03-09 18:09:48.241062275 +0100 +++ /var/tmp/diff_new_pack.8vJzyD/_new 2020-03-09 18:09:48.273062321 +0100 @@ -20,18 +20,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-padatious -Version: 0.4.6 +Version: 0.4.7 Release: 0 Summary: A neural network intent parser License: Apache-2.0 Group: Development/Languages/Python Url: http://github.com/MycroftAI/padatious -Source: https://files.pythonhosted.org/packages/source/p/padatious/padatious-%{version}.tar.gz -Source99: https://raw.githubusercontent.com/MycroftAI/padatious/dev/LICENSE +# https://github.com/MycroftAI/padatious/issues/14 +Source: https://github.com/MycroftAI/padatious/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module fann2} +BuildRequires: %{python_module padaos} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module xxhash} +# /SECTION Requires: python-fann2 +Requires: python-padaos +Requires: python-setuptools Requires: python-xxhash BuildArch: noarch @@ -42,7 +50,7 @@ %prep %setup -q -n padatious-%{version} -cp %{SOURCE99} . +chmod 644 LICENSE %build %python_build @@ -51,9 +59,15 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# https://github.com/MycroftAI/padatious/issues/15 +%python_exec -m pytest -k 'not test_train_timeout_subprocess' + %files %{python_files} %defattr(-,root,root,-) %license LICENSE +%doc README.md %{python_sitelib}/* +%python3_only %{_bindir}/padatious %changelog
