From a1d8399b5176fdff7e14368338fcd41d3a89f566 Mon Sep 17 00:00:00 2001 From: Lukas Hof Date: Thu, 9 Apr 2026 17:25:03 +0200 Subject: [PATCH 1/2] updating CI/workflow dependencies & testing for Py 3.14 --- .github/workflows/publish_to_pypi.yaml | 10 +++++----- .github/workflows/tests.yaml | 14 +++++++------- .gitlab-ci.yml | 6 +++--- pyproject.toml | 1 + 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/publish_to_pypi.yaml b/.github/workflows/publish_to_pypi.yaml index ea05c3a..40aad81 100644 --- a/.github/workflows/publish_to_pypi.yaml +++ b/.github/workflows/publish_to_pypi.yaml @@ -10,7 +10,7 @@ jobs: name: pypi steps: - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: install git lfs run: | @@ -22,9 +22,9 @@ jobs: git lfs pull - name: setup python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.14" - name: install build tools run: | @@ -35,7 +35,7 @@ jobs: python -m build - name: upload the package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: pyGCodeDecode-distributions path: ./dist/ @@ -54,7 +54,7 @@ jobs: steps: - name: Download build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: pyGCodeDecode-distributions path: dist/ diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b8b6074..043691f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - name: setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.14" - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: lint run: | @@ -26,13 +26,13 @@ jobs: strategy: matrix: os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.9", "3.10", "3.13"] + python-version: ["3.9", "3.10", "3.14"] steps: - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: setup python ${{ matrix.python-version }} on ${{ matrix.os }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -45,7 +45,7 @@ jobs: --cov-report xml:./tests/coverage.xml - name: upload coverage report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: coverage_report_${{ matrix.os }}_${{ matrix.python-version }} path: ./tests/coverage.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fbaef02..01d41d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: test-lint: stage: test - image: "python:3.13" + image: "python:3.14" needs: [] script: - pip install isort black[jupyter] flake8-docstrings @@ -18,7 +18,7 @@ test-package: needs: [] parallel: matrix: - - IMAGE: ["python:3.9", "python:3.10", "python:3.13"] + - IMAGE: ["python:3.9", "python:3.10", "python:3.14"] image: $IMAGE before_script: # missing dependencies for pyvista @@ -38,7 +38,7 @@ test-package: doc-build: stage: doc - image: "python:3.13" + image: "python:3.14" needs: [] rules: - if: $CI_COMMIT_BRANCH == "main" diff --git a/pyproject.toml b/pyproject.toml index 8f6f140..7fa87bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering", ] requires-python = ">=3.9" From a59aafc08dadd4778a1e0742a446b4794c61829e Mon Sep 17 00:00:00 2001 From: Lukas Hof Date: Thu, 9 Apr 2026 17:36:53 +0200 Subject: [PATCH 2/2] version bump to 1.4.3 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7fa87bb..b87eb62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ where = ["."] [project] name = "pyGCodeDecode" -version = "1.4.2" +version = "1.4.3" authors = [ { name = "FAST-LB at KIT", email = "lt-github@fast.kit.edu" }, { name = "Jonathan Knirsch", email = "jonathan.knirsch@student.kit.edu" },