The package rpms/sympy.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/sympy.git/commit/?id=655cd5303082....
Change:
+%ifnarch %{arm} %{ix86}
Thanks.
Full change:
============
commit 655cd53030825bad9c992c27df05496009d45a2e
Author: Jerry James <loganjerry(a)gmail.com>
Date: Fri May 29 14:50:58 2020 -0600
Disable testing on 32-bit systems; too many tests need 64-bit integers.
diff --git a/sympy.spec b/sympy.spec
index d94e015..77c4e79 100644
--- a/sympy.spec
+++ b/sympy.spec
@@ -93,12 +93,6 @@ HTML documentation for sympy.
%prep
%autosetup -p1 -n %{name}-%{name}-%{version}
-# If running on a 32-bit system, disable a test that requires 64-bit integers.
-%global maxpyint %(python3 -c 'import sys;print("%x" % sys.maxsize)')
-if [ "%{maxpyint}" = "7fffffff" ]; then
- sed -i '/issue 6393/,/assert b == -d/d' sympy/polys/tests/test_rootoftools.py
-fi
-
# Do not depend on env
for fil in $(grep -rl "^#\![[:blank:]]*%{_bindir}/env" .); do
sed -i.orig 's,^\(#\![[:blank:]]*%{_bindir}/\)env python,\1python3,' $fil
@@ -140,6 +134,9 @@ rm -fr %{buildroot}%{_docdir}/%{name}-doc/i18n
# Try to get rid of pyc files, which aren't useful for documentation
find examples/ -name '*.py[co]' -print -delete
+# Too many tests now assume that native 64-bit integers are available.
+# Do not run tests on 32-bit systems.
+%ifnarch %{arm} %{ix86}
%check
let "dnum = $RANDOM % 90 + 10"
# Split into many small chunks to reduce waiting in the end-game
@@ -149,6 +146,7 @@ xvfb-run -a -n $dnum \
parallel %{?_smp_mflags} \
%{__python3} bin/test -v --split {}/$jobs \
::: $(bash -c "echo {1..$jobs}")
+%endif
%files -n python3-%{name}
%doc AUTHORS README.md
@@ -177,6 +175,7 @@ xvfb-run -a -n $dnum \
* Fri May 29 2020 Jerry James <loganjerry(a)gmail.com> - 1.6-1
- Version 1.6
- Drop upstreamed -doc and -sample-set patches
+- Disable testing on 32-bit systems; too many tests need 64-bit integers
* Tue May 26 2020 Miro Hronok <mhroncok(a)redhat.com> - 1.5.1-4
- Rebuilt for Python 3.9