diff --git a/.github/workflows/build_executable.yml b/.github/workflows/build_executable.yml index f02a3799..95e843a2 100644 --- a/.github/workflows/build_executable.yml +++ b/.github/workflows/build_executable.yml @@ -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 @@ -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 + diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e358e21a..0f73e262 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v2 @@ -41,7 +41,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v2 @@ -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 @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 94b0e82c..8876d8e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/gdbgui/VERSION.txt b/gdbgui/VERSION.txt index 3654b689..d453134b 100644 --- a/gdbgui/VERSION.txt +++ b/gdbgui/VERSION.txt @@ -1 +1 @@ -0.15.2.0 +0.15.3.0 diff --git a/make_executable.py b/make_executable.py index d8a0cdaf..7102384d 100644 --- a/make_executable.py +++ b/make_executable.py @@ -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', @@ -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__) diff --git a/noxfile.py b/noxfile.py index e9775506..0dc38e67 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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", @@ -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) @@ -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") diff --git a/requirements.txt b/requirements.txt index 22acd126..75892584 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.py b/setup.py index bb7a7a2f..dd582dc7 100644 --- a/setup.py +++ b/setup.py @@ -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",