Your message dated Tue, 03 Feb 2026 07:19:35 +0000
with message-id <[email protected]>
and subject line Bug#1126290: fixed in highs 1.12.0+ds1-3
has caused the Debian Bug report #1126290,
regarding highs: FTBFS with Python 3.14
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.)


-- 
1126290: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126290
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: highs
Version: 1.12.0+ds1-2
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: python3.14

Hi Maintainer

highs will FTBFS once Python 3.14 is the default version in Debian.
I've copied what I hope is the relevant part of the log below.

"'return' in a 'finally' block" should only be a SyntaxWarning for
Python 3.14, but upstream's pyproject.toml upgrades warnings to
errors.

This can be worked around as follows.

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -197,7 +197,7 @@
 addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
 xfail_strict = true
 log_cli_level = "INFO"
-filterwarnings = ["error"]
+#filterwarnings = ["error"]
 testpaths = ["tests"]

 [tool.cibuildwheel]

While investigating this issue, I noticed that the pytest tests are
not run for amd64.  Compare for example a build log [1] for arm64 to
amd64, and search for the text 'test session starts'.

# set LD_LIBRARY_PATH to find compiled _core.so and libhighs.so
LD_LIBRARY_PATH=/tmp/highs-build/usr/lib/aarch64-linux-gnu dh_auto_test
I: pybuild base:386: cd
/build/reproducible-path/highs-1.12.0+ds1/.pybuild/cpython3_3.13_highspy/build;
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: 
/build/reproducible-path/highs-1.12.0+ds1/.pybuild/cpython3_3.13_highspy/build
configfile: pyproject.toml
collected 60 items

tests/test_highspy.py .................................................. [ 83%]
..........                                                               [100%]

============================== 60 passed in 0.37s ==============================

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=highs


____________________ ERROR collecting tests/test_highspy.py ____________________
/usr/lib/python3/dist-packages/_pytest/python.py:507: in importtestmodule
    mod = import_path(
/usr/lib/python3/dist-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1398: in _gcd_import
    ???
<frozen importlib._bootstrap>:1371: in _find_and_load
    ???
<frozen importlib._bootstrap>:1342: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:938: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:197: in exec_module
    exec(co, module.__dict__)
tests/test_highspy.py:3: in <module>
    import highspy
highspy/__init__.py:46: in <module>
    from .highs import Highs
E     File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_highspy/build/highspy/highs.py",
line 84
E       return t
E       ^^^^^^^^
E   SyntaxError: 'return' in a 'finally' block

--- End Message ---
--- Begin Message ---
Source: highs
Source-Version: 1.12.0+ds1-3
Done: Stuart Prescott <[email protected]>

We believe that the bug you reported is fixed in the latest version of
highs, 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.
Stuart Prescott <[email protected]> (supplier of updated highs 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: Tue, 03 Feb 2026 17:54:53 +1100
Source: highs
Architecture: source
Version: 1.12.0+ds1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1126290
Changes:
 highs (1.12.0+ds1-3) unstable; urgency=medium
 .
   * Team upload.
   * Fix FTBFS with Python 3.14 due to warning output, with thanks to Graham
     Inggs for the patch (Closes: #1126290).
   * Run Python tests on amd64.
Checksums-Sha1:
 69a083806a60ff6d4a53063c07e402851a936c49 2583 highs_1.12.0+ds1-3.dsc
 cf3e97a492fbec54c04f07afb30da5f4ae16ce0f 7248 highs_1.12.0+ds1-3.debian.tar.xz
 c3e1e5065be660781333e0671b79d2e66d619645 3343396 highs_1.12.0+ds1-3.git.tar.xz
 1365fe64db3a7ee547e31976e7bce1da8ea3fbeb 17306 
highs_1.12.0+ds1-3_source.buildinfo
Checksums-Sha256:
 ed70e05db3a7d32a10a75e761d76e2285474446b400a70a203fa46f38941dda5 2583 
highs_1.12.0+ds1-3.dsc
 6e5ed03ea7d87d257fcc3b238bb8b6f7c4a93572c9474447046b43f6251fe19c 7248 
highs_1.12.0+ds1-3.debian.tar.xz
 cbb547d44b7326560b6342c3084f33630739d239885fe07249ee09b16fc892d6 3343396 
highs_1.12.0+ds1-3.git.tar.xz
 a61ae99d96140d35eb41bc19beb4a1ed375a7a3a2d449ab8963f7eb26d759f0e 17306 
highs_1.12.0+ds1-3_source.buildinfo
Files:
 1c7712ce2daa3bf1f3a50697068c392e 2583 science optional highs_1.12.0+ds1-3.dsc
 2214d23c0970821f90dee78df7956693 7248 science optional 
highs_1.12.0+ds1-3.debian.tar.xz
 e665c0137df45a16ec79fc0c1c345408 3343396 science optional 
highs_1.12.0+ds1-3.git.tar.xz
 e72265fcc921665e8267b406259e16f8 17306 science optional 
highs_1.12.0+ds1-3_source.buildinfo
Git-Tag-Info: tag=131deb07c62b9de53e1fee87a72cbbaab3e9b96e 
fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmmBngAACgkQYG0ITkaD
wHljZA/9GLHP2yFmKTBLDGYi5kjTMxDwRkMtiw30df78FNapqvyOIX3AgD6mGTrv
5X0ji3Nk07YrJEkXJL3C48SpQeqzFIVd4sHj42CPN/5WgQN6K2UKTVqlnjXGHGqz
YPa5/7BvcdW78CDkpnpkA6Kpswc1fkhPOvEUfWCzTR/QhzxlLw0BK61CqfK0CoPu
qaSmAcGSnDTITpuKoCqIksqinA3HKRGJR+jiMPd0IK2ZAr63R37+R8eUWIm85RbY
XRMVPzjP615+8zdBh/eNTPYlHmmNiisn8jQDtuknvdS43JSRWo6OffPKxjxBksC6
decmO1yg7lXqFLNC4VF4cdqi7V+yOiM2XjKcBAtTKEJ/a+Ax42ff+r07sSUx7CLU
jqDQL4ryk4W/ArAd0T/IDSqOzDv/RDv4yo4ws6q83Kc9jRZsgEYm8pSsEEpTRq+S
8Hgx8kTQyZIRsRiDOUzPa0Xv0TXTPCg1KvLxMphou6BTbXu/WMulM6VfMzLUCXC2
Sh+Y/6yRB42van0/2dGMxG1qmq8XYd5RqWYy559w9YnuBf7rC9R8C3mN06Lr6mks
uTJn7CKo5NynB7g/g/dmBH+QhqHLd/qSbkbvAwGgYSroHW2n/C3x4ALlUdSqUdCP
v1fKFiodIvyHdBjjEEdAPcYtqNcSyAVPj/1bDaDD3sIkEq2o3Hw=
=1p1L
-----END PGP SIGNATURE-----

Attachment: pgpu0kadb3nRu.pgp
Description: PGP signature


--- End Message ---

Reply via email to