Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Debian Bug Tracking System
Mon, 26 Oct 2026 07:40
Bug#1148465: marked as done (openbabel: builds only against the default Python version)
Author: Debian Bug Tracking System
Date: Mon, 26 Oct 2026 07:40
Date: Mon, 26 Oct 2026 07:40
470 lines
19654 bytes
19654 bytes
This is a multi-part message in MIME format...
------------=_1793000222-1666218-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Mon, 26 Oct 2026 07:35:04 +0000
with message-id <E1xLFEW-0000000Dw79-04l2@fasolo.debian.org>
and subject line Bug#1148465: fixed in openbabel 3.2.0+dfsg-2
has caused the Debian Bug report #1148465,
regarding openbabel: builds only against the default Python version
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 owner@bugs.debian.org
immediately.)
--=20
1148465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148465
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1793000222-1666218-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 19 Sep 2026 20:11:04 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-116.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,MONEY,
SPF_HELO_NONE,SPF_PASS,STOCKLIKE,USER_IN_DKIM_WELCOMELIST
autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 54; hammy, 150; neutral, 267; spammy,
0. spammytokens:
hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <maxy@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:35682)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <maxy@debian.org>)
id 1x81Oq-006Aj0-2P
for submit@bugs.debian.org;
Sat, 19 Sep 2026 20:11:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=1/NuYu/tIa51SO1pIiRq5fVrq2kS+Z/sgA943PAnO4M=; b=Uf4sf5NrVa3w3pC2GngHGSVt9D
ig7aYNlpTcegs2E6YkQhqaYOgCsvn7hqngvA8ZoOgzzFHHBOjaLDjZ2LefiTaLDlAHuKNgJEpu7gl
3dNF9GUKFomZjVVVeG9etniAUtW9uPuzatCRDZigkwxHP/KpWdsMXCbzZYgghxtKkQkrqgr4g8mPz
tNnZFGq0L+wSgiIvu1O3HxLE90b6GEvM22v5woQbjlGqU2lMz/l6NeKm5w5iobm1HGzWRhTaKGNzq
dOtkDHnTJ0sbK1utwEXqsI8ESRlIo6oRnn5AFzT8K8zrpn/5yPmBxXWghcX54CpCCFNN3fEpt7Fy4
wkv8RwVg==;
Received: from authenticated-user
by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <maxy@debian.org>)
id 1x81Oo-000toY-2B
for submit@bugs.debian.org;
Sat, 19 Sep 2026 20:11:03 +0000
Date: Sat, 19 Sep 2026 22:11:01 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Subject: openbabel: builds only against the default Python version
Message-ID: <aq7sVRWXP6xH0aWe@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="U65jIap5fPWeVf+W"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org
--U65jIap5fPWeVf+W
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Package: src:openbabel
Version: 3.2.0+dfsg-1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that openbabel only builds against the default Python
version.
This is a problem because it doesn't build the module for Python 3.15,
making packages that depend on it also unable to build for Python 3.15
(for example python-emmet-core).
To fix this, I've made a change that makes openbabel build against all
supported Python versions.
I've applied the fix in the sandbox [1] to verify that both openbabel
and the packages that depend on it build successfully. Please consider
applying the patch to support the upcoming 3.15 version.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
--U65jIap5fPWeVf+W
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=openbabel_3.2.0+dfsg-1.1.diff
diff --git a/debian/changelog b/debian/changelog
index 7c6a99d28..374b70963 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+openbabel (3.2.0+dfsg-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Build python extensions for all supported python3 versions.
+
+ -- Maximiliano Curia <maxy@debian.org> Fri, 18 Sep 2026 10:20:00 +0200
+
openbabel (3.2.0+dfsg-1) unstable; urgency=medium
* Upload to unstable
diff --git a/debian/control b/debian/control
index 9be254797..3b4ae39d1 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Build-Depends: cmake,
libxml2-dev,
pkgconf,
python3-all,
- python3-dev,
+ python3-all-dev,
python3-setuptools,
rapidjson-dev,
swig,
diff --git a/debian/rules b/debian/rules
index 664aae696..902d39ba4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
--include /usr/share/python3/python.mk
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
DEB_BUILD_PARALLEL ?= $(shell guess_concurrency --require-mem 16G)
export PYBUILD_TEST_ARGS=-n $(DEB_BUILD_PARALLEL)
@@ -16,6 +17,7 @@ export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
DH_AUTO_CONFIGURE_OPTS := -DCMAKE_BUILD_TYPE=None \
-DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \
-DPYTHON_BINDINGS=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DPYTHON_INSTDIR=/usr/lib/python3/dist-packages \
-DPERL_BINDINGS=ON \
-DOBPERL_INSTALLDIRS=vendor \
-DRUN_SWIG=ON \
@@ -36,9 +38,26 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
make -C $(CURDIR)/builddir docs
+ mkdir -p $(CURDIR)/builddir/scripts
+ for pyversion in $(PYVERS); do \
+ pyinclude=$$(python$$pyversion -c "import sysconfig; print(sysconfig.get_path('include'))"); \
+ extsuffix=$$(python$$pyversion -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))"); \
+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -fPIC -shared \
+ -I$(CURDIR)/include -I$(CURDIR)/builddir/include -I/usr/include/eigen3 -I$$pyinclude \
+ -Wno-deprecated-declarations \
+ $(CURDIR)/scripts/python/openbabel/openbabel-python.cpp \
+ -o $(CURDIR)/builddir/scripts/_openbabel$$extsuffix \
+ $(LDFLAGS) -L$(CURDIR)/builddir/lib/$(DEB_HOST_MULTIARCH) -L$(CURDIR)/builddir/lib -lopenbabel; \
+ done
override_dh_auto_install:
dh_auto_install
+ rm -f $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/openbabel/_openbabel.so
+ for pyversion in $(PYVERS); do \
+ extsuffix=$$(python$$pyversion -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))"); \
+ install -m 0644 $(CURDIR)/builddir/scripts/_openbabel$$extsuffix \
+ $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/openbabel/; \
+ done
mkdir --parents $(CURDIR)/debian/tmp/$(PERL_ARCHLIB)
mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/auto debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/Chemistry \
$(CURDIR)/debian/tmp/$(PERL_ARCHLIB)
diff --git a/debian/tests/control b/debian/tests/control
index 9fd0b8bc5..316f90bc0 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,7 @@
Tests: python3
Depends:
@,
+ python3-all
Restrictions:
allow-stderr,
rw-build-tree,
diff --git a/debian/tests/python3 b/debian/tests/python3
index 823e85705..b9f2faf53 100644
--- a/debian/tests/python3
+++ b/debian/tests/python3
@@ -6,46 +6,48 @@ sed -i 's/"\.\."/"\/usr"/' test/testbabel.py
arch=$(dpkg --print-architecture)
fails=
-for TEST in test/test*.py
-do
- fail_on_failure=true
- case $TEST in
- test/testroundtrip.py)
- # timesout?
- echo "Skipping ${TEST} ..."
- continue;;
- test/testdistgeom.py)
- # timesout and exhausts memory
- echo "Skipping ${TEST} ..."
- continue;;
- test/testbindings.py)
- case "$arch" in
- amd64)
- true;;
- *)
- fail_on_failure=false;;
- esac;;
- test/testsym.py)
- # on most/all non-amd64 architecture it fails
- # if it finishes at all, it takes a very long time
- # on worker13, the test takes 1000 times longer than on other amd64 hosts
- echo "Skipping ${TEST} ..."
- continue;;
- test/testobconv_writers.py)
- case "$arch" in arm64|i386|ppc64el|s390x)
- fail_on_failure=false;;
- esac;;
- esac
- echo "Running ${TEST} ..."
- if python3 ${TEST}; then
- :
- else
- if [ $fail_on_failure = "false" ] ; then
- echo "Ignoring ${TEST} on $arch ..."
- else
- fails="$fails $TEST"
- fi
- fi
+for pyversion in $(py3versions -s); do
+ for TEST in test/test*.py
+ do
+ fail_on_failure=true
+ case $TEST in
+ test/testroundtrip.py)
+ # timesout?
+ echo "Skipping ${TEST} ..."
+ continue;;
+ test/testdistgeom.py)
+ # timesout and exhausts memory
+ echo "Skipping ${TEST} ..."
+ continue;;
+ test/testbindings.py)
+ case "$arch" in
+ amd64)
+ true;;
+ *)
+ fail_on_failure=false;;
+ esac;;
+ test/testsym.py)
+ # on most/all non-amd64 architecture it fails
+ # if it finishes at all, it takes a very long time
+ # on worker13, the test takes 1000 times longer than on other amd64 hosts
+ echo "Skipping ${TEST} ..."
+ continue;;
+ test/testobconv_writers.py)
+ case "$arch" in arm64|i386|ppc64el|s390x)
+ fail_on_failure=false;;
+ esac;;
+ esac
+ echo "Running ${TEST} with ${pyversion} ..."
+ if ${pyversion} ${TEST}; then
+ :
+ else
+ if [ $fail_on_failure = "false" ] ; then
+ echo "Ignoring ${TEST} on $arch with ${pyversion} ..."
+ else
+ fails="$fails ${TEST}(${pyversion})"
+ fi
+ fi
+ done
done
if [ -n "$fails" ]; then
--U65jIap5fPWeVf+W--
------------=_1793000222-1666218-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1148465-close) by bugs.debian.org; 26 Oct 2026 07:35:06 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,
MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 37; hammy, 150; neutral, 129; spammy,
0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:53320)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xLFEZ-006zBW-1w
for 1148465-close@bugs.debian.org;
Mon, 26 Oct 2026 07:35:06 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xLFEX-007b0Y-0c
for 1148465-close@bugs.debian.org;
Mon, 26 Oct 2026 07:35:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
:Content-Description:In-Reply-To:References;
bh=ymTPp9zWilWjcVgqwrLxf6va+pK+zoTIuwOV4PGLhXQ=; b=BB8Wk3sLDsuyWMuJWNwI1G1h4w
4/MCS3XKCWajy8MuFcHZOA/C/gSdql1jMYTrBUdYVzJ1n0sVbe1TNlSUNUavE/vkScMK/BoLDDPZw
qqOv5ERBBcgAi6RDhL2sVcuh/zrYrIpupLXCPtwigFOroN9BJi+4Kkwvhi0jtRUFyqY3l0UVCT4c9
blPK2m+Radb/A6FiHqZ7+6p00nuqwgO76LolRDkXsWp1n7o7lWloSxg+xcW94qaXId4LJmxYDMW14
qwofQIVMQJqSqG30l+n2KB9bX9vzu3QQ7CdrScNfVw+9+TXJB6mXfnkc5W3+Lt0k6wNdOtqh5geIf
2Upv7ivg==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xLFEW-0000000Dw79-04l2;
Mon, 26 Oct 2026 07:35:04 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Andrius Merkys <merkys@debian.org>
To: 1148465-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: openbabel
Debian: DAK
Debian-Changes: openbabel_3.2.0+dfsg-2_source.changes
Debian-Source: openbabel
Debian-Version: 3.2.0+dfsg-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1148465: fixed in openbabel 3.2.0+dfsg-2
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============1229780956881988091=="
Message-Id: <E1xLFEW-0000000Dw79-04l2@fasolo.debian.org>
Date: Mon, 26 Oct 2026 07:35:04 +0000
--===============1229780956881988091==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: openbabel
Source-Version: 3.2.0+dfsg-2
Done: Andrius Merkys <merkys@debian.org>
We believe that the bug you reported is fixed in the latest version of
openbabel, 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 1148465@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrius Merkys <merkys@debian.org> (supplier of updated openbabel 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 26 Oct 2026 03:11:19 -0400
Source: openbabel
Architecture: source
Version: 3.2.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <debichem-devel@lists.alioth.debian.org>
Changed-By: Andrius Merkys <merkys@debian.org>
Closes: 1148465
Changes:
openbabel (3.2.0+dfsg-2) unstable; urgency=3Dmedium
.
* Build python extensions for all supported python3 versions
(Closes: #1148465). Thanks Maximiliano Curia
Checksums-Sha1:
d79e8003e0d8454621fba67df3030c97e5acf176 2239 openbabel_3.2.0+dfsg-2.dsc
04133eb5b70a964fbae4b6f739a0230944314c10 20284 openbabel_3.2.0+dfsg-2.debian=
.tar.xz
a4fb30ea10c22ebac292f9ec2b8cfa579473f751 16103 openbabel_3.2.0+dfsg-2_source=
.buildinfo
Checksums-Sha256:
c91b842f4cfa350e8dadac94870f5cdf4f8c8143b7e4f8032f4906afbea67818 2239 openba=
bel_3.2.0+dfsg-2.dsc
353c2fce0191591e03130ae3e3f2a24c90192fb78225513853ede2503bd27699 20284 openb=
abel_3.2.0+dfsg-2.debian.tar.xz
6348e920992e1c5da0ba6fcc33566b2d4a1e5627ade04924842e05c2f8935646 16103 openb=
abel_3.2.0+dfsg-2_source.buildinfo
Files:
55cbacf4cf7b7d0d172a00bbc4b1fe3b 2239 science optional openbabel_3.2.0+dfsg-=
2.dsc
a2bf4ce06b5ad8b38e380099c10fa903 20284 science optional openbabel_3.2.0+dfsg=
-2.debian.tar.xz
10468d82a53cee45b067d5642525d1cd 16103 science optional openbabel_3.2.0+dfsg=
-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQ9mT++eHAQdiuDyvHYokBlilUePQUCat7+cAAKCRDYokBlilUe
PZEVAP9+sWOGGfEWpraEfWKrr/HnRaxeaFs0JbO6cBgSHVKqAAD/fQ1Zuhhd0n3C
EgUoLWVUGaXxvxdD27dOUUDvTcNoUAw=3D
=3D/+0B
-----END PGP SIGNATURE-----
--===============1229780956881988091==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCat8CpwAKCRCb9qggYcy5
IetzAP9q6VPwPMKpgCMhw8IC8LOwjwgXQu/HCHDcNeGIMBNn+AEA9Pl30Tb9BYyg
U7OABSEvfpLgEQUAQLClySmyVWoQpQg=
=fg5C
-----END PGP SIGNATURE-----
--===============1229780956881988091==--
------------=_1793000222-1666218-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads