Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ updates:
directory: /
schedule:
interval: weekly
# Keep uv.lock fresh without raising pyproject version floors
versioning-strategy: lockfile-only
groups:
minor-and-patch:
update-types: [minor, patch]
Expand All @@ -15,3 +17,8 @@ updates:
directory: /
schedule:
interval: weekly
ignore:
# The runtime stays on CI-tested Python versions (see pyproject
# classifiers); bump deliberately, not via bot
- dependency-name: python
update-types: ["version-update:semver-major"]
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ jobs:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v5
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
# setup-uv v6+ no longer auto-creates a venv; uv pip install needs one
activate-environment: true
- name: Install
run: uv pip install -e ".[dev]"
- name: Lint
Expand All @@ -41,7 +43,7 @@ jobs:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: astral-sh/setup-uv@v5
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
- name: pip-audit (locked dependencies, all extras)
Expand Down
4 changes: 2 additions & 2 deletions src/agentic_rag/retrieval/dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def build(
}
id_map_table = pa.table(id_map_dict)
id_map_path = index_dir / "id_map.parquet"
pq.write_table(id_map_table, str(id_map_path)) # type: ignore[no-untyped-call]
pq.write_table(id_map_table, str(id_map_path))

# Write manifest
manifest = DenseManifest(
Expand Down Expand Up @@ -157,7 +157,7 @@ def load(cls, index_dir: Path) -> DenseIndex:
faiss_index = cast(faiss.IndexFlatIP, faiss.read_index(str(faiss_path)))

# Load id_map
id_map = pq.read_table(str(id_map_path)) # type: ignore[no-untyped-call]
id_map = pq.read_table(str(id_map_path))

# Load manifest
with manifest_path.open(encoding="utf-8") as f:
Expand Down
Loading
Loading