From ac0cc4ff42a414d6e11e44c642d25fb984973e64 Mon Sep 17 00:00:00 2001 From: fr0gger Date: Sun, 29 Nov 2026 16:15:05 +0100 Subject: [PATCH] chore(deps): apply the open Dependabot updates Bring in the updates from the four open Dependabot pull requests on the current main: the python-dependencies group (#35) and the checkout (#26), codeql-action (#27) and setup-python (#29) action bumps. The pip group only touched requirements.txt and pyproject.toml, but CI installs from the extras in setup.py, so its green checks never ran the new versions. Apply the same versions to setup.py, the CI workflow pins and the metadata test. ruff 0.16 enables many more rules by default and reports 531 new findings here. Pin the lint rule set in pyproject.toml to the rules the gates enforced under 0.8 so the upgrade does not change what is checked. Co-Authored-By: Claude Fable 5.2 --- .github/workflows/ci.yml | 22 +++++++++++----------- .github/workflows/codeql.yml | 6 +++--- CHANGELOG.md | 5 +++++ pyproject.toml | 9 +++++++-- requirements.txt | 18 +++++++++--------- setup.py | 18 +++++++++--------- tests/test_metadata.py | 2 +- 7 files changed, 45 insertions(+), 35 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6119a2b..54196f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -35,10 +35,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.11" @@ -56,10 +56,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} cache: pip @@ -88,10 +88,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.11" cache: pip @@ -103,7 +103,7 @@ jobs: - name: Install build tooling run: | python -m pip install --upgrade pip - python -m pip install "build~=1.2.2" "twine~=6.2.0" + python -m pip install "build~=1.6.1" "twine~=7.0.0" - name: Build sdist and wheel run: python -m build @@ -124,10 +124,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.11" cache: pip @@ -138,7 +138,7 @@ jobs: - name: Install audit tooling run: | python -m pip install --upgrade pip - python -m pip install "pip-audit~=2.10.0" + python -m pip install "pip-audit~=2.10.1" - name: Audit declared dependency groups run: python scripts/audit_dependencies.py diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f2bdf5f..ca6c456 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -20,12 +20,12 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: python - name: Perform CodeQL analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b2210e..afad7b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ ### Security - Raised `sentence-transformers` to `~=5.6.0` to exclude versions affected by PYSEC-2026-4164 (CVE-2026-68770). +### Dependencies +- Updated the optional semantic stack to `sentence-transformers~=6.0.1` and `transformers~=5.17.0`. +- Updated development tooling: `pytest~=9.1.1`, `pytest-asyncio~=1.4.0`, `ruff~=0.16.8`, `pip-audit~=2.10.1`, `build~=1.6.1`, `twine~=7.0.0`, `pymdown-extensions~=12.0`, and a `setuptools>=84.0.0` build requirement. The ruff rule set is now pinned in `pyproject.toml` to the rules the gates already enforced, because newer ruff releases enable many more by default. +- Updated CI actions: `actions/checkout@v7`, `actions/setup-python@v7`, `github/codeql-action@v4`. + ### Added - Decision model questions (`noul`, `choice`, and `score`) under `llm:` through OpenRouter Decisions or Ollama, alongside fully supported quoted LLM checks. - Explicit typed-model activation, provider/model configuration, and caller-supplied context through the CLI and SDK. diff --git a/pyproject.toml b/pyproject.toml index 737e278..536d2aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,8 @@ [build-system] -requires = ["setuptools>=64", "wheel"] -build-backend = "setuptools.build_meta" \ No newline at end of file +requires = ["setuptools>=84.0.0", "wheel"] +build-backend = "setuptools.build_meta" + +[tool.ruff.lint] +# The rule set ruff applied by default when these gates were introduced (0.8). +# Newer releases enable far more rules by default; widen this deliberately. +select = ["E4", "E7", "E9", "F"] diff --git a/requirements.txt b/requirements.txt index 285af99..4071300 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,26 +6,26 @@ requests~=2.34.2 colorama~=0.4.6 # Optional semantic model stack (requires Python 3.10+) -sentence-transformers~=5.6.0; python_version >= "3.10" -transformers~=5.10.0; python_version >= "3.10" +sentence-transformers~=6.0.1; python_version >= "3.10" +transformers~=5.17.0; python_version >= "3.10" # Testing -pytest~=9.0.3 -pytest-asyncio~=1.3.0 +pytest~=9.1.1 +pytest-asyncio~=1.4.0 pytest-cov~=7.1.0 pyyaml~=6.0.3 # Static checks -ruff~=0.8.6 +ruff~=0.16.8 # Security audit -pip-audit~=2.10.0 +pip-audit~=2.10.1 # Release tooling -build~=1.2.2 -twine~=6.2.0 +build~=1.6.1 +twine~=7.0.0 # Documentation (optional, for building docs locally) mkdocs~=1.6.1 mkdocs-material~=9.7.7 -pymdown-extensions~=11.0 +pymdown-extensions~=12.0 diff --git a/setup.py b/setup.py index 062366b..e562b78 100644 --- a/setup.py +++ b/setup.py @@ -23,13 +23,13 @@ def get_version(): semantic_requirements = [ # Current safe semantic stack requires Python 3.10+, matching NOVA's runtime floor. - "sentence-transformers~=5.6.0; python_version >= '3.10'", - "transformers~=5.10.0; python_version >= '3.10'", + "sentence-transformers~=6.0.1; python_version >= '3.10'", + "transformers~=5.17.0; python_version >= '3.10'", ] test_requirements = [ - "pytest~=9.0.3", - "pytest-asyncio~=1.3.0", + "pytest~=9.1.1", + "pytest-asyncio~=1.4.0", "pytest-cov~=7.1.0", "pyyaml~=6.0.3", ] @@ -39,20 +39,20 @@ def get_version(): "mkdocs-material~=9.7.7", # Explicit floor: mkdocs-material alone allows pymdown-extensions >=10.2, # which includes versions vulnerable to CVE-2026-61632 (fixed in 11.0.0). - "pymdown-extensions~=11.0", + "pymdown-extensions~=12.0", ] lint_requirements = [ - "ruff~=0.8.6", + "ruff~=0.16.8", ] security_requirements = [ - "pip-audit~=2.10.0", + "pip-audit~=2.10.1", ] release_requirements = [ - "build~=1.2.2", - "twine~=6.2.0", + "build~=1.6.1", + "twine~=7.0.0", ] setup( diff --git a/tests/test_metadata.py b/tests/test_metadata.py index d1856e0..f646048 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -246,7 +246,7 @@ def test_ci_workflow_covers_supported_versions_and_release_gates(): step.get("run", "") for step in jobs["dependency-audit"]["steps"] ) - assert 'python -m pip install "pip-audit~=2.10.0"' in audit_runs + assert 'python -m pip install "pip-audit~=2.10.1"' in audit_runs assert "python scripts/audit_dependencies.py" in audit_runs assert 'python -m pip install -e ".[security]"' not in audit_runs assert "python -m pip_audit --local" not in audit_runs