Control: tags -1 patch pending

[Previously sent to #1123335 in error.  Sigh.]

Dear maintainer,

I've prepared an NMU for textual (versioned as 2.1.2-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it.

I'm attaching the diff for form's sake, but the aforementioned merge request (https://salsa.debian.org/morph/textual/-/merge_requests/1) is probably more useful. (That MR also includes a follow-up commit to add a closes: tag to the changelog, which I forgot to add before running dput.)

Thanks,

--
Colin Watson (he/him)                              [[email protected]]
diffstat for textual-2.1.2 textual-2.1.2

 changelog                       |    7 +++++++
 control                         |    2 +-
 patches/pickle-style-meta.patch |   25 +++++++++++++++++++++++++
 patches/series                  |    1 +
 4 files changed, 34 insertions(+), 1 deletion(-)

diff -Nru textual-2.1.2/debian/changelog textual-2.1.2/debian/changelog
--- textual-2.1.2/debian/changelog	2025-03-16 21:27:22.000000000 +0000
+++ textual-2.1.2/debian/changelog	2026-01-19 11:09:00.000000000 +0000
@@ -1,3 +1,10 @@
+textual (2.1.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use pickle for style meta information to match rich 13.9.4-1.1.
+
+ -- Colin Watson <[email protected]>  Mon, 19 Jan 2026 11:09:00 +0000
+
 textual (2.1.2-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru textual-2.1.2/debian/control textual-2.1.2/debian/control
--- textual-2.1.2/debian/control	2025-03-16 21:27:22.000000000 +0000
+++ textual-2.1.2/debian/control	2026-01-12 11:38:17.000000000 +0000
@@ -12,7 +12,7 @@
                python3-pytest (>= 6.2.3) <!nocheck>,
                python3-pytest-asyncio <!nocheck>,
                python3-pytest-xdist <!nocheck>,
-               python3-rich (>= 10.7.0) <!nocheck>,
+               python3-rich (>= 13.9.4-1.1~) <!nocheck>,
                python3-syrupy <!nocheck>,
                python3-typing-extensions <!nocheck>,
 Standards-Version: 4.6.2
diff -Nru textual-2.1.2/debian/patches/pickle-style-meta.patch textual-2.1.2/debian/patches/pickle-style-meta.patch
--- textual-2.1.2/debian/patches/pickle-style-meta.patch	1970-01-01 01:00:00.000000000 +0100
+++ textual-2.1.2/debian/patches/pickle-style-meta.patch	2026-01-12 11:34:10.000000000 +0000
@@ -0,0 +1,25 @@
+From: Colin Watson <[email protected]>
+Date: Mon, 12 Jan 2026 11:18:22 +0000
+Subject: Use pickle for style meta information
+
+Backported from https://github.com/Textualize/textual/pull/6169; needed
+to match rich 14.2.0 / 13.9.4-1.1.
+
+Last-Update: 2026-01-12
+---
+ src/textual/style.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/textual/style.py b/src/textual/style.py
+index c96c9b7..7df24da 100644
+--- a/src/textual/style.py
++++ b/src/textual/style.py
+@@ -9,7 +9,7 @@ from __future__ import annotations
+ 
+ from dataclasses import dataclass
+ from functools import cached_property, lru_cache
+-from marshal import dumps, loads
++from pickle import dumps, loads
+ from typing import TYPE_CHECKING, Any, Iterable, Mapping
+ 
+ import rich.repr
diff -Nru textual-2.1.2/debian/patches/series textual-2.1.2/debian/patches/series
--- textual-2.1.2/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ textual-2.1.2/debian/patches/series	2026-01-12 11:18:29.000000000 +0000
@@ -0,0 +1 @@
+pickle-style-meta.patch

Reply via email to