Your message dated Sat, 27 Jun 2026 15:03:28 +0000
with message-id <[email protected]>
and subject line Bug#1037435: fixed in ojalgo 52.0.1+ds-1+deb12u1
has caused the Debian Bug report #1037435,
regarding ojalgo tests using the network at build time (again)
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 [email protected]
immediately.)


-- 
1037435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037435
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ojalgo
Version: 52.0.1+ds-1
Severity: serious
Tags: patch
Justification: Policy 4.9
User: [email protected]
Usertags: origin-ubuntu mantic ubuntu-patch

Hi Pierre,

The ojalgo package has been failing to build from source in Ubuntu, because
its tests are trying to access the network:

[...]
[ERROR] Failures: 
[ERROR]   YahooDataSourceTest.testFetchDaily:54 No data!
[ERROR]   YahooDataSourceTest.testFetchMonthly:62 No data!
[ERROR]   YahooDataSourceTest.testFetchWeekly:70 No data!
[ERROR]   
YahooDataSourceTest.testYahooDailyAAPL:79->FinanceSeriesTests.assertAtLeastExpectedItems:64
 No data!
[ERROR]   
YahooDataSourceTest.testYahooMonthlyAAPL:87->FinanceSeriesTests.assertAtLeastExpectedItems:64
 No data!
[ERROR]   
YahooDataSourceTest.testYahooWeeklyAAPL:95->FinanceSeriesTests.assertAtLeastExpectedItems:64
 No data!
[ERROR] Errors: 
[ERROR]   
YahooDataSourceTest.testDeriveDistributions:47->FinanceSeriesTests.doTestDeriveDistribution:84
 » NegativeArraySize
[ERROR]   OptimisationServiceTest.testEnvironment:67 » Runtime 
java.util.concurrent.Exec...
[ERROR]   OptimisationServiceTest.testTest:55 » Runtime 
java.util.concurrent.ExecutionEx...
[ERROR]   OptimisationServiceTest.testVeryBasicModel:41 » Runtime 
java.util.concurrent.E...
[...]

  (https://launchpad.net/ubuntu/+source/ojalgo/52.0.1+ds-1/+build/26010077)

There was already a patch in the source to disable network tests, but it
appears that some new network tests have now been added.  I've extended the
patch to disable these tests as well; please see the attached diff.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]
diff -Nru ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch 
ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch
--- ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch      2023-01-18 
13:33:30.000000000 -0800
+++ ojalgo-52.0.1+ds/debian/patches/no_network_tests.patch      2023-06-12 
12:54:52.000000000 -0700
@@ -4,8 +4,10 @@
 Reviewed-by: Pierre Gruet <[email protected]>
 Last-Update: 2022-12-17
 
---- 
a/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
-+++ 
b/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
+Index: 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
+===================================================================
+--- 
ojalgo-52.0.1+ds.orig/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
++++ 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/AlphaVantageDataSourceTest.java
 @@ -22,6 +22,7 @@
   */
  package org.ojalgo.data.domain.finance.series;
@@ -22,3 +24,43 @@
  public class AlphaVantageDataSourceTest extends FinanceSeriesTests {
  
      public AlphaVantageDataSourceTest() {
+Index: 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/YahooDataSourceTest.java
+===================================================================
+--- 
ojalgo-52.0.1+ds.orig/src/test/java/org/ojalgo/data/domain/finance/series/YahooDataSourceTest.java
++++ 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/data/domain/finance/series/YahooDataSourceTest.java
+@@ -22,6 +22,7 @@
+  */
+ package org.ojalgo.data.domain.finance.series;
+ 
++import org.junit.jupiter.api.Disabled;
+ import org.junit.jupiter.api.Test;
+ import org.ojalgo.TestUtils;
+ import org.ojalgo.type.CalendarDateUnit;
+@@ -31,6 +32,7 @@
+  *
+  * @author apete
+  */
++@Disabled("Requires network access")
+ public class YahooDataSourceTest extends FinanceSeriesTests {
+ 
+     private static YahooSession SESSION = new YahooSession();
+Index: 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/optimisation/service/OptimisationServiceTest.java
+===================================================================
+--- 
ojalgo-52.0.1+ds.orig/src/test/java/org/ojalgo/optimisation/service/OptimisationServiceTest.java
++++ 
ojalgo-52.0.1+ds/src/test/java/org/ojalgo/optimisation/service/OptimisationServiceTest.java
+@@ -1,6 +1,7 @@
+ package org.ojalgo.optimisation.service;
+ 
+ import org.junit.jupiter.api.AfterEach;
++import org.junit.jupiter.api.Disabled;
+ import org.junit.jupiter.api.Test;
+ import org.ojalgo.TestUtils;
+ import org.ojalgo.netio.BasicLogger;
+@@ -9,6 +10,7 @@
+ import org.ojalgo.optimisation.ExpressionsBasedModel;
+ import org.ojalgo.optimisation.Optimisation.Result;
+ 
++@Disabled("Requires network access")
+ public class OptimisationServiceTest {
+ 
+     private static final String PATH_ENVIRONMENT = 
"/optimisation/v01/environment";

--- End Message ---
--- Begin Message ---
Source: ojalgo
Source-Version: 52.0.1+ds-1+deb12u1
Done: Santiago Vila <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ojalgo, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated ojalgo 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 [email protected])


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

Format: 1.8
Date: Fri, 26 Jun 2026 22:30:00 +0200
Source: ojalgo
Architecture: source
Version: 52.0.1+ds-1+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian Math Team <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1037435
Changes:
 ojalgo (52.0.1+ds-1+deb12u1) bookworm; urgency=medium
 .
   * Team upload.
 .
   [ Pierre Gruet ]
   * Disable more tests requiring network access. Closes: #1037435.
 .
   [ Santiago Vila ]
   * Apply some fixes from trixie.
Checksums-Sha1:
 d863bf9a01b752e3e9a091034e357ddaf16e8504 1730 ojalgo_52.0.1+ds-1+deb12u1.dsc
 79b49b8413156415238e31a5fbd9b03c581350f0 7396 
ojalgo_52.0.1+ds-1+deb12u1.debian.tar.xz
 866973da898cf306cdb8587f63db5e64d2db1bdd 5518 
ojalgo_52.0.1+ds-1+deb12u1_source.buildinfo
Checksums-Sha256:
 d146469fa493e11dd31430690b129080a611ae1b20e3f05a95c311e33361c053 1730 
ojalgo_52.0.1+ds-1+deb12u1.dsc
 9792c5d4b18597dcd56296e2e89b051ae882527a6686eaedb10b1b02c44f284d 7396 
ojalgo_52.0.1+ds-1+deb12u1.debian.tar.xz
 159367d02bf50e78576fb0b48979b74375e8f318211cec061bcd7316a65b39a8 5518 
ojalgo_52.0.1+ds-1+deb12u1_source.buildinfo
Files:
 0e9d45b6754fd4a6d7415f2793bace1d 1730 math optional 
ojalgo_52.0.1+ds-1+deb12u1.dsc
 3f92dc20065ac51e0427faa362dfbc3d 7396 math optional 
ojalgo_52.0.1+ds-1+deb12u1.debian.tar.xz
 5906af02d725c0009c9426c892c26201 5518 math optional 
ojalgo_52.0.1+ds-1+deb12u1_source.buildinfo

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

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmo+6PYACgkQQc5/C58b
izJw0gf/ao3CsPWxRdUo4oUvjn7gZCiQcEhIXSjIRWB+0xLSRJqIQNjDPGwf+b/V
7W+zyXkBYUxmVPt83Sm0WQQ75/QTVIH+eYych9ib/YWKHGPCJ1w+Vqph5iAadAqT
BGQdq6u2C/HD/qxciRKTDcHkIA3p5lBqi3YmdMJfAfJbuvS4QXGiabwZlaaY0ko+
7OVP6SsfWV9wIodXDcjFqFWQUd4QVYH2w51rhPbWYisXn64GAX35Nibf7iuvmx9I
++He8JM3Y6DxVdDJvs5xxgOtVmvhVXueTx+dM03Ld/o3+ZDDH62AVeSHvY0J/1/J
R8D1IeadDLmXDBZwUCWDBPE1pxSBbA==
=euMA
-----END PGP SIGNATURE-----

Attachment: pgpMNZ21lT85e.pgp
Description: PGP signature


--- End Message ---

Reply via email to