Source: uncertainties Version: 1.4.5-1 Severity: serious Justification: fails to build from source
Once in a while uncertainties fails to build from source because of failed tests:
======================================================================
ERROR: Pre-calculated derivatives for operations on AffineScalarFunc.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.5/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/tmp/uncertainties-1.4.5/uncertainties/__init__.py", line 951, in
test_fixed_derivatives_basic_funcs
check_op(op, 2)
File "/tmp/uncertainties-1.4.5/uncertainties/__init__.py", line 943, in
check_op
_compare_derivatives(func, numerical_derivatives, num_args)
File "/tmp/uncertainties-1.4.5/uncertainties/__init__.py", line 1224, in
_compare_derivatives
fixed_deriv_value, num_deriv_value))
DerivativesDiffer: Derivative #0 of function '__rfloordiv__' may be wrong: at
args = [0.011577751060347197, 4.9648148023533807], fixed val = 0.000000, while
num. val = -50000.000000
-------------------- >> begin captured stdout << ---------------------
Testing __neg__ at [-2.896889650483069]
Testing __abs__ at [1.2227198270690494]
Testing __pos__ at [3.4462967982650969]
Testing __radd__ at [3.9352285647955281, -1.5103011980181016]
Testing __radd__ at [3.9352285647955281, -1.5103011980181016]
Testing __rpow__ at [0.089174479065855294, 1.6509872165078132]
Testing __rpow__ at [0.089174479065855294, 1.6509872165078132]
Testing __sub__ at [-1.7486228225905744, 2.4699814470039474]
Testing __sub__ at [-1.7486228225905744, 2.4699814470039474]
Testing __rtruediv__ at [4.888235281346363, 4.5129336258624519]
Testing __rtruediv__ at [4.888235281346363, 4.5129336258624519]
Testing __rsub__ at [-3.8571079984162981, -1.7178280382140021]
Testing __rsub__ at [-3.8571079984162981, -1.7178280382140021]
Testing __pow__ at [4.6596420948201249, 0.56721322891609738]
Testing __pow__ at [4.6596420948201249, 0.56721322891609738]
Testing __rdiv__ at [-3.9576361391938972, 3.084818221476521]
Testing __rdiv__ at [-3.9576361391938972, 3.084818221476521]
Testing __rfloordiv__ at [0.011577751060347197, 4.9648148023533807]
--------------------- >> end captured stdout << ----------------------
--
Jakub Wilk
signature.asc
Description: Digital signature

