Skip to content

Commit

Permalink
use eventlet server, werkzeug 2.1 compat (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism authored Jun 22, 2022
1 parent 799d340 commit 9be90ff
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# gdbgui release history

## 0.15.1.0

- Compatibility with Werkzeug 2.1. Use the eventlet server instead of
the Werkzeug development server.

## 0.15.0.1

This release has no changes to features or usability. The only change is to include a file used by other package maintainers.
Expand Down
1 change: 0 additions & 1 deletion gdbgui/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def run_server(
)

print("exit gdbgui by pressing CTRL+C")
os.environ["WERKZEUG_RUN_MAIN"] = "true"
try:
socketio.run(
app,
Expand Down
3 changes: 2 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Flask-SocketIO>5.1, <5.2
Flask-Compress>1.10, <1.11
pygdbmi>=0.10.0.0, <0.11
Pygments>=2.2.0, <3.0
Pygments>=2.2.0, <3.0
eventlet
10 changes: 9 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with python 3.9
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile requirements.in
Expand All @@ -10,6 +10,10 @@ brotli==1.0.9
# via flask-compress
click==8.0.1
# via flask
dnspython==2.2.1
# via eventlet
eventlet==0.33.0
# via -r requirements.in
flask==2.0.1
# via
# flask-compress
Expand All @@ -18,6 +22,8 @@ flask-compress==1.10.1
# via -r requirements.in
flask-socketio==5.1.1
# via -r requirements.in
greenlet==1.1.2
# via eventlet
itsdangerous==2.0.1
# via flask
jinja2==3.0.1
Expand All @@ -32,5 +38,7 @@ python-engineio==4.2.1
# via python-socketio
python-socketio==5.4.0
# via flask-socketio
six==1.16.0
# via eventlet
werkzeug==2.0.1
# via flask

0 comments on commit 9be90ff

Please sign in to comment.