Skip to content

Commit 773b916

Browse files
authored
use python 3.13 (#503)
1 parent be95217 commit 773b916

File tree

8 files changed

+49
-45
lines changed

8 files changed

+49
-45
lines changed

.github/workflows/build_executable.yml

Lines changed: 6 additions & 5 deletions
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.12"]
16+
python-version: ["3.13"]
1717
include:
1818
- os: ubuntu-latest
1919
buildname: linux
@@ -35,9 +35,10 @@ jobs:
3535
run: |
3636
nox --non-interactive --session build_executables_${{ matrix.buildname }}
3737
- name: Upload ${{ matrix.buildname }} executable
38-
# if: github.ref == 'refs/heads/master'
39-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
4039
with:
4140
name: gdbgui_${{ matrix.buildname }}
42-
path: |
43-
./build/executable
41+
path: ./build/executable
42+
if-no-files-found: error # Optional: warn, error, or ignore
43+
retention-days: 90 # Optional: 1-90 days, or repo default
44+

.github/workflows/tests.yml

Lines changed: 4 additions & 4 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.12"]
18+
python-version: ["3.13"]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
matrix:
4343
os: [ubuntu-latest]
44-
python-version: ["3.12"]
44+
python-version: ["3.13"]
4545

4646
steps:
4747
- uses: actions/checkout@v2
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set up Python
6565
uses: actions/setup-python@v2
6666
with:
67-
python-version: 3.9
67+
python-version: 3.13
6868
- name: Install dependencies
6969
run: |
7070
python -m pip install --upgrade pip
@@ -80,7 +80,7 @@ jobs:
8080
- name: Set up Python
8181
uses: actions/setup-python@v2
8282
with:
83-
python-version: "3.12"
83+
python-version: "3.13"
8484
- name: Install dependencies
8585
run: |
8686
python -m pip install --upgrade pip

CHANGELOG.md

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

3+
## 0.15.3.0
4+
- Update default python version to 3.13
5+
36
## 0.15.2.0
47
- Update default python version to 3.12
58
- utf-8 decode error bugfix

gdbgui/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.2.0
1+
0.15.3.0

make_executable.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def write_spec_with_gdbgui_version_in_name(spec_path, binary_name):
2626
pathex=['.'],
2727
binaries=[],
2828
datas=[
29-
('./gdbgui/static*', './static'),
30-
('./gdbgui/templates*', './templates'),
31-
('./gdbgui/VERSION.txt*', './')
29+
('./gdbgui/static/*', './static'),
30+
('./gdbgui/templates/*', './templates'),
31+
('./gdbgui/VERSION.txt', './')
3232
],
3333
hiddenimports=[
3434
'engineio.async_threading',
@@ -89,13 +89,15 @@ def main():
8989
binary_path = Path(distpath) / f"{binary_name}{extension}"
9090

9191
write_spec_with_gdbgui_version_in_name(spec_path, binary_name)
92+
cmd = [
93+
"pyinstaller",
94+
spec_path,
95+
"--distpath",
96+
distpath,
97+
]
98+
logging.info(f"Running command {' '.join(str(c) for c in cmd)}")
9299
subprocess.run(
93-
[
94-
"pyinstaller",
95-
spec_path,
96-
"--distpath",
97-
distpath,
98-
],
100+
cmd,
99101
check=True,
100102
)
101103
verify(binary_path, __version__)

noxfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
nox.options.reuse_existing_virtualenvs = True
1010
nox.options.sessions = ["tests", "lint", "docs"]
11-
python = ["3.12"]
11+
python_version = ["3.13"]
1212

1313
prettier_command = [
1414
"npx",
@@ -51,7 +51,7 @@ def js_tests(session):
5151
session.run("yarn", "build", external=True)
5252

5353

54-
@nox.session(reuse_venv=True, python=python)
54+
@nox.session(reuse_venv=True, python=python_version)
5555
def tests(session):
5656
python_tests(session)
5757
js_tests(session)
@@ -162,11 +162,11 @@ def publish_docs(session):
162162
session.run("mkdocs", "gh-deploy")
163163

164164

165-
@nox.session(reuse_venv=True, python="3.12")
165+
@nox.session(reuse_venv=True, python=python_version)
166166
def build_executables_current_platform(session):
167167
session.run("yarn", "install", external=True)
168168
session.run("yarn", "build", external=True)
169-
session.install(".", "PyInstaller==6.1")
169+
session.install(".", "PyInstaller==6.14")
170170
session.run("python", "make_executable.py")
171171
session.notify("build_pex")
172172

requirements.txt

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,53 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.14
33
# by the following command:
44
#
55
# pip-compile
66
#
7-
bidict==0.22.1
7+
bidict==0.23.1
88
# via python-socketio
9-
blinker==1.6.3
9+
blinker==1.9.0
1010
# via flask
1111
brotli==1.1.0
1212
# via flask-compress
13-
click==8.1.7
13+
click==8.2.1
1414
# via flask
15-
dnspython==2.4.2
15+
dnspython==2.7.0
1616
# via eventlet
17-
eventlet==0.33.3
17+
eventlet==0.40.1
1818
# via -r requirements.in
19-
flask==3.0.0
19+
flask==3.1.1
2020
# via
2121
# flask-compress
2222
# flask-socketio
2323
flask-compress==1.10.1
2424
# via -r requirements.in
25-
flask-socketio==5.3.6
25+
flask-socketio==5.5.1
2626
# via -r requirements.in
27-
greenlet==3.0.0
27+
greenlet==3.2.3
2828
# via eventlet
29-
h11==0.14.0
29+
h11==0.16.0
3030
# via wsproto
31-
itsdangerous==2.1.2
31+
itsdangerous==2.2.0
3232
# via flask
33-
jinja2==3.1.2
33+
jinja2==3.1.6
3434
# via flask
35-
markupsafe==2.1.3
35+
markupsafe==3.0.2
3636
# via
37+
# flask
3738
# jinja2
3839
# werkzeug
3940
pygdbmi==0.10.0.2
4041
# via -r requirements.in
41-
pygments==2.16.1
42+
pygments==2.19.2
4243
# via -r requirements.in
43-
python-engineio==4.8.0
44+
python-engineio==4.12.2
4445
# via python-socketio
45-
python-socketio==5.10.0
46+
python-socketio==5.13.0
4647
# via flask-socketio
47-
simple-websocket==1.0.0
48+
simple-websocket==1.1.0
4849
# via python-engineio
49-
six==1.16.0
50-
# via eventlet
51-
werkzeug==3.0.0
50+
werkzeug==3.1.3
5251
# via flask
5352
wsproto==1.2.0
5453
# via simple-websocket

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,10 @@
6767
"Operating System :: MacOS",
6868
"Operating System :: Unix",
6969
"Operating System :: POSIX",
70-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
7170
"Programming Language :: Python",
7271
"Programming Language :: Python :: 3",
7372
],
74-
python_requires=">=3.6",
73+
python_requires=">=3.13",
7574
project_urls={
7675
"Documentation": "https://cs01.github.io/gdbgui/",
7776
"Source Code": "https://github.com/cs01/gdbgui",

0 commit comments

Comments
 (0)