From fa97c2b0a863a3dbbe58d296337a705808d74e94 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Oct 2026 15:24:48 +0000 Subject: [PATCH 1/4] Consolidate dependency and action version bumps Co-authored-by: ericspod <17726042+ericspod@users.noreply.github.com> --- .github/workflows/pythonapp.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .pre-commit-config.yaml | 12 ++++++------ plugins/ohifv3/modes/monai-label/package.json | 2 +- requirements.txt | 12 ++++++------ 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 3e3da9fca..876e78b83 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -105,7 +105,7 @@ jobs: run: | echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT - name: cache for pip - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache with: path: | @@ -164,7 +164,7 @@ jobs: run: | echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT - name: cache for pip - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache with: path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3ce29fa2..2631521ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: with: python-version: 3.10 - name: Cache for pip - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache with: path: | @@ -82,7 +82,7 @@ jobs: shell: bash - name: Upload artifacts - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: dist path: dist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 995e66725..3e96c3321 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,40 +33,40 @@ repos: - id: mixed-line-ending - repo: https://github.com/pycqa/isort - rev: 6.1.0 + rev: 9.0.2 hooks: - id: isort name: isort (python) args: ["--line-length=120", "--profile=black"] - repo: https://github.com/pycqa/isort - rev: 6.1.0 + rev: 9.0.2 hooks: - id: isort name: isort (python) (check) args: ["--line-length=120", "--profile=black", "--check"] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.9.0 + rev: 26.10.0 hooks: - id: black args: ["--line-length=120"] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.9.0 + rev: 26.10.0 hooks: - id: black name: black (check) args: ["--line-length=120", "--check"] - repo: https://github.com/PyCQA/flake8 - rev: 7.3.0 + rev: 7.4.1 hooks: - id: flake8 args: ["--count", "--statistics", "--config=setup.cfg"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v2.4.0 hooks: - id: mypy exclude: (^tests/|^plugins/) diff --git a/plugins/ohifv3/modes/monai-label/package.json b/plugins/ohifv3/modes/monai-label/package.json index efb619015..0fed81295 100644 --- a/plugins/ohifv3/modes/monai-label/package.json +++ b/plugins/ohifv3/modes/monai-label/package.json @@ -63,7 +63,7 @@ "dotenv": "^14.1.0", "eslint": "^8.39.0", "eslint-loader": "^2.0.0", - "webpack": "5.95.0", + "webpack": "5.104.1", "webpack-cli": "^4.7.2", "webpack-merge": "^5.7.3" } diff --git a/requirements.txt b/requirements.txt index 137703594..9daf93f5b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ pydantic==2.7.0 pydantic-settings==2.2.1 python-dotenv==1.0.1 fastapi==0.110.2 -python-multipart==0.0.18 +python-multipart==0.0.22 httpx==0.27.0 schedule==1.2.1 dicomweb-client[gcp]==0.59.1 @@ -24,7 +24,7 @@ expiringdict==1.2.2 expiring_dict==1.1.0 cachetools==5.3.3 watchdog==4.0.0 -pydicom==3.0.1 +pydicom==3.0.2 highdicom==0.26.1 pynetdicom==2.0.2 pynrrd==1.1.3 @@ -38,14 +38,14 @@ girder-client==3.2.3 ninja==1.11.1.1 einops==0.7.0 pyyaml==6.0.1 -filelock==3.20.1 +filelock==3.20.3 passlib==1.7.4 -pyjwt==2.8.0 +pyjwt==2.12.0 bcrypt==4.1.2 shapely==2.0.4 -requests==2.32.4 +requests==2.33.0 requests-toolbelt==1.0.0 -urllib3==2.6.0 +urllib3==2.6.3 scikit-learn scipy google-auth==2.29.0 From f9c2b82e3204853c3b89020454fa4895f83c3d2a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 15:33:59 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- plugins/slicer/MONAILabel/MONAILabel.py | 12 ++++-------- versioneer.py | 4 +--- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/plugins/slicer/MONAILabel/MONAILabel.py b/plugins/slicer/MONAILabel/MONAILabel.py index 5051dacf3..03eb02b2c 100644 --- a/plugins/slicer/MONAILabel/MONAILabel.py +++ b/plugins/slicer/MONAILabel/MONAILabel.py @@ -43,17 +43,13 @@ def __init__(self, parent): self.parent.categories = [translate("qSlicerAbstractCoreModule", "Active Learning")] self.parent.dependencies = [] self.parent.contributors = ["NVIDIA, KCL"] - self.parent.helpText = _( - """ + self.parent.helpText = _(""" Active Learning solution. See more information in module documentation. -""" - ) - self.parent.acknowledgementText = _( - """ +""") + self.parent.acknowledgementText = _(""" Developed by NVIDIA, KCL -""" - ) +""") # Additional initialization step after application startup is complete slicer.app.connect("startupCompleted()", self.initializeAfterStartup) diff --git a/versioneer.py b/versioneer.py index 8d8c1a34b..2df9bf9dd 100644 --- a/versioneer.py +++ b/versioneer.py @@ -410,9 +410,7 @@ def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False, env= return stdout, p.returncode -LONG_VERSION_PY[ - "git" -] = r''' +LONG_VERSION_PY["git"] = r''' # This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build From 0c53ada6aa69c03be3a5b143e3c504940c2a67db Mon Sep 17 00:00:00 2001 From: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Date: Mon, 19 Oct 2026 17:33:22 +0100 Subject: [PATCH 3/4] Apply batched suggestions from code review Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9daf93f5b..f7f19f759 100644 --- a/requirements.txt +++ b/requirements.txt @@ -40,12 +40,12 @@ einops==0.7.0 pyyaml==6.0.1 filelock==3.20.3 passlib==1.7.4 -pyjwt==2.12.0 +pyjwt==2.15.0 bcrypt==4.1.2 shapely==2.0.4 requests==2.33.0 requests-toolbelt==1.0.0 -urllib3==2.6.3 +urllib3==2.8.0 scikit-learn scipy google-auth==2.29.0 From 82be6d496c8e7bbafd58a6fc942a4952e4cb3e5a Mon Sep 17 00:00:00 2001 From: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> Date: Tue, 20 Oct 2026 16:40:21 +0100 Subject: [PATCH 4/4] Manual update Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com> --- .github/workflows/blossom-ci.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/docker-plugin.yml | 4 ++-- .github/workflows/docker.yml | 2 +- .github/workflows/pythonapp.yml | 24 ++++++++++++------------ .github/workflows/release.yml | 8 ++++---- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/blossom-ci.yml b/.github/workflows/blossom-ci.yml index 34812cd1e..a2185a86a 100644 --- a/.github/workflows/blossom-ci.yml +++ b/.github/workflows/blossom-ci.yml @@ -63,7 +63,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: repository: ${{ fromJson(needs.Authorization.outputs.args).repo }} ref: ${{ fromJson(needs.Authorization.outputs.args).ref }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 17b2b2dff..5a29e36cf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -49,7 +49,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/docker-plugin.yml b/.github/workflows/docker-plugin.yml index a32eb0953..60e10e546 100644 --- a/.github/workflows/docker-plugin.yml +++ b/.github/workflows/docker-plugin.yml @@ -25,9 +25,9 @@ jobs: env: MONAI_ZOO_AUTH_TOKEN: ${{ github.token }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python 3.10 - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: 3.10 - name: clean up diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 114353f42..2de189cf5 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -27,7 +27,7 @@ jobs: env: MONAI_ZOO_AUTH_TOKEN: ${{ github.token }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Cleanup run: | echo Before Cleanup... diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 876e78b83..90d47aea6 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -34,9 +34,9 @@ jobs: os: [windows-latest, ubuntu-latest] python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - if: runner.os == 'Linux' @@ -56,9 +56,9 @@ jobs: matrix: python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -79,7 +79,7 @@ jobs: run: | $(pwd)/runtests.sh --unittests - name: Upload coverage - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: fail_ci_if_error: false file: ./coverage.xml @@ -92,12 +92,12 @@ jobs: matrix: python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: cache weekly timestamp @@ -105,7 +105,7 @@ jobs: run: | echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT - name: cache for pip - uses: actions/cache@v5 + uses: actions/cache@v6 id: cache with: path: | @@ -154,9 +154,9 @@ jobs: matrix: python-version: ["3.10"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: cache weekly timestamp @@ -164,7 +164,7 @@ jobs: run: | echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT - name: cache for pip - uses: actions/cache@v5 + uses: actions/cache@v6 id: cache with: path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2631521ba..d788ffe31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,16 +31,16 @@ jobs: env: MONAI_ZOO_AUTH_TOKEN: ${{ github.token }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v7 - name: Set up Python 3.10 - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: 3.10 - name: Cache for pip - uses: actions/cache@v5 + uses: actions/cache@v6 id: cache with: path: |