Hello community,

here is the log from the commit of package python-padatious for 
openSUSE:Factory checked in at 2019-05-06 13:25:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-padatious (Old)
 and      /work/SRC/openSUSE:Factory/.python-padatious.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-padatious"

Mon May  6 13:25:13 2019 rev:7 rq:694217 version:0.4.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-padatious/python-padatious.changes        
2019-02-25 17:52:02.594730706 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-padatious.new.5148/python-padatious.changes  
    2019-05-06 13:25:15.217031382 +0200
@@ -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.r4ST2d/_old  2019-05-06 13:25:18.941039060 +0200
+++ /var/tmp/diff_new_pack.r4ST2d/_new  2019-05-06 13:25:18.981039143 +0200
@@ -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


Reply via email to