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
2 changes: 1 addition & 1 deletion .cursor/environment.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "github-repo-auditor",
"disableAllMcpServers": true,
"install": "set -eu; python3 -m pip install --disable-pip-version-check --user 'uv==0.13.0'; export PATH=\"$(python3 -m site --user-base)/bin:$PATH\"; uv python install 3.12.15; uv sync --locked --python 3.12.15 --extra dev --extra serve --extra config --extra build; uv run --locked --extra dev --extra serve --extra config --extra build pytest -q -k 'not semantic_index'"
"install": "set -eu; python3 -m pip install --disable-pip-version-check --user 'uv==0.13.9'; export PATH=\"$(python3 -m site --user-base)/bin:$PATH\"; uv python install 3.12.15; uv sync --locked --python 3.12.15 --extra dev --extra serve --extra config --extra build; uv run --locked --extra dev --extra serve --extra config --extra build pytest -q -k 'not semantic_index'"
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.0"
version: "0.13.9"
python-version: ${{ matrix.python-version }}
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.0"
version: "0.13.9"
python-version-file: .python-version
- run: uv sync --locked --extra dev --extra serve --extra config --extra semantic
- run: uv run --locked --extra dev --extra serve --extra config --extra semantic pytest -q -k semantic_index
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Set up locked build environment
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.0"
version: "0.13.9"
python-version-file: .python-version

- name: Install locked build tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up locked build environment
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: "0.13.0"
version: "0.13.9"
python-version-file: .python-version

- name: Install locked build tools
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ in since-window mode.
Cursor Cloud builds start from this repository's checkout and must not depend on
the local `.venv`, sibling repositories, generated `output/` artifacts, or
credential-bearing files. The checked-in `.python-version` selects Python
3.12.15; `.cursor/environment.json` pins `uv==0.13.0` and installs the locked
3.12.15; `.cursor/environment.json` pins `uv==0.13.9` and installs the locked
runtime and development dependencies with `uv sync --locked`.

Use these repository-local, non-interactive checks in a Cloud build or agent:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM python:3.12-slim@sha256:a6e34c598f2467ed0e9a8d349809fcd8b5c603269512df273a0bb1784edc11b1

# uv for fast, reproducible, lockfile-pinned installs.
COPY --from=ghcr.io/astral-sh/uv:0.13.0@sha256:cdc6093146eb3ff6a40107b38f008b789e050e77ad87865e381d9917da55a168 /uv /bin/uv
COPY --from=ghcr.io/astral-sh/uv:0.13.9@sha256:d3b601f0c7b118bc1753febf7c41cc80981df678445e0254284eecf84db79a7d /uv /bin/uv

WORKDIR /app
ENV UV_COMPILE_BYTECODE=1 \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARGS ?=

# Setup hints are checked before any tools run. Checks do not regenerate outputs.
require-tools:
@command -v uv >/dev/null 2>&1 || { echo "Missing uv. Install uv 0.13.0, then run make setup."; exit 1; }
@command -v uv >/dev/null 2>&1 || { echo "Missing uv. Install uv 0.13.9 or any later 0.13.x, then run make setup."; exit 1; }

setup: require-tools
@command -v pnpm >/dev/null 2>&1 || { echo "Missing pnpm. Install the Node and pnpm pins in web/, then run make setup."; exit 1; }
Expand Down
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,7 @@ demo, benchmark, and direct exporter calls require an explicit overlay argument.
### Prerequisites

- Python 3.12 to 3.14 (3.15 is not supported yet; pick a supported interpreter, for example `uv python install 3.13`)
- [uv](https://docs.astral.sh/uv/) exactly 0.13.0 for the `make` targets (`make setup`, `make demo`, `make check`). `pyproject.toml` pins `required-version = "==0.13.0"`, so any other uv fails with a version mismatch. Switch with `uv self update 0.13.0`, or install it fresh with `curl -LsSf https://astral.sh/uv/0.13.0/install.sh | sh`. The plain `pip install` paths below do not need uv.

If you would rather not change your global uv, install 0.13.0 inside the clone (nothing is written outside it) and put it first on `PATH` for the session:

```bash
python3 -m venv .uv-tool && .uv-tool/bin/pip install uv==0.13.0
export PATH="$PWD/.uv-tool/bin:$PATH"
uv --version # uv 0.13.0
```

`.uv-tool/` is gitignored. The venv only hosts the uv binary; uv picks its own supported project interpreter (see the Python range above).
- [uv](https://docs.astral.sh/uv/) 0.13.9 or any later 0.13.x (for example the current Homebrew uv) for the `make` targets (`make setup`, `make demo`, `make check`). `pyproject.toml` sets `required-version = ">=0.13.9,<0.14"`, so uv 0.14 or newer fails with a version mismatch; CI runs exactly 0.13.9. Install or update with `brew install uv` or `curl -LsSf https://astral.sh/uv/0.13.9/install.sh | sh`. uv picks its own supported project interpreter (see the Python range above). The plain `pip install` paths below do not need uv.
- pnpm and Node (versions pinned in `web/`) for `make setup` and `make check`
- A GitHub account (public repos work without a token)
- `GITHUB_TOKEN` env var or `gh` CLI authenticated (for private repos and higher rate limits)
Expand Down Expand Up @@ -245,7 +235,7 @@ output is private operator evidence unless it has been intentionally sanitized.
```bash
git clone https://github.com/saagpatel/GithubRepoAuditor.git
cd GithubRepoAuditor
uv sync --locked --extra config # requires uv 0.13.0, see Prerequisites
uv sync --locked --extra config # requires uv 0.13.9 or any later 0.13.x, see Prerequisites
make demo
```

Expand Down Expand Up @@ -376,7 +366,7 @@ frontend uses Next.js 15 and React 19 with pinned Node and pnpm toolchains.
JSON, Markdown, HTML, workbooks, and Notion payloads share the audit model.
The canonical local portfolio truth path is `output/portfolio-truth-latest.json`.

For a contributor checkout, install uv 0.13.0 (see Prerequisites), run `make setup`, then `make check` (this is the test command; Python tests alone: `make check-python`). These use
For a contributor checkout, install uv 0.13.9 or any later 0.13.x (see Prerequisites), run `make setup`, then `make check` (this is the test command; Python tests alone: `make check-python`). These use
locked dependencies and offline fixtures; semantic-index checks are a separate
opt-in lane. See [CONTRIBUTING.md](CONTRIBUTING.md) for focused checks.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pytest_add_cli_args_test_selection = [
target-version = "py312"

[tool.uv]
required-version = "==0.13.0"
required-version = ">=0.13.9,<0.14"
constraint-dependencies = [
# fpdf2's Pillow range still permits versions affected by GHSA-332p-7hrc-92wf
# and the related Pillow advisories.
Expand Down
Loading