chore(deps-dev): update pre-commit requirement from <5.0,>=4.6.2 to >=4.7.0,<5.0 by dependabot[bot] · Pull Request #246 · lyonzin/knowledge-rag · GitHub
Skip to content

chore(deps-dev): update pre-commit requirement from <5.0,>=4.6.2 to >=4.7.0,<5.0 - #246

Open
dependabot[bot] wants to merge 6 commits into
masterfrom
dependabot/pip/pre-commit-gte-4.7.0-and-lt-5.0
Open

dependabot[bot] wants to merge 6 commits into
masterfrom
dependabot/pip/pre-commit-gte-4.7.0-and-lt-5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on pre-commit to permit the latest version.

Release notes

Sourced from pre-commit's releases.

pre-commit v4.7.0

Fixes

Changelog

Sourced from pre-commit's changelog.

4.7.0 - 2026-10-12

Fixes

4.6.2 - 2026-08-10

Fixes

4.6.1 - 2026-07-21

Fixes

4.6.0 - 2026-04-21

Features

  • pre-commit hook-impl: allow --hook-dir to be missing to enable easier usage with git 2.54+ git hooks.

Fixes

  • pre-commit hook-impl: --hook-type is required.

... (truncated)

Commits
  • 65bb884 v4.7.0
  • 73926c1 Merge pull request #3774 from cbirkhold/node-no-git-env-npm-install
  • 860d07d don't leak GIT_* env into npm install for language: node
  • 9ad8a0a Merge pull request #3775 from pre-commit/contextlib-chdir
  • 9905e88 use contextlib.chdir
  • 59cb792 Merge pull request #3771 from pre-commit/all-repos_autofix_py311-plus
  • 2be1701 remove triple-nested withs for 3.14 coverage
  • 4c8d22a py311+
  • c429238 Merge pull request #3770 from pre-commit/pre-commit-ci-update-config
  • f49e251 [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view

vishalhabib99 and others added 2 commits October 13, 2026 09:11
search_knowledge(category), list_documents(category) and
add_from_url(title) were annotated `str = None`. The tool schema then
advertised "default": null on a string-only field, and the MCP SDK's
argument model rejected {"category": null} before the tool ran.
Annotate them Optional[str], like the other optional arguments.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The GHCR image was built only for linux/amd64, forcing Apple Silicon and
ARM server users into slow QEMU emulation. Add setup-qemu-action and
build for linux/amd64,linux/arm64 so the manifest list covers both.
@dependabot
dependabot Bot requested a review from lyonzin as a code owner October 16, 2026 15:55
@dependabot @github

dependabot Bot commented on behalf of github Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

lyonzin and others added 4 commits October 25, 2026 12:10
…ma's default EF (#253)

On a fresh data_dir the preflight child ran get_or_create_collection()
without an embedding function, so ChromaDB persisted its `default` EF.
The server then opened the collection with FastEmbed and ChromaDB raised
"Embedding function conflict: new: fastembed-... vs persisted: default".
v4.10.0 removed the destructive recovery that used to hide this, so every
fresh install and every new Docker volume failed to start.

- The probe reads the collection with get_collection() and reports
  "missing" when it does not exist yet.
- _safe_get_collection() recreates the collection the old probe left
  behind, only when it is empty and bound to the default EF. A collection
  with data is never dropped; the error is raised as before.
- Tests run the real probe child against a fresh data_dir, a production
  FastEmbed collection with data and the empty default-EF leftover.

Closes #248
Closes #252

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndex (#254)

#249 reported four defects on a 4.11.0 install. Two reproduce on master:

A. os.replace fails with WinError 5/32 while an antivirus, indexer or
   concurrent reader holds the destination or the source without
   FILE_SHARE_DELETE. Checkpoint writes swallowed it as non-fatal, and the
   final metadata save aborted the reindex. replace_with_retry() retries
   only those two codes for about 1.5 s, then re-raises the original
   error. It now backs every atomic replace: metadata, checkpoint, repair
   journal, FTS5 state and staged documents. Other platforms are unchanged.

C. reindex_documents answered "started" while a watcher pass or a
   document write held the index lock, and index_all then refused the run
   at once. start_reindex_background now probes the lock and returns the
   existing already_running envelope. nuclear_rebuild still starts,
   because it waits for the lock instead of refusing.

docs/API.md now says which operations make reindex_documents answer
already_running. The Windows test declares CloseHandle types so a 64-bit
HANDLE is not truncated.

B and D do not apply upstream: reindex_state.json, _write_reindex_state
and a per-document metadata flush are not in any published release, and
_maybe_persist_checkpoint already checks the 500-docs/30-s cadence before
it saves.

Closes #249

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Patch release. Fixes the startup crash on every fresh install and every
new data directory since v4.10.0 (#248, #252), makes state-file writes
robust on Windows and stops reindex_documents from reporting a refused
run as started (#249). Also ships #236 and the multi-arch Docker image
from #242.

- pyproject.toml: 4.11.0 -> 4.11.1
- mcp_server/__init__.py: __version__ -> 4.11.1
- npm/package.json: 4.11.0 -> 4.11.1
- CHANGELOG.md: Unreleased promoted to v4.11.1 with highlights and credits
- .github/api-surface-baseline.json: regenerated with --snapshot. Additive
  only: 8 modules and 5 methods added since the 2026-08-10 snapshot, none
  removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Updates the requirements on [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.6.2...v4.7.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-version: 4.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/pre-commit-gte-4.7.0-and-lt-5.0 branch from 6ad54ac to 67bf184 Compare October 25, 2026 16:52

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants