Hello community, here is the log from the commit of package python-Theano for openSUSE:Leap:15.2 checked in at 2020-03-09 18:11:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-Theano (Old) and /work/SRC/openSUSE:Leap:15.2/.python-Theano.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Theano" Mon Mar 9 18:11:30 2020 rev:3 rq:779468 version:1.0.4 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-Theano/python-Theano.changes 2020-01-15 15:46:24.547356457 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-Theano.new.26092/python-Theano.changes 2020-03-09 18:11:30.841209319 +0100 @@ -1,0 +2,52 @@ +Tue Feb 25 15:41:27 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Reduce the test scope as it takes a day to compile the full + testsuite, just run the generic test directory + +------------------------------------------------------------------- +Tue Feb 25 10:34:22 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Do install test files again as it fixes Keras testing + +------------------------------------------------------------------- +Tue Feb 25 09:01:12 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Skip tests that are known failures + +------------------------------------------------------------------- +Mon Feb 24 15:36:50 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Do not install test files and sitelib/bin folder + +------------------------------------------------------------------- +Mon Feb 24 15:31:04 UTC 2020 - Tomáš Chvátal <[email protected]> + +- As the testing takes ages split to multibuild and reduce the + arch testing scope + +------------------------------------------------------------------- +Mon Feb 24 12:19:14 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Add _constraints to make sure we have enough memory for the + testing + +------------------------------------------------------------------- +Thu Feb 20 14:21:23 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Enable Theano testing and add missing build/runtime deps + +------------------------------------------------------------------- +Sat Mar 9 16:00:10 UTC 2019 - Arun Persaud <[email protected]> + +- specfile: + * update copyright year + +- update to version 1.0.4: + * Theano is now compatible with NumPy 1.16. + +------------------------------------------------------------------- +Thu Dec 6 12:39:55 UTC 2018 - Jan Engelhardt <[email protected]> + +- Trim comparison that has no reference model named. + +------------------------------------------------------------------- Old: ---- Theano-1.0.3.tar.gz New: ---- Theano-1.0.4.tar.gz _constraints _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Theano.spec ++++++ --- /var/tmp/diff_new_pack.mEpqK4/_old 2020-03-09 18:11:31.221209864 +0100 +++ /var/tmp/diff_new_pack.mEpqK4/_new 2020-03-09 18:11:31.221209864 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Theano # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,31 +17,46 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-Theano -Version: 1.0.3 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-Theano%{psuffix} +Version: 1.0.4 Release: 0 Summary: A scientific python library License: BSD-3-Clause Group: Development/Libraries/Python -URL: http://deeplearning.net/software/theano/ +URL: https://github.com/Theano/Theano Source: https://files.pythonhosted.org/packages/source/T/Theano/Theano-%{version}.tar.gz Source1: python-Theano.rpmlintrc +BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: c++_compiler +Requires: python-devel Requires: python-numpy >= 1.9.1 +Requires: python-numpy-devel >= 1.9.1 Requires: python-scipy >= 0.14 Requires: python-six >= 1.9.0 -Requires: c++_compiler +# The tests are compiling and are arch specific +%if !%{with test} BuildArch: noarch -# SECTION test requirements -BuildRequires: %{python_module nose >= 1.3.0} +%endif +%if %{with test} +BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy >= 1.9.1} +BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module parameterized} BuildRequires: %{python_module scipy >= 0.14} BuildRequires: %{python_module six >= 1.9.0} -# /SECTION +%endif %python_subpackages %description @@ -51,8 +66,7 @@ Theano features: * tight integration with numpy - Use numpy.ndarray in Theano-compiled functions. -* transparent use of a GPU - Perform data-intensive calculations up to - 140x faster than with CPU. (float32 only) +* transparent use of a GPU * symbolic differentiation - Let Theano do your derivatives. * speed and stability optimizations – Get the right answer for log(1+x) even when x is really tiny. @@ -67,23 +81,35 @@ %python_build %install +%if !%{with test} %python_install +# remove binaries and stuff thats not supposed to end up on system +%python_expand rm -r %{buildroot}%{$python_sitelib}/bin +# Other pkgs use theano tests as a basis (see Keras) +#%%python_expand rm -r %{buildroot}%{$python_sitelib}/theano/tests +#%%python_expand rm -r %{buildroot}%{$python_sitelib}/theano/*/tests + # replace duplicate .pyo/.pyc with hardlinks %python_expand %fdupes %{buildroot}%{_defaultdocdir}/%{name} %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif -# Fix python-bytecode-inconsistent-mtime -%python_expand $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/theano -%python_expand $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/theano +%check +%if %{with test} +# https://github.com/Theano/Theano/issues/6719 +rm theano/tensor/tests/test_var.py +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} theano/tests -v -e '(test_scan_err1|test_remove0|test_csm_unsorted|test_good|test_vector_arguments|test_vector_arguments)' +%endif +%if !%{with test} %files %{python_files} %doc DESCRIPTION.txt EMAIL.txt HISTORY.txt NEWS.txt README.rst %license doc/LICENSE.txt %python3_only %{_bindir}/theano-cache %python3_only %{_bindir}/theano-nose -%{python_sitelib}/bin %{python_sitelib}/theano %{python_sitelib}/Theano-%{version}-*.egg-info +%endif %changelog ++++++ Theano-1.0.3.tar.gz -> Theano-1.0.4.tar.gz ++++++ ++++ 2361 lines of diff (skipped) ++++++ _constraints ++++++ <constraints> <hardware> <physicalmemory> <size unit="M">6000</size> </physicalmemory> </hardware> </constraints> ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>
