Skip to content

chore(uv): document uv workflow and migrate to dependency-groups#100

Merged
RaghavChamadiya merged 1 commit intomainfrom
chore/uv-workflow-docs
Apr 26, 2026
Merged

chore(uv): document uv workflow and migrate to dependency-groups#100
RaghavChamadiya merged 1 commit intomainfrom
chore/uv-workflow-docs

Conversation

@RaghavChamadiya
Copy link
Copy Markdown
Collaborator

Supersedes #90 by @Leeaandrob. Picking up the surviving pieces of that PR (the docs additions and the dev-dependency-group migration) now that #97 has independently fixed the setuptools packages = [...] list.

Full credit to @Leeaandrob for the original work and for documenting the uv flow.

What this changes

  • README quickstart documents uv tool install repowise alongside pip install repowise.
  • README contributing section switches from pip install -e "packages/core[dev]" to uv sync --all-packages plus uv run, and shows both the activate-the-venv and the uv run flows.
  • USER_GUIDE adds a "From Source with uv" subsection.
  • pyproject.toml: replace the deprecated [tool.uv] dev-dependencies table with the PEP 735 [dependency-groups] dev form. This silences the tool.uv.dev-dependencies is deprecated warning every uv pip install was emitting.

What was dropped from #90

  • The packages = [...] change (already landed via fix(build): correct setuptools packages list #97 with the correct extractors/languages/resolvers list).
  • .python-version = 3.13. The project supports Python >=3.11, so pinning to the newest version excludes 3.11/3.12 contributors.

Verification

  • uv pip install -e . --dry-run resolves cleanly with no deprecation warning.

- README and USER_GUIDE document the uv tool install path and the
  uv sync --all-packages plus uv run flow for local development
- replace the deprecated [tool.uv] dev-dependencies table with the
  PEP 735 [dependency-groups] dev form, which uv now prefers and which
  silences the 'tool.uv.dev-dependencies is deprecated' warning every
  uv pip install was emitting
Copy link
Copy Markdown
Collaborator

@swati510 swati510 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@RaghavChamadiya RaghavChamadiya merged commit 36bd059 into main Apr 26, 2026
5 checks passed
@RaghavChamadiya RaghavChamadiya deleted the chore/uv-workflow-docs branch April 26, 2026 10:43
@RaghavChamadiya RaghavChamadiya mentioned this pull request Apr 26, 2026
RaghavChamadiya added a commit that referenced this pull request Apr 26, 2026
* feat: improve PreToolUse hook relevance with multi-signal search

Replace FTS-only file retrieval with a 3-signal ranking system:
- Symbol name match (weight 2.0) — most precise
- File path match (weight 1.5) — catches path-based searches
- FTS on wiki content (weight 1.0) — broadest, lowest priority
Files ranked by signal score then PageRank, top 3 returned.

Remove git signals (HOTSPOT, bus-factor, owner) from enrichment —
that info belongs in get_risk, not every search. Remove Bash command
interception (fragile regex on grep/rg commands).

Keep: symbols (3), importers (3), dependencies (2) per file.

* release: v0.3.1

Bumps repowise to 0.3.1 across pyproject.toml and the three sub-package
__init__.py files.

Highlights since 0.3.0:

- Output language support for generated wiki content (#99)
- Luau / Roblox language support (#89)
- OpenRouter LLM and embedding provider (#56)
- base_url plus per-provider env vars for OpenAI / Anthropic / Gemini /
  Ollama / LiteLLM (#85)
- SQLite WAL plus busy_timeout plus FK constraints, fixing concurrent
  'repowise update' database is locked errors (#101)
- CLAUDE.md opt-out prompt now asked in both full and advanced modes
  and the answer is honoured (#102)
- repowise init no longer silently overwrites unparseable user JSON
  configs (#94)
- pyproject packages list resynced with the language-support refactor
  so editable installs and CI build cleanly (#97)
- uv workflow documented and dev deps migrated to PEP 735
  dependency-groups, silencing the tool.uv.dev-dependencies deprecation
  warning (#100)
- Five Dependabot security bumps (dompurify, gitpython, mako, litellm,
  python-multipart)

Also flips the project URLs and serve_cmd's _GITHUB_REPO constant from
RaghavChamadiya/repowise to repowise-dev/repowise so 'repowise serve'
can locate the published web UI tarball.
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.

2 participants