Your message dated Tue, 27 Aug 2024 22:06:57 +0000
with message-id <e1sj4l3-00egdr...@fasolo.debian.org>
and subject line Bug#1079740: fixed in optlang 1.8.2-2
has caused the Debian Bug report #1079740,
regarding FTBFS: test fails with AssertionError: 0 != 0.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1079740: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079740
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.objective
self.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.objective
self.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.objective
self.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.objective
self.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.objective
self.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.objective
self.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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: optlang
Source-Version: 1.8.2-2
Done: Yogeswaran Umasankar <y...@debian.org>

We believe that the bug you reported is fixed in the latest version of
optlang, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1079...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yogeswaran Umasankar <y...@debian.org> (supplier of updated optlang package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 27 Aug 2024 21:30:00 +0000
Source: optlang
Architecture: source
Version: 1.8.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Yogeswaran Umasankar <y...@debian.org>
Closes: 1079740
Changes:
 optlang (1.8.2-2) unstable; urgency=medium
 .
   * Team upload.
   * Patch to fix symbolic expressions issue in tests
     and autopkgtest failure. (Closes: #1079740)
   * d/control: bumped Standards-Version to 4.7.0.
Checksums-Sha1:
 d68cbf621a27a6989f0b6fd1e160abd84ebb6c18 2175 optlang_1.8.2-2.dsc
 43aa30c7f493ec46487fb8549d7cdee63823975b 3796 optlang_1.8.2-2.debian.tar.xz
 29224efd00bd6185246ea7853b2e5ee86a1d00af 7483 optlang_1.8.2-2_source.buildinfo
Checksums-Sha256:
 5403827854029a4e2d6798f0e87bb3d7a71464d3cc11704f746a848f4b4f6d2a 2175 
optlang_1.8.2-2.dsc
 e1045da085c9f6a85b7e47fa5baa02adaa112456ab0157463563740120a3cac8 3796 
optlang_1.8.2-2.debian.tar.xz
 bcdd34640dfc06b35f5d414437bac681530e0cf3a1f5b037f9a91923dbe6e6e9 7483 
optlang_1.8.2-2_source.buildinfo
Files:
 3588727615230ab8a305d563c7f9b834 2175 python optional optlang_1.8.2-2.dsc
 57fdbc7ba5def041f5a8b435e2dcf9e0 3796 python optional 
optlang_1.8.2-2.debian.tar.xz
 e5770cbde248939cfcfa73bffb016ebe 7483 python optional 
optlang_1.8.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE/qLi99g13V/he2oYtIOKvyeCVXsFAmbOSo8QHHlvZ3VAZGVi
aWFuLm9yZwAKCRC0g4q/J4JVexLfD/0XoOKr0CepxXd28UVd+KlsEbKBaX6asuT6
fyKBvpZ+LWuYGEs51ysDXpNUJbflc/41h0VwjEA6uGKg70BoPSLBf00HfHYP6g7f
+EJ3EzBRbzAkJyeYvhRgNT+ompFjW96pyPDXCyniBTsGbVLBlJl0LkZATskcPzZl
2EmjkuVlIdQ2Ex5c5sjOwu1JosQVnkSV+os+01DURED2y/L+F/oVx9+S/9h3+Km9
NBekTtIU5B+5fkv4Qhj/ItPuoXTzoSYFsw8hC/5QsmsFMxb3eleRqmZEN08ihg4U
BPA5di5d4SPQjNJuRLW4EgdC7d2YpHNJ4tIpMgi7g6zBXD2SRVlzg4X8XN0hXyke
/TY87qkCjk36qNL5ompex9Bjs7+B+0KFlptWEZIPdfLoLEqJ2BOAj84G24YGLVgn
2tuzYEkDX5vbgYrQIX2CG9YpVBA+Qp4OtSF4YKeuWhqrjXxZMcYdMBMUz/kq7Oxj
OO0iWiixoIQSV7l332b8ch/Xs9UM49UyeXcHlBNDTiB9IF7spXbQAhoc1nPlky7F
kfueY/MXrqiq4jG3SS0hDudwPd0caIuMTq04gySZgBePqq0ur1latNlSLxCHnXZA
XgleXXD/grG3k2bnvj5qPpI0NACA+7ox7D57jNwKXnhIstSahGyK4Z+pTJQPJ72x
5cyb0oYcpg==
=hlz0
-----END PGP SIGNATURE-----

Attachment: pgpY14igGzD3G.pgp
Description: PGP signature


--- End Message ---

Reply via email to