File: patch-out-python3-tomli.patch

package info (click to toggle)
python-bumble 0.0.225-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,536 kB
  • sloc: python: 75,258; java: 3,782; javascript: 823; xml: 203; sh: 172; makefile: 8
file content (33 lines) | stat: -rw-r--r-- 922 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
From: Alexandre Detiste <tchet@debian.org>
Date: Wed, 18 Feb 2026 10:52:54 +0100
X-Dgit-Generated: 0.0.225-2 fdc9ca0615303d5e8e90ac504c3e30751db8dfac
Subject: patch-out python3-tomli


---

diff --git a/apps/auracast.py b/apps/auracast.py
index 0a86b01..d4b4e8e 100644
--- a/apps/auracast.py
+++ b/apps/auracast.py
@@ -30,7 +30,7 @@ from typing import (
 )
 
 import click
-import tomli
+import tomllib as tomli
 
 try:
     import lc3  # type: ignore  # pylint: disable=E0401
diff --git a/pyproject.toml b/pyproject.toml
index 3100022..0aa4839 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -37,7 +37,6 @@ dependencies = [
     "pyserial-asyncio >= 0.5; platform_system!='Emscripten'",
     "pyserial >= 3.5; platform_system!='Emscripten'",
     "pyusb >= 1.2; platform_system!='Emscripten'",
-    "tomli ~= 2.2.1; platform_system!='Emscripten'",    
     "websockets >= 15.0.1; platform_system!='Emscripten'",
 ]