Make sure autopkgtest also passes with Python3.12
authorAndreas Tille <tille@debian.org>
Wed, 14 Feb 2024 20:07:22 +0000 (21:07 +0100)
committerAndreas Tille <tille@debian.org>
Wed, 14 Feb 2024 20:07:22 +0000 (21:07 +0100)
debian/changelog
debian/patches/python3.12.patch [new file with mode: 0644]
debian/patches/series

index d52c3ea2fdb3a9dbd92efb4c2eeb95c2f16f9af5..ffb4a672e36f9691b95cea28111fb33a0b80a509 100644 (file)
@@ -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 <tille@debian.org>  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 (file)
index 0000000..e648036
--- /dev/null
@@ -0,0 +1,14 @@
+Description: Make sure autopkgtest also passes with Python3.12
+Bug-Debian: https://bugs.debian.org/1061810
+Author: Andreas Tille <tille@debian.org>
+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
index 38edaa760bfde13f7ee93259fbfe1b27df56ca89..24e4f6421d5d938f503497df9104fe418f5ba713 100644 (file)
@@ -1 +1,2 @@
 spelling-errors.patch
+python3.12.patch