Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/build_executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.12"]
python-version: ["3.13"]
include:
- os: ubuntu-latest
buildname: linux
Expand All @@ -35,9 +35,10 @@ jobs:
run: |
nox --non-interactive --session build_executables_${{ matrix.buildname }}
- name: Upload ${{ matrix.buildname }} executable
# if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: gdbgui_${{ matrix.buildname }}
path: |
./build/executable
path: ./build/executable
if-no-files-found: error # Optional: warn, error, or ignore
retention-days: 90 # Optional: 1-90 days, or repo default

8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.13"]

steps:
- uses: actions/checkout@v2
Expand All @@ -41,7 +41,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.13"]

steps:
- uses: actions/checkout@v2
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12"
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# gdbgui release history

## 0.15.3.0
- Update default python version to 3.13

## 0.15.2.0
- Update default python version to 3.12
- utf-8 decode error bugfix
Expand Down
2 changes: 1 addition & 1 deletion gdbgui/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.2.0
0.15.3.0
20 changes: 11 additions & 9 deletions make_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def write_spec_with_gdbgui_version_in_name(spec_path, binary_name):
pathex=['.'],
binaries=[],
datas=[
('./gdbgui/static*', './static'),
('./gdbgui/templates*', './templates'),
('./gdbgui/VERSION.txt*', './')
('./gdbgui/static/*', './static'),
('./gdbgui/templates/*', './templates'),
('./gdbgui/VERSION.txt', './')
],
hiddenimports=[
'engineio.async_threading',
Expand Down Expand Up @@ -89,13 +89,15 @@ def main():
binary_path = Path(distpath) / f"{binary_name}{extension}"

write_spec_with_gdbgui_version_in_name(spec_path, binary_name)
cmd = [
"pyinstaller",
spec_path,
"--distpath",
distpath,
]
logging.info(f"Running command {' '.join(str(c) for c in cmd)}")
subprocess.run(
[
"pyinstaller",
spec_path,
"--distpath",
distpath,
],
cmd,
check=True,
)
verify(binary_path, __version__)
Expand Down
8 changes: 4 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

nox.options.reuse_existing_virtualenvs = True
nox.options.sessions = ["tests", "lint", "docs"]
python = ["3.12"]
python_version = ["3.13"]

prettier_command = [
"npx",
Expand Down Expand Up @@ -51,7 +51,7 @@ def js_tests(session):
session.run("yarn", "build", external=True)


@nox.session(reuse_venv=True, python=python)
@nox.session(reuse_venv=True, python=python_version)
def tests(session):
python_tests(session)
js_tests(session)
Expand Down Expand Up @@ -162,11 +162,11 @@ def publish_docs(session):
session.run("mkdocs", "gh-deploy")


@nox.session(reuse_venv=True, python="3.12")
@nox.session(reuse_venv=True, python=python_version)
def build_executables_current_platform(session):
session.run("yarn", "install", external=True)
session.run("yarn", "build", external=True)
session.install(".", "PyInstaller==6.1")
session.install(".", "PyInstaller==6.14")
session.run("python", "make_executable.py")
session.notify("build_pex")

Expand Down
39 changes: 19 additions & 20 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,54 +1,53 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.14
# by the following command:
#
# pip-compile
#
bidict==0.22.1
bidict==0.23.1
# via python-socketio
blinker==1.6.3
blinker==1.9.0
# via flask
brotli==1.1.0
# via flask-compress
click==8.1.7
click==8.2.1
# via flask
dnspython==2.4.2
dnspython==2.7.0
# via eventlet
eventlet==0.33.3
eventlet==0.40.1
# via -r requirements.in
flask==3.0.0
flask==3.1.1
# via
# flask-compress
# flask-socketio
flask-compress==1.10.1
# via -r requirements.in
flask-socketio==5.3.6
flask-socketio==5.5.1
# via -r requirements.in
greenlet==3.0.0
greenlet==3.2.3
# via eventlet
h11==0.14.0
h11==0.16.0
# via wsproto
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
jinja2==3.1.6
# via flask
markupsafe==2.1.3
markupsafe==3.0.2
# via
# flask
# jinja2
# werkzeug
pygdbmi==0.10.0.2
# via -r requirements.in
pygments==2.16.1
pygments==2.19.2
# via -r requirements.in
python-engineio==4.8.0
python-engineio==4.12.2
# via python-socketio
python-socketio==5.10.0
python-socketio==5.13.0
# via flask-socketio
simple-websocket==1.0.0
simple-websocket==1.1.0
# via python-engineio
six==1.16.0
# via eventlet
werkzeug==3.0.0
werkzeug==3.1.3
# via flask
wsproto==1.2.0
# via simple-websocket
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@
"Operating System :: MacOS",
"Operating System :: Unix",
"Operating System :: POSIX",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
python_requires=">=3.6",
python_requires=">=3.13",
project_urls={
"Documentation": "https://cs01.github.io/gdbgui/",
"Source Code": "https://github.com/cs01/gdbgui",
Expand Down