From: Andreas Tille Date: Wed, 14 Feb 2024 20:07:22 +0000 (+0100) Subject: Make sure autopkgtest also passes with Python3.12 X-Git-Tag: archive/raspbian/8.0.3-2+rpi1^2^2^2~12^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c02cad2dc5ad08740a863e60134521876eb09d75;p=mathgl.git Make sure autopkgtest also passes with Python3.12 --- diff --git a/debian/changelog b/debian/changelog index d52c3ea..ffb4a67 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ mathgl (8.0.1-6) UNRELEASED; urgency=medium * Team upload. * Run autopkgtest with all supported Python3 versions + * Make sure autopkgtest also passes with Python3.12 + Closes: #1061810 -- Andreas Tille Wed, 14 Feb 2024 12:02:47 +0100 diff --git a/debian/patches/python3.12.patch b/debian/patches/python3.12.patch new file mode 100644 index 0000000..e648036 --- /dev/null +++ b/debian/patches/python3.12.patch @@ -0,0 +1,14 @@ +Description: Make sure autopkgtest also passes with Python3.12 +Bug-Debian: https://bugs.debian.org/1061810 +Author: Andreas Tille +Last-Update: Wed, 14 Feb 2024 12:02:47 +0100 + +--- a/examples/test.py ++++ b/examples/test.py +@@ -12,5 +12,5 @@ gr.Light(True) # enable lighting + gr.Surf(dat) # plot surface + gr.Cont(dat,"y") # plot yellow contour lines + gr.Axis() # draw axis +-gr.Puts(mglPoint(1,1,1.2),"\i f = \dfrac{1}{1+(5x-5)^2+(5y-5)^2}") ++gr.Puts(mglPoint(1,1,1.2),r"\i f = \dfrac{1}{1+(5x-5)^2+(5y-5)^2}") + gr.WriteFrame("sample.png") # save it diff --git a/debian/patches/series b/debian/patches/series index 38edaa7..24e4f64 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ spelling-errors.patch +python3.12.patch