#1145066 jpy: FTBFS building against python 3.15

Package:
src:jpy
Source:
src:jpy
Submitter:
Emmanuel Arias
Date:
2026-08-23 11:07:03 UTC
Severity:
normal
Tags:
#1145066#5
Date:
2026-08-22 04:01:40 UTC
From:
To:
¡Hola!

While rebuilding packages against python 3.15 we found that jpy
produces some errors when used against it. Some of this caught by the
autopkgtest[0].

This is due that some deprecated and removed functions are used:
Py_GetProgramName(), Py_GetPrefix(), Py_GetExecPrefix(),
Py_GetProgramFullPath(), Py_GetPath(), Py_GetPythonHome()

I'm attaching a patch to remove those functions

[0] https://debusine.debian.net/debian/r-python-python3.15/artifact/4232006/

#1145066#12
Date:
2026-08-23 10:59:31 UTC
From:
To:
Hello,

Bug #1145066 in jpy reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/jpy/-/commit/1cbd3ac6a900bc1224a01f494ee13a0ade05897c

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1145066

#1145066#19
Date:
2026-08-23 11:05:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
jpy, 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 1145066@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckinstry@debian.org> (supplier of updated jpy 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 23 Aug 2026 11:43:47 +0100
Source: jpy
Architecture: source
Version: 2.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alastair McKinstry <mckinstry@debian.org>
Closes: 1145066
Changes:
 jpy (2.1.0-2) unstable; urgency=medium
 .
   * Debhelper compat level 14
   * Enable repeated builds. Closes: #1047376
   * Patch from Emmanuel Arias to fix FTBS on python3.15 Closes: #1145066
Checksums-Sha1:
 6e9ba030f3b151aff0961fff9d0ac9f646b30323 1966 jpy_2.1.0-2.dsc
 b1f1af001de3aff58cd85b63fec6ef4cb138bae6 6688 jpy_2.1.0-2.debian.tar.xz
 30a0b2513d531ab88bbbe61da761c4466fa0c86c 11624 jpy_2.1.0-2_arm64.buildinfo
Checksums-Sha256:
 2841fdb269e234713fe427cd65c60ff898d92e2a6966ecbc2c032d3e6f5492a1 1966 jpy_2.1.0-2.dsc
 55ec5c86fd4b47e2005a387fb82dbf2c9d7ac42c421cad312883bc2f3c020b6a 6688 jpy_2.1.0-2.debian.tar.xz
 d92da281f10136fd0e6453f561c053a6726324ef7c9822bf0fb21c05186a884e 11624 jpy_2.1.0-2_arm64.buildinfo
Files:
 4e06d44118185e250b1eb09515435555 1966 python optional jpy_2.1.0-2.dsc
 eec39abd32e4e14ecba5369f09ddd5d0 6688 python optional jpy_2.1.0-2.debian.tar.xz
 fd30ee09c2b3d67c86724a5f8f00eb66 11624 python optional jpy_2.1.0-2_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmqKz50ACgkQy+a7Tl2a
06Vj3hAAgoG9RAWvSBe4oT8RmlyHd1CfpD5dFc+BFMJww+E9TF9WfkGeXySTd/1z
AXXD2LINeBd4jmzLmMKPt8+8zCpVJdojQKDxUxQbTVoUyTpDBjX9lllabNNaz7iT
44YObtWTj08S4qYSoZsSvUGxrPrgw+n+8aSDlKHkrVChWk4V6ECwg0L9TBrdKStx
wjt3nNCdSSCIPwCAQpa0s13XWfO8bzf3XHczED2FfLK5mrAT2OhMxxMMjZHe2M+H
3oFtbrQkqGPBN9YhhSjHUasZngFdTESlUwaDd+N5BK91BMcCvsbu7DOPIM05nPIX
y/YykujMXkUptPD/pwIWCLSxWk4tgia6SbhA7z7OmBZXMDNX/Jg+gdQpmG00F9iO
kvT+wfs5On3676xcNoLNTCvD96GiRvI0AEtsw6mkVvkT3y3xVjfQ0++cEHdmSSpU
xNavNs4fbqEufawEkdKyy+kPRKq1i0gr5WUUQZm+CcB1FecXNfSYM/lo9QA2QXpI
G27svOrDiR4F2DbcVEkjmyMusIQx/g7a2lON/vzeMLaSlWTnZXuJBlzqbvlit+8i
oMpMCi56wl/Y/dt3VoVTS4KCISCfQmZs5YDbiiWbWdAg80cdpNEnT/yve+lVeGGP
hMQipf3m9F+xYObn+1yacJZ5CYXaVdrPTQ4ZBkGFxIGZikqdyMY=
=V34D
-----END PGP SIGNATURE-----