Accepting request 777950 from devel:languages:python:numeric
- Update to 0.48.0: * Many fixes for llvm/cuda updates; see CHANGE_LOG for details * Drop python2 support - Add one more failing test to skip: * skip-failing-tests.patch OBS-URL: https://build.opensuse.org/request/show/777950 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numba?expand=0&rev=23
This commit is contained in:
commit
75d0436b87
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c2cbaeae60f80805290fff50175028726fae12692404a36babd3326730fbceee
|
|
||||||
size 1851254
|
|
3
numba-0.48.0.tar.gz
Normal file
3
numba-0.48.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9d21bc77e67006b5723052840c88cc59248e079a907cc68f1a1a264e1eaba017
|
||||||
|
size 1976859
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 21 09:39:07 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.48.0:
|
||||||
|
* Many fixes for llvm/cuda updates; see CHANGE_LOG for details
|
||||||
|
* Drop python2 support
|
||||||
|
- Add one more failing test to skip:
|
||||||
|
* skip-failing-tests.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 17 23:28:40 CET 2019 - Matej Cepl <mcepl@suse.com>
|
Tue Dec 17 23:28:40 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-numba
|
# spec file for package python-numba
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,38 +17,36 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-numba
|
Name: python-numba
|
||||||
Version: 0.46.0
|
Version: 0.48.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NumPy-aware optimizing compiler for Python using LLVM
|
Summary: NumPy-aware optimizing compiler for Python using LLVM
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/numba/numba
|
URL: https://github.com/numba/numba
|
||||||
Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar.gz
|
||||||
Patch0: skip-failing-tests.patch
|
Patch0: skip-failing-tests.patch
|
||||||
# PATCH-FIX-UPSTREAM fix-max-name-size.patch -- fix for gh#numba/numba#3876 -- from gh#numba/numba#4373
|
# PATCH-FIX-UPSTREAM fix-max-name-size.patch -- fix for gh#numba/numba#3876 -- from gh#numba/numba#4373
|
||||||
Patch1: fix-max-name-size.patch
|
Patch1: fix-max-name-size.patch
|
||||||
BuildRequires: %{python_module Jinja2}
|
BuildRequires: %{python_module Jinja2}
|
||||||
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module Pygments}
|
BuildRequires: %{python_module Pygments}
|
||||||
BuildRequires: %{python_module cffi}
|
BuildRequires: %{python_module cffi}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module ipython}
|
BuildRequires: %{python_module ipython}
|
||||||
BuildRequires: %{python_module llvmlite >= 0.29}
|
BuildRequires: %{python_module llvmlite >= 0.31}
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.10}
|
BuildRequires: %{python_module numpy-devel >= 1.11}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module scipy >= 0.16}
|
BuildRequires: %{python_module scipy >= 0.16}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module tbb}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-funcsigs
|
BuildRequires: python-funcsigs
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python2-enum34
|
|
||||||
BuildRequires: python2-funcsigs
|
|
||||||
BuildRequires: python2-singledispatch
|
|
||||||
BuildRequires: python3-tbb
|
|
||||||
BuildRequires: tbb-devel
|
BuildRequires: tbb-devel
|
||||||
Requires: python-llvmlite >= 0.29
|
Requires: python-llvmlite >= 0.31
|
||||||
Requires: python-numpy >= 1.10
|
Requires: python-numpy >= 1.15
|
||||||
Requires: python-scipy >= 0.16
|
Requires: python-scipy >= 0.16
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
@ -56,11 +54,6 @@ Recommends: python-Jinja2
|
|||||||
Recommends: python-Pygments
|
Recommends: python-Pygments
|
||||||
Recommends: python-cffi
|
Recommends: python-cffi
|
||||||
Recommends: python-tbb
|
Recommends: python-tbb
|
||||||
%ifpython2
|
|
||||||
Requires: python2-enum34
|
|
||||||
Requires: python2-funcsigs
|
|
||||||
Requires: python2-singledispatch
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -82,10 +75,9 @@ data structures such as those that exist in NumPy.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for numba applications
|
Summary: Development files for numba applications
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: python-devel
|
Requires: python-devel
|
||||||
Requires: python-numpy-devel >= 1.7
|
Requires: python-numpy-devel >= 1.11
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains files for developing applications using numba.
|
This package contains files for developing applications using numba.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: numba-0.45.1/numba/tests/test_runtests.py
|
Index: numba-0.48.0/numba/tests/test_runtests.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- numba-0.45.1.orig/numba/tests/test_runtests.py
|
--- numba-0.48.0.orig/numba/tests/test_runtests.py
|
||||||
+++ numba-0.45.1/numba/tests/test_runtests.py
|
+++ numba-0.48.0/numba/tests/test_runtests.py
|
||||||
@@ -76,8 +76,7 @@ class TestCase(unittest.TestCase):
|
@@ -76,8 +76,7 @@ class TestCase(unittest.TestCase):
|
||||||
def test_subpackage(self):
|
def test_subpackage(self):
|
||||||
self.check_testsuite_size(['numba.tests.npyufunc'], 50)
|
self.check_testsuite_size(['numba.tests.npyufunc'], 50)
|
||||||
@ -12,11 +12,11 @@ Index: numba-0.45.1/numba/tests/test_runtests.py
|
|||||||
def test_random(self):
|
def test_random(self):
|
||||||
self.check_testsuite_size(
|
self.check_testsuite_size(
|
||||||
['--random', '0.1', 'numba.tests.npyufunc'], 5)
|
['--random', '0.1', 'numba.tests.npyufunc'], 5)
|
||||||
Index: numba-0.45.1/numba/tests/test_parfors.py
|
Index: numba-0.48.0/numba/tests/test_parfors.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- numba-0.45.1.orig/numba/tests/test_parfors.py
|
--- numba-0.48.0.orig/numba/tests/test_parfors.py
|
||||||
+++ numba-0.45.1/numba/tests/test_parfors.py
|
+++ numba-0.48.0/numba/tests/test_parfors.py
|
||||||
@@ -520,7 +520,7 @@ class TestParfors(TestParforsBase):
|
@@ -544,7 +544,7 @@ class TestParfors(TestParforsBase):
|
||||||
self.check(test_impl)
|
self.check(test_impl)
|
||||||
self.assertTrue(countParfors(test_impl, ()) == 1)
|
self.assertTrue(countParfors(test_impl, ()) == 1)
|
||||||
|
|
||||||
@ -25,3 +25,12 @@ Index: numba-0.45.1/numba/tests/test_parfors.py
|
|||||||
@tag('important')
|
@tag('important')
|
||||||
def test_pi(self):
|
def test_pi(self):
|
||||||
def test_impl(n):
|
def test_impl(n):
|
||||||
|
@@ -1521,7 +1521,7 @@ class TestParfors(TestParforsBase):
|
||||||
|
msg = ("The reshape API may only include one negative argument.")
|
||||||
|
self.assertIn(msg, str(raised.exception))
|
||||||
|
|
||||||
|
- @skip_unsupported
|
||||||
|
+ @unittest.skip("Fails on type check in OBS")
|
||||||
|
def test_ndarray_fill(self):
|
||||||
|
def test_impl(x):
|
||||||
|
x.fill(7.0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user