Your message dated Fri, 05 Apr 2024 07:04:41 +0000
with message-id <e1rsdcv-00dcoy...@fasolo.debian.org>
and subject line Bug#1068428: fixed in pyode 1.2.0.dev15-5
has caused the Debian Bug report #1068428,
regarding pyode: python3-pyode is empty
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 ow...@bugs.debian.org
immediately.)
--
1068428: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068428
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pyode
Version: 1.2.0.dev15-4
Severity: grave
Tags: patch
Justification: renders package unusable
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
X-Debbugs-Cc: bdr...@debian.org
Dear Maintainer,
the python3-pyode package is empty, because it silently fails to build
with Cython 3.
In Ubuntu, the attached patch was applied to achieve the following:
* Add support for Cython 3 to fix building the Python module.
Thanks for considering the patch.
--
Benjamin Drung
Debian & Ubuntu Developer
diff -Nru pyode-1.2.0.dev15/debian/patches/Add-support-for-Cython-3.patch
pyode-1.2.0.dev15/debian/patches/Add-support-for-Cython-3.patch
--- pyode-1.2.0.dev15/debian/patches/Add-support-for-Cython-3.patch
1970-01-01 01:00:00.000000000 +0100
+++ pyode-1.2.0.dev15/debian/patches/Add-support-for-Cython-3.patch
2024-04-05 02:21:29.000000000 +0200
@@ -0,0 +1,35 @@
+From: Benjamin Drung <benjamin.dr...@canonical.com>
+Date: Fri, 5 Apr 2024 02:21:21 +0200
+Subject: Add support for Cython 3
+
+See
https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html
+
+Signed-off-by: Benjamin Drung <benjamin.dr...@canonical.com>
+---
+ src/declarations.pyx | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/declarations.pyx b/src/declarations.pyx
+index b69a0e1..f274ad6 100755
+--- a/src/declarations.pyx
++++ b/src/declarations.pyx
+@@ -80,8 +80,8 @@ cdef extern from "ode/ode.h":
+ dVector3 f2
+ dVector3 t2
+
+- ctypedef void dNearCallback(void* data, dGeomID o1, dGeomID o2)
+- ctypedef dReal dHeightfieldGetHeight( void* p_user_data, int x, int z )
++ ctypedef void dNearCallback(void* data, dGeomID o1, dGeomID o2) except *
++ ctypedef dReal dHeightfieldGetHeight( void* p_user_data, int x, int z )
except *
+
+ ctypedef void dGetAABBFn (dGeomID, dReal aabb[6])
+ ctypedef int dColliderFn (dGeomID o1, dGeomID o2, int flags, dContactGeom
*contact, int skip)
+@@ -322,7 +322,7 @@ cdef extern from "ode/ode.h":
+ void dBodySetGravityMode (dBodyID b, int mode)
+ int dBodyGetGravityMode (dBodyID b)
+
+- void dBodySetMovedCallback(dBodyID b, void (*callback)(dBodyID))
++ void dBodySetMovedCallback(dBodyID b, void (*callback)(dBodyID) except *)
+
+ dGeomID dBodyGetFirstGeom (dBodyID b)
+ dGeomID dBodyGetNextGeom (dGeomID g)
diff -Nru pyode-1.2.0.dev15/debian/patches/series
pyode-1.2.0.dev15/debian/patches/series
--- pyode-1.2.0.dev15/debian/patches/series 2021-11-10 19:39:19.000000000
+0100
+++ pyode-1.2.0.dev15/debian/patches/series 2024-04-05 02:21:29.000000000
+0200
@@ -1,3 +1,4 @@
01_fix_setup.patch
02_add_shebang.patch
03_spellings.patch
+Add-support-for-Cython-3.patch
--- End Message ---
--- Begin Message ---
Source: pyode
Source-Version: 1.2.0.dev15-5
Done: Andreas Tille <ti...@debian.org>
We believe that the bug you reported is fixed in the latest version of
pyode, 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 1068...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated pyode 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 05 Apr 2024 08:43:30 +0200
Source: pyode
Architecture: source
Version: 1.2.0.dev15-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 1068428
Changes:
pyode (1.2.0.dev15-5) unstable; urgency=medium
.
* Team upload.
.
[ Benjamin Drung ]
* Add support for Cython 3
Closes: #1068428
.
[ Andreas Tille ]
* Standards-Version: 4.6.2 (routine-update)
* Remove trailing whitespace in debian/changelog (routine-update)
* Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
Checksums-Sha1:
cccbcd44ca2194b8a4f29d74cd87bb345fed70cb 2273 pyode_1.2.0.dev15-5.dsc
bbc4e9b0e4894231a7fdfc7dab630147b6e7fd62 6932 pyode_1.2.0.dev15-5.debian.tar.xz
78c306505a0ec83cb348a93701ba7dc91ece2772 7939
pyode_1.2.0.dev15-5_amd64.buildinfo
Checksums-Sha256:
129685b174952b12a2051d342de00c5caa207246f482201e87fd4e97b0d306ca 2273
pyode_1.2.0.dev15-5.dsc
d904e81ab2dcecb74a2a1f4466cce724be129eef065d33239db023d9254ee459 6932
pyode_1.2.0.dev15-5.debian.tar.xz
087ce761387c69e24148d29a4007eb799265fe401dc31a2c675fa5e97804b8ca 7939
pyode_1.2.0.dev15-5_amd64.buildinfo
Files:
c4375f44020174ed9254508b68e0aee4 2273 python optional pyode_1.2.0.dev15-5.dsc
6b0d412d9a40d27a380cae1749bd5e6b 6932 python optional
pyode_1.2.0.dev15-5.debian.tar.xz
f9cbc795bb67a582916146d3b345c7e6 7939 python optional
pyode_1.2.0.dev15-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmYPnpQRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFuIg/+Pyjt6i1uouqSYmOAcmZaO7s97wtz+VCN
dLVc02HWlKy+Wm6iOBEFoi5lmjTOl54opFirlU4wBeGVdut3FN89n4xs19C9BZa8
Jth0POQjP3u3Z4EnrsNHOCyH7n+AjeFaMCWhFRQXJYzj1Fp48+gUVrLU8f0pER/t
tLVjR+oQ1QjhlOg6sql+awMF+fU/96kYz84Ked2kmR5SFsZj8IbjsUD04mZJ0w15
MRlV0In7WZa7ylGThXdffw7VWsKkzska6m5RHAN0JvPquu/Pt4SA6K+t9a6m7UQ6
ekFlLvIl4t+K1xfK1WzJyl8zPywsfnNSLq+hgcH+c+lL1GPwiajjv38f5mydLW8z
T9UVz38gCQWfJEho3GCYhIu+um71nxd41ja4iFij0kBPBKLAuZ/1OklHFsIx6CFp
0tWF3IVD8EYMPD031la81EtVWP1s6Si59L3NVKj+qyux77Jk06bEwAT07uTzg/id
/cvP0sxYgTUFAFfSAKokBvZKjqC3XkAMNxRDdDHMD46tC+kjj/TyX4/9+HkMVupo
d+8lPXoulf994gtMJq0a6vXDGYy6E+1JqGJR5/efvSW1noKFFZ3w3Osxa2TZV22/
PGN0RF871ATBypjonEencMNaspaEPW5/OnRLupRthRaM89ZFVQm3dzi3matrSQWD
hXoI4S0BHA8=
=gTFB
-----END PGP SIGNATURE-----
pgp1_APeRAfuj.pgp
Description: PGP signature
--- End Message ---