Source: optlang Version: 1.8.2-1 Severity: serious Tags: ftbfs Justification: ftbfs
Hi,Probably since version 1.13.2-1 of src:sympy, optlang FTBFS with the following error while running its build time tests. The same is seen in autopkgtest results.
=================================== FAILURES =================================== __________ ModelTestCase.test_objective_expression_includes_constant ___________
self = <optlang.tests.test_glpk_exact_interface.ModelTestCase testMethod=test_objective_expression_includes_constant>
def test_objective_expression_includes_constant(self): objective = self.model.objectiveself.model.objective = self.interface.Objective(objective.expression + 3)
self.model.update()> self.assertEqual((self.model.objective.expression - (objective.expression + 3.)).expand(), 0.)
E AssertionError: 0 != 0.0 optlang/tests/abstract_test_cases.py:826: AssertionError__________ ModelTestCase.test_objective_expression_includes_constant ___________
self = <optlang.tests.test_glpk_interface.ModelTestCase testMethod=test_objective_expression_includes_constant>
def test_objective_expression_includes_constant(self): objective = self.model.objectiveself.model.objective = self.interface.Objective(objective.expression + 3)
self.model.update()> self.assertEqual((self.model.objective.expression - (objective.expression + 3.)).expand(), 0.)
E AssertionError: 0 != 0.0 optlang/tests/abstract_test_cases.py:826: AssertionError__________ ModelTestCase.test_objective_expression_includes_constant ___________
self = <optlang.tests.test_scipy_interface.ModelTestCase testMethod=test_objective_expression_includes_constant>
def test_objective_expression_includes_constant(self): objective = self.model.objectiveself.model.objective = self.interface.Objective(objective.expression + 3)
self.model.update()> self.assertEqual((self.model.objective.expression - (objective.expression + 3.)).expand(), 0.)
E AssertionError: 0 != 0.0 optlang/tests/abstract_test_cases.py:826: AssertionError__________ ModelTestCase.test_objective_expression_includes_constant ___________
self = <tests.test_glpk_exact_interface.ModelTestCase testMethod=test_objective_expression_includes_constant>
def test_objective_expression_includes_constant(self): objective = self.model.objectiveself.model.objective = self.interface.Objective(objective.expression + 3)
self.model.update()> self.assertEqual((self.model.objective.expression - (objective.expression + 3.)).expand(), 0.)
E AssertionError: 0 != 0.0 optlang/tests/abstract_test_cases.py:826: AssertionError__________ ModelTestCase.test_objective_expression_includes_constant ___________
self = <tests.test_glpk_interface.ModelTestCase testMethod=test_objective_expression_includes_constant>
def test_objective_expression_includes_constant(self): objective = self.model.objectiveself.model.objective = self.interface.Objective(objective.expression + 3)
self.model.update()> self.assertEqual((self.model.objective.expression - (objective.expression + 3.)).expand(), 0.)
E AssertionError: 0 != 0.0 optlang/tests/abstract_test_cases.py:826: AssertionError__________ ModelTestCase.test_objective_expression_includes_constant ___________
self = <tests.test_scipy_interface.ModelTestCase testMethod=test_objective_expression_includes_constant>
def test_objective_expression_includes_constant(self): objective = self.model.objectiveself.model.objective = self.interface.Objective(objective.expression + 3)
self.model.update()> self.assertEqual((self.model.objective.expression - (objective.expression + 3.)).expand(), 0.)
E AssertionError: 0 != 0.0 optlang/tests/abstract_test_cases.py:826: AssertionError Paul -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.10.6-amd64 (SMP w/4 CPU threads; PREEMPT)Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
OpenPGP_signature.asc
Description: OpenPGP digital signature