Add one more patch to fix a python 3.8 warning.
This commit is contained in:
parent
7bb3831609
commit
d03ed1f329
11
sympy-is.patch
Normal file
11
sympy-is.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- sympy-sympy-1.4/sympy/plotting/plot.py.orig 2019-09-13 11:48:00.776818488 -0600
|
||||||
|
+++ sympy-sympy-1.4/sympy/plotting/plot.py 2019-09-13 11:49:54.122923162 -0600
|
||||||
|
@@ -526,7 +526,7 @@ class LineOver1DRangeSeries(Line2DBaseSe
|
||||||
|
else:
|
||||||
|
list_segments.append([p, q])
|
||||||
|
|
||||||
|
- if self.xscale is 'log':
|
||||||
|
+ if self.xscale == 'log':
|
||||||
|
self.start=np.log10(self.start)
|
||||||
|
self.end=np.log10(self.end)
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: sympy
|
Name: sympy
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: A Python library for symbolic mathematics
|
Summary: A Python library for symbolic mathematics
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://sympy.org/
|
URL: http://sympy.org/
|
||||||
@ -22,6 +22,8 @@ Patch5: 0001-Modify-literal-comparisons-as-per-python3.8-guidelines.patc
|
|||||||
# Fix more compatibility issues with Python3.8.
|
# Fix more compatibility issues with Python3.8.
|
||||||
# https://github.com/sympy/sympy/commit/a193dcf9ed0715b3a0336e7d91460f338686c015
|
# https://github.com/sympy/sympy/commit/a193dcf9ed0715b3a0336e7d91460f338686c015
|
||||||
Patch6: 0001-Fix-more-compatibility-issues-with-Python3.8.patch
|
Patch6: 0001-Fix-more-compatibility-issues-with-Python3.8.patch
|
||||||
|
# Fix one more use of "is" instead of "==" for python 3.8
|
||||||
|
Patch7: %{name}-is.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -202,6 +204,9 @@ xvfb-run -a -n $dnum \
|
|||||||
%{_docdir}/%{name}-doc/html
|
%{_docdir}/%{name}-doc/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 13 2019 Jerry James <loganjerry@gmail.com> - 1.4-5
|
||||||
|
- Add one more patch to fix a python 3.8 warning
|
||||||
|
|
||||||
* Sat Aug 24 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.4-4
|
* Sat Aug 24 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.4-4
|
||||||
- Add patches to fix build with Python 3.8 and Numpy 1.17
|
- Add patches to fix build with Python 3.8 and Numpy 1.17
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user