Skip to content

Commit f40cbe3

Browse files
committed
browse tool: switch from PyInquirer to InquirerPy
It seems like PyInquirer does not work more often than not (e.g., importing the module fails). Since InquirerPy describes itself as `a re-implementation of the PyInquirer project, with bug fixes of known issues, new prompts, backward compatible APIs as well as more customisation options.`, let's use it instead. Signed-off-by: Andreas Lauser <[email protected]> Signed-off-by: Alexander Walz <[email protected]>
1 parent 08b4d95 commit f40cbe3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

odxtools/cli/browse.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55
from typing import List, Optional, Union
66

7-
import PyInquirer.prompt as PI_prompt
7+
from InquirerPy import prompt as PI_prompt
88
from tabulate import tabulate # TODO: switch to rich tables
99

1010
from ..database import Database

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dynamic = ["version"]
4949

5050
[project.optional-dependencies]
5151
browse-tool = [
52-
"PyInquirer >= 1.0",
52+
"InquirerPy >= 0.3.4",
5353
]
5454

5555
test = [

0 commit comments

Comments
 (0)