Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to, depend on urwid 2.4 #627

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pudb/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,9 @@ def runcall(self, *args, **kwargs):
curses = None


from urwid.raw_display import Screen as RawScreen
from urwid.display.raw import Screen as RawScreen
try:
from urwid.curses_display import Screen as CursesScreen
from urwid.display.curses import Screen as CursesScreen
except ImportError:
CursesScreen = None

Expand Down
2 changes: 1 addition & 1 deletion pudb/ui_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def text_width(txt):


def encode_like_urwid(s):
from urwid import escape
from urwid.display import escape
from urwid.util import _target_encoding

# Consistent with
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
author_email="inform@tiker.net",
python_requires="~=3.8",
install_requires=[
"urwid>=1.1.1",
"urwid>=2.4",
"pygments>=2.7.4",
"jedi>=0.18,<1",
"urwid_readline",
Expand Down