Skip to content

Commit 0e636d5

Browse files
authored
update dependencies, support Python 3.9 (#400)
1 parent c1f337d commit 0e636d5

22 files changed

+1185
-1038
lines changed

.github/workflows/build_executable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest]
16-
python-version: [3.8]
16+
python-version: [3.9]
1717
include:
1818
- os: ubuntu-latest
1919
buildname: linux

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest]
18-
python-version: [3.6, 3.7, 3.8]
18+
python-version: [3.9]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -41,7 +41,7 @@ jobs:
4141
- name: Set up Python
4242
uses: actions/setup-python@v2
4343
with:
44-
python-version: 3.8
44+
python-version: 3.9
4545
- name: Install dependencies
4646
run: |
4747
python -m pip install --upgrade pip
@@ -57,7 +57,7 @@ jobs:
5757
- name: Set up Python
5858
uses: actions/setup-python@v2
5959
with:
60-
python-version: 3.8
60+
python-version: 3.9
6161
- name: Install dependencies
6262
run: |
6363
python -m pip install --upgrade pip

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ build
55
executable
66
.DS_Store
77
*.a.dSYM
8-
gdbgui.spec
8+
gdbgui_pyinstaller.spec
99
*-link
1010
*-link.c
1111
*-link.dSYM
1212
*.pyc
1313
yarn-error.log
1414
venv
15-
.vscode
1615
site
1716
gdbgui/static/js/*
1817
__pycache__

.vscode/settings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"python.formatting.provider": "black",
3+
"[python]": {
4+
"editor.formatOnSave": true
5+
},
6+
"[json]": {
7+
"editor.formatOnSave": true
8+
},
9+
"files.associations": {
10+
"*.spec": "python"
11+
}
12+
}

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# gdbgui release history
22

3+
## 0.15.0.0
4+
5+
No new features, just bugfixes and compatibility fixes
6+
7+
- Support only Python 3.9 (though other Python versions may work)
8+
- Use only the threading async model for flask-socketio. No longer support gevent or eventlet.
9+
- [bugfix] Catch exception if gdb used in tty window crashes instead of gdbgui crashing along with it
10+
- Disable pagination in gdb ttyy by default. It can be turned back on with `set pagination off`.
11+
- Upgrade various dependencies for both the backend and frontend (Python and JavaScript)
12+
313
## 0.14.0.2
414

515
- Pinned python-socketio version

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ graft gdbgui
88
graft gdbgui/static/js
99

1010
prune examples
11+
prune .vscode
1112
prune downloads
1213
prune screenshots
1314
prune tests
1415
prune docs
1516
prune docker
1617
prune images
1718
prune gdbgui/__pycache__
19+
prune gdbgui/server/__pycache__
20+
prune gdbgui/src/
1821

1922
exclude mypy.ini
2023
exclude .eslintrc.json
@@ -26,6 +29,7 @@ exclude jest.config.js
2629
exclude make_executable.py
2730
exclude mkdocs.yml
2831
exclude package.json
32+
exclude requirements.in
2933
exclude requirements.txt
3034
exclude tsconfig.json
3135
exclude tslint.json

docs/contact.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* Twitter: @grassfedcode
2-
1+

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ gdbgui is distributed through
8585

8686
## Contact
8787

88-
grassfedcode@gmail.com
88+
chadsmith.software@gmail.com

gdbgui/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.14.0.2
1+
0.15.0.0

gdbgui/cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121

2222

2323
logger = logging.getLogger(__name__)
24-
logger.setLevel(logging.WARNING)
25-
logging.basicConfig(format="(%(asctime)s) %(msg)s")
24+
logging.getLogger("werkzeug").setLevel(logging.ERROR)
2625

2726

2827
def get_gdbgui_auth_user_credentials(auth_file, user, password):
@@ -245,6 +244,8 @@ def main():
245244
"and https://sourceware.org/gdb/onlinedocs/gdb/Starting.html"
246245
)
247246

247+
logger.setLevel(logging.DEBUG if args.debug else logging.INFO)
248+
248249
run_server(
249250
app=app,
250251
socketio=socketio,

0 commit comments

Comments
 (0)