From 012a68b120ca414e6c9f7c544b500f9ecd1c0f87 Mon Sep 17 00:00:00 2001 From: Woomymy Date: Wed, 1 Nov 2023 15:48:15 +0100 Subject: [PATCH] ui: Replace PyInquirer with InquirerPy * PyInquirer is no longer maintained and doesn't support py 3.10+ Change-Id: I7bea484c057b64967357b86acbc0d0d1b3d98d07 Signed-off-by: Woomymy --- requirements.txt | 3 +-- usrlock/main.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index ca91147..a70fcb6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ adb==1.3.0 lxml==4.4.1 -prompt_toolkit==1.0.14 pychalk==2.0.1 -PyInquirer==1.0.3 pyserial==3.4 +inquirerpy==0.3.4 diff --git a/usrlock/main.py b/usrlock/main.py index dc1792d..f9a6dfd 100644 --- a/usrlock/main.py +++ b/usrlock/main.py @@ -5,8 +5,8 @@ import json import hashlib from os import path from glob import glob -from PyInquirer import prompt from . import ui +from InquirerPy import prompt try: from . import imageflasher, fastboot