From 6e27edc4ed71d15af034fd21f299c0994a99933c Mon Sep 17 00:00:00 2001 From: Thomaz Date: Wed, 27 May 2026 17:46:36 -0700 Subject: [PATCH 1/4] Github actions test changes --- .github/workflows/main.yml | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 945a89d..dc86993 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,6 @@ name: Test Matrix on: - #push: - #branches: [ "*" ] pull_request: branches: [ "master" ] workflow_dispatch: @@ -13,10 +11,9 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] platform: - ubuntu-latest - - macos-latest continue-on-error: ${{ matrix.python-version == '3.6' }} steps: @@ -28,8 +25,34 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - # python -m pip install flake8 pytest ruff black - # todo: can pip install requirements from pyproject.toml? + pip install -r tests/requirements.txt + - name: Test with pytest + run: | + pytest + +# For Mac & Windows with aggressive updates... +# leaning towards removing Python versions ~1year away from EOL +# and adding versions ~6months after release +# Using https://devguide.python.org/versions/ as the guide + + test-mac: + runs-on: ${{ matrix.platform }} + strategy: + fail-fast: true + matrix: + python-version: ["3.12", "3.13", "3.14"] + platform: + - macos-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip pip install -r tests/requirements.txt - name: Test with pytest run: | @@ -41,8 +64,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - continue-on-error: ${{ matrix.python-version == '3.6' }} + python-version: ["3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v3 From 68f3eb4a43347ffbc9c0d80bb15531cbcdac4cdf Mon Sep 17 00:00:00 2001 From: Thomaz Date: Wed, 27 May 2026 17:57:06 -0700 Subject: [PATCH 2/4] Explicit old Python version --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc86993..0e0c61c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,8 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json + python-version: ["3.7.17", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] platform: - ubuntu-latest continue-on-error: ${{ matrix.python-version == '3.6' }} From d9c375ded1a78df02540b6efef331861ae2b552e Mon Sep 17 00:00:00 2001 From: Thomaz Date: Wed, 27 May 2026 18:03:37 -0700 Subject: [PATCH 3/4] Github actions Python 3.13 3.14 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e0c61c..d4e921b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: fail-fast: true matrix: # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json - python-version: ["3.7.17", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] platform: - ubuntu-latest continue-on-error: ${{ matrix.python-version == '3.6' }} From 3622d42bb8be0d21e65abce2eca29222060152ed Mon Sep 17 00:00:00 2001 From: Thomaz Date: Thu, 4 Jun 2026 17:51:23 -0700 Subject: [PATCH 4/4] v0.14.2 --- CHANGELOG.md | 4 ++++ pyproject.toml | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fdcb7c..910df07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +## 0.14.2 (2024-06-04) +- [BUG] Fix GMC-800 history flash size #134 @anatoly-scherbakov +- Added Python 3.13 & 3.14 (pi) as supported version on PyPi + ## 0.14.1 (2024-09-12) - Added model & firmware revision (from device version) to device Discovery - [BUG] History Parser can now handle 3 and 4 byte counts. diff --git a/pyproject.toml b/pyproject.toml index c9b3528..b7066c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pygmc" -version = "0.14.1" +version = "0.14.2" authors = [ {name = "Thomaz"}, ] @@ -18,6 +18,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics", "Topic :: System :: Hardware :: Universal Serial Bus (USB)",