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>
This commit is contained in:
Greg Baker 2023-10-17 22:36:11 -07:00 committed by GitHub
parent 93cb2e9ba1
commit eb5958948a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 21 deletions

View file

@ -1,3 +1,4 @@
[flake8]
max-line-length = 88
ignore = E501, E203, W503, E402, E231 # line length, whitespace before ':', line break before binary operator, module level import not at top of file
ignore = E501, E203, W503, E402, E231
# line length, whitespace before ':', line break before binary operator, module level import not at top of file

View file

@ -33,9 +33,8 @@ class Registers extends React.Component<{}, State> {
let cmds: any = [];
if (
[constants.inferior_states.paused, constants.inferior_states.running].indexOf(
// @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
store.get("inferior_program") > -1
)
store.get("inferior_program")
) == -1
) {
return cmds;
}

View file

@ -1,44 +1,48 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.in
#
bidict==0.21.2
bidict==0.22.1
# via python-socketio
blinker==1.6.2
# via flask
brotli==1.0.9
# via flask-compress
click==8.0.1
click==8.1.3
# via flask
dnspython==2.2.1
dnspython==2.3.0
# via eventlet
eventlet==0.33.0
eventlet==0.33.3
# via -r requirements.in
flask==2.0.1
flask==2.3.2
# via
# flask-compress
# flask-socketio
flask-compress==1.10.1
# via -r requirements.in
flask-socketio==5.1.1
flask-socketio==5.1.2
# via -r requirements.in
greenlet==1.1.2
greenlet==2.0.2
# via eventlet
itsdangerous==2.0.1
itsdangerous==2.1.2
# via flask
jinja2==3.0.1
jinja2==3.1.2
# via flask
markupsafe==2.0.1
# via jinja2
markupsafe==2.1.2
# via
# jinja2
# werkzeug
pygdbmi==0.10.0.2
# via -r requirements.in
pygments==2.10.0
pygments==2.15.1
# via -r requirements.in
python-engineio==4.2.1
python-engineio==4.4.1
# via python-socketio
python-socketio==5.4.0
python-socketio==5.8.0
# via flask-socketio
six==1.16.0
# via eventlet
werkzeug==2.0.1
werkzeug==2.3.4
# via flask