Skip to content

Commit eb59589

Browse files
gregbakercs01
andauthored
Fix register display and Python 3.11 compatibility (#463)
* fix register update condition * update dependencies for Python 3.11 compatibility * fix tests --------- Co-authored-by: Chad Smith <cs01@users.noreply.github.com>
1 parent 93cb2e9 commit eb59589

File tree

3 files changed

+25
-21
lines changed

3 files changed

+25
-21
lines changed

.flake8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[flake8]
22
max-line-length = 88
3-
ignore = E501, E203, W503, E402, E231 # line length, whitespace before ':', line break before binary operator, module level import not at top of file
3+
ignore = E501, E203, W503, E402, E231
4+
# line length, whitespace before ':', line break before binary operator, module level import not at top of file

gdbgui/src/js/Registers.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ class Registers extends React.Component<{}, State> {
3333
let cmds: any = [];
3434
if (
3535
[constants.inferior_states.paused, constants.inferior_states.running].indexOf(
36-
// @ts-expect-error ts-migrate(2345) FIXME: Argument of type 'boolean' is not assignable to pa... Remove this comment to see the full error message
37-
store.get("inferior_program") > -1
38-
)
36+
store.get("inferior_program")
37+
) == -1
3938
) {
4039
return cmds;
4140
}

requirements.txt

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,48 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.10
3-
# To update, run:
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
44
#
55
# pip-compile requirements.in
66
#
7-
bidict==0.21.2
7+
bidict==0.22.1
88
# via python-socketio
9+
blinker==1.6.2
10+
# via flask
911
brotli==1.0.9
1012
# via flask-compress
11-
click==8.0.1
13+
click==8.1.3
1214
# via flask
13-
dnspython==2.2.1
15+
dnspython==2.3.0
1416
# via eventlet
15-
eventlet==0.33.0
17+
eventlet==0.33.3
1618
# via -r requirements.in
17-
flask==2.0.1
19+
flask==2.3.2
1820
# via
1921
# flask-compress
2022
# flask-socketio
2123
flask-compress==1.10.1
2224
# via -r requirements.in
23-
flask-socketio==5.1.1
25+
flask-socketio==5.1.2
2426
# via -r requirements.in
25-
greenlet==1.1.2
27+
greenlet==2.0.2
2628
# via eventlet
27-
itsdangerous==2.0.1
29+
itsdangerous==2.1.2
2830
# via flask
29-
jinja2==3.0.1
31+
jinja2==3.1.2
3032
# via flask
31-
markupsafe==2.0.1
32-
# via jinja2
33+
markupsafe==2.1.2
34+
# via
35+
# jinja2
36+
# werkzeug
3337
pygdbmi==0.10.0.2
3438
# via -r requirements.in
35-
pygments==2.10.0
39+
pygments==2.15.1
3640
# via -r requirements.in
37-
python-engineio==4.2.1
41+
python-engineio==4.4.1
3842
# via python-socketio
39-
python-socketio==5.4.0
43+
python-socketio==5.8.0
4044
# via flask-socketio
4145
six==1.16.0
4246
# via eventlet
43-
werkzeug==2.0.1
47+
werkzeug==2.3.4
4448
# via flask

0 commit comments

Comments
 (0)