File: 0001-Replace-blessings-with-blessed.patch

package info (click to toggle)
python-invocations 4.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 620 kB
  • sloc: python: 2,262; makefile: 3
file content (38 lines) | stat: -rw-r--r-- 1,327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: Alexandre Detiste <tchet@debian.org>
Date: Tue, 3 Mar 2026 10:50:04 -0300
Subject: Replace blessings with blessed

blessed is an API-compatible fork of blessings.

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
---
 invocations/packaging/release.py | 2 +-
 pyproject.toml                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/invocations/packaging/release.py b/invocations/packaging/release.py
index 24e3399..f0a1046 100644
--- a/invocations/packaging/release.py
+++ b/invocations/packaging/release.py
@@ -21,7 +21,7 @@ from typing import Union
 from build._builder import _read_pyproject_toml
 from invoke.vendor.lexicon import Lexicon
 
-from blessings import Terminal
+from blessed import Terminal
 from docutils.utils import Reporter
 from enum import Enum
 from invoke import Collection, task, Exit
diff --git a/pyproject.toml b/pyproject.toml
index 313ca3b..463ff6b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -16,7 +16,7 @@ dependencies = [
     # time if missing), but that got hairy fast, and these are all
     # pure-Python packages, so it shouldn't be a huge burden for users to
     # obtain them.
-    "blessings>=1.6",
+    "blessed>=1.6",
     "build>=1.3",
     # For envs that don't actually have pip - we use some of its tooling atm.
     "pip~=25.2",