Dies ist der Cache von Google von https://bugs.archlinux32.org/index.php?do=details&task_id=12. Es handelt sich dabei um ein Abbild der Seite, wie diese am 29. Okt. 2019 20:49:47 GMT angezeigt wurde. Die aktuelle Seite sieht mittlerweile eventuell anders aus. Weitere Informationen.
Vollständige VersionNur-Text-VersionQuelle anzeigen
Tipp: Um deinen Suchbegriff schnell auf dieser Seite zu finden, drücke Strg+F bzw. ⌘-F (Mac) und verwende die Suchleiste.
FS#12 : [python-setuptools] check() fails (due to some mpmath issue?)
  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Packages → Packages: Build-list
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Archlinux32
Opened by Erich Eckner - 15.11.2017
Last edited by Andreas Baumann - 02.10.2019

FS#12 - [python-setuptools] check() fails (due to some mpmath issue?)

during check():
_ sympy/polys/tests/test_rootoftools.py:test_CRootOf_evalf _

File "/build/python-sympy/src/sympy-sympy-1.1.1-py2/sympy/polys/tests/test_rootoftools.py", line 225, in test_CRootOf_evalf
  a, b = rootof(eq, 1).n(2).as_real_imag()
File "sympy/core/evalf.py", line 1394, in evalf
  result = evalf(self, prec + 4, options)
File "sympy/core/evalf.py", line 1292, in evalf
  xe = x._eval_evalf(prec)
File "sympy/polys/rootoftools.py", line 644, in _eval_evalf
  x0 = mpc(*map(str, interval.center))
File "/usr/lib/python2.7/site-packages/mpmath/ctx_mp_python.py", line 374, in __new__
  imag = cls.context.mpf(imag)
File "/usr/lib/python2.7/site-packages/mpmath/ctx_mp_python.py", line 77, in __new__
  v._mpf_ = mpf_pos(cls.mpf_convert_arg(val, prec, rounding), prec, rounding)
File "/usr/lib/python2.7/site-packages/mpmath/ctx_mp_python.py", line 84, in mpf_convert_arg
  if isinstance(x, basestring): return from_str(x, prec, rounding)
File "/usr/lib/python2.7/site-packages/mpmath/libmp/libmpf.py", line 1300, in from_str
  return from_rational(int(p), int(q), prec, rnd)

ValueError: invalid literal for int() with base 10: ‘-2163048125L’

tests finished: 6841 passed, 185 skipped, 1 exceptions, in 4352.49 seconds

DO *NOT* COMMIT!

test process starts

executable: /usr/bin/python2 (2.7.14-final-0) [CPython]
architecture: 32-bit
cache: yes
ground types: gmpy 2.0.8
hash randomization: on (PYTHONHASHSEED=3003103148)

Closed by  Andreas Baumann
02.10.2019 19:15
Reason for closing:  Fixed
Additional comments about closing:  

Seems to run the tests just fine on i686 and pentium4.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing