Your message dated Fri, 03 Feb 2023 11:21:31 +0000
with message-id <[email protected]>
and subject line Bug#1030142: fixed in scipy 1.10.0-3
has caused the Debian Bug report #1030142,
regarding scipy: Has reverted to using bundled copy of L-BFGS-B library
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.)
--
1030142: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030142
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: scipy
Version: 1.10.0-2
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
Dear Maintainer,
Ever since #778635, the SciPy package has carried a patch that makes it
use the system LBFGSB library provided by liblbfgsb0 instead of the
bundled copy that upstream uses. It seems that this patch no longer does
the trick with SciPy's move to building with Meson, as has become
evident with 1.10.0-2 entering unstable:
* python3-scipy no longer depends on liblbfgsb0
*
/usr/lib/python3/dist-packages/scipy/optimize/_lbfgsb.cpython-311-x86_64-linux-gnu.so
has no reference to liblbfgsb.so.0
Attached is an updated patch, to replace the old one with the same name,
that seems to rectify the situation. I have tested that it restores
linking with liblbfgsb.so.0, and that no tests fail.
Best,
Gard
From: Gard Spreemann <[email protected]>
Date: Sun, 29 Jan 2023 19:55:15 +0100
Subject: Use system LBFGSB.
---
scipy/optimize/meson.build | 5 +----
scipy/optimize/setup.py | 4 +++-
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/scipy/optimize/meson.build b/scipy/optimize/meson.build
index c7079e7..78a006f 100644
--- a/scipy/optimize/meson.build
+++ b/scipy/optimize/meson.build
@@ -100,15 +100,12 @@ lbfgsb_module = custom_target('lbfgsb_module',
_lbfgsb = py3.extension_module('_lbfgsb',
[
- 'lbfgsb_src/lbfgsb.f',
- 'lbfgsb_src/linpack.f',
- 'lbfgsb_src/timer.f',
lbfgsb_module,
],
c_args: numpy_nodepr_api,
fortran_args: fortran_ignore_warnings,
include_directories: [inc_np, inc_f2py],
- link_args: version_link_args,
+ link_args: version_link_args + ['-llbfgsb'],
dependencies: [lapack, fortranobject_dep],
install: true,
link_language: 'fortran',
diff --git a/scipy/optimize/setup.py b/scipy/optimize/setup.py
index c24ef50..1dabc2b 100644
--- a/scipy/optimize/setup.py
+++ b/scipy/optimize/setup.py
@@ -64,8 +64,10 @@ def configuration(parent_package='', top_path=None):
pre_build_hook = None
lapack = combine_dict(lapack, numpy_nodepr_api)
+ lapack.setdefault('libraries', [])
+ lapack['libraries'].append('lbfgsb')
- sources = ['lbfgsb.pyf', 'lbfgsb.f', 'linpack.f', 'timer.f']
+ sources = ['lbfgsb.pyf']
ext = config.add_extension('_lbfgsb',
sources=[join('lbfgsb_src', x)
for x in sources],
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: scipy
Source-Version: 1.10.0-3
Done: Drew Parsons <[email protected]>
We believe that the bug you reported is fixed in the latest version of
scipy, 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.
Drew Parsons <[email protected]> (supplier of updated scipy 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: SHA256
Format: 1.8
Date: Fri, 03 Feb 2023 10:48:29 +0100
Source: scipy
Architecture: source
Version: 1.10.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1030142
Changes:
scipy (1.10.0-3) unstable; urgency=medium
.
* Team upload.
* drop scipy/_lib/boost/ from debian/copyright
(no longer provided in upstream source)
* skip build-time tests
- hurd-i386: test_mip1
- ia64: test_maxiter_worsening[lgmres]
- x32: test_input_validation
* update skips in debian/tests:
- i386: skip test_simple_overdet_complex with blis
- armhf: skip test_rosenbrock_with_no_exception
* update debian patch Use-system-LBFGSB.patch for the new meson build
Closes: #1030142.
Checksums-Sha1:
42e30c91d017bc7ae0b1d3975f4d0bf3b2537109 3179 scipy_1.10.0-3.dsc
2fd62b54206c5403b3cedbf41d4780af0ec1282c 37876 scipy_1.10.0-3.debian.tar.xz
Checksums-Sha256:
1dd87be469aa615ecfcc23770ccfa5b1f23090e4e13b8fe171a431a091c2cd00 3179
scipy_1.10.0-3.dsc
e9a3bb4349455acefd4dc3946e9c78901f23de22d45dd62b2210af0517425236 37876
scipy_1.10.0-3.debian.tar.xz
Files:
1ba12c1a537dd9a6ed83ce0fef03fb8e 3179 python optional scipy_1.10.0-3.dsc
457b99bd045b5fcdfe25419cbdb5bb3b 37876 python optional
scipy_1.10.0-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmPc5+4ACgkQVz7x5L1a
AfqNbw/7BZVMd5T9Rnr7+I8dQUMH7WTH8xr1Y+8gILNA8ZfyDJuDJrzbXFqCrHxV
mHTwg5B02/9ofDp0iEp58Hcuv12MA1unyyxD84fpJM2dsCJj8WPUVzIWWWy79vw+
obYkBvWTmNSqHZvVtnkFr60uNpRcCGMKl310FOynSljXqZhrOP8O5ss4xdDmy8oO
69qbMIx/MR07SYEPKNOwOR3GciXiDc1O3o+yCShti6oV8r6Doh5xS+H63lYKMhwv
izwcWpZ1XaShelS8TXYpmsdZbMJzZHf91IUFk8vvaPEbMmGMeTZzwB4jbnaNl0+C
1b+ijAEodMqzAsUiF8zBApVtUruGGGm1oPhzQ31SDvaEJEEeN4Nn8ouhfR/BesWp
28T4mrC7zniuca2+8MMZDLCz9nbH79YsaswjS0h5CNmUU/SfvqTMHkWx+oIXZkCP
/kymOXh81cJCoG5VAtQoqNfzXY9UijXz0lTQ69PWidwLDe02oQgef1v4wDvVsLkh
i3sE+yM1kTWhFBuQ3qOG/Rd+eRp6YigngCjiqpRs3vDWN9RWUsN2g8AMwrFDRiHc
FrvQgEsGmIMXWYtTWhx5yBmHW9oadJ64UOM7/s67+yS5oOF+9zwCvnRRrqaBR6mj
g5ETmvMuJZKzrNGII9VWavNGHKCN38i4YHWGSR7+0ByaiJyaSLQ=
=yagF
-----END PGP SIGNATURE-----
--- End Message ---