Skip to content

fix: include [dev] extras in install-dev to fix make test for new contributors#167

Open
acailic wants to merge 2 commits intomainfrom
fix/issue-154-install-dev-dev-extras
Open

fix: include [dev] extras in install-dev to fix make test for new contributors#167
acailic wants to merge 2 commits intomainfrom
fix/issue-154-install-dev-dev-extras

Conversation

@acailic
Copy link
Copy Markdown
Owner

@acailic acailic commented Apr 13, 2026

Summary

  • Fixes make install-dev omitting pytest-timeout, pytest-xdist, pytest-cov, and respx from the dev install
  • Replaces the manual, out-of-sync pip list with a single pip install -e ".[server,langchain,pydantic-ai,crewai,dev]" invocation
  • New contributors can now run make install-dev && make test without hitting unrecognized arguments: --timeout=120

Closes #154

Test plan

  • make install-dev in a fresh virtualenv succeeds
  • make test passes after make install-dev (no --timeout=120 error)
  • ruff check . passes (confirmed locally: all checks passed)

🤖 Generated with Claude Code

…tributors

Fixes #154. The install-dev target was installing a manual, incomplete
list of packages that omitted pytest-timeout, pytest-xdist, pytest-cov,
and respx. Since pyproject.toml configures --timeout=120 via addopts,
running make test immediately after make install-dev failed with
"unrecognized arguments: --timeout=120".

Replace the manual list with the [dev] extras group so all test
dependencies are installed in one pip invocation and kept in sync with
pyproject.toml.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 13, 2026 16:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the developer install workflow so make install-dev pulls test/dev tooling from the project’s declared [dev] extras, aiming to make make test work in a fresh environment.

Changes:

  • Replace the manual pip install pytest pytest-asyncio ruff list with installing the dev extras.
  • Consolidate install-dev into a single editable install invocation including dev.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

install-dev:
pip install -e ".[server,langchain,pydantic-ai,crewai]"
pip install pytest pytest-asyncio ruff
pip install -e ".[server,langchain,pydantic-ai,crewai,dev]"
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fixed. Added a server optional-dependencies group to pyproject.toml (commit 907d5fa) containing the FastAPI server deps (fastapi, uvicorn[standard], sqlalchemy[asyncio], aiosqlite, alembic, aiofiles, bcrypt), mirroring the dependencies from pyproject-server.toml. This means pip install -e ".[server,...]" in both install and install-dev now actually resolves and installs server deps. All 2350 tests pass.

…stalls server deps

The Makefile install-dev target referenced .[server,...] but pyproject.toml
had no server optional-dependency group defined, causing pip to silently skip
all server deps (fastapi, uvicorn, sqlalchemy, etc.). This made make install-dev
followed by make test fail for new contributors.

Adds the server extra mirroring the dependencies from pyproject-server.toml
(minus the peaky-peek self-reference). Also fixes the install target which
had the same issue.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

bug: make install-dev omits [dev] extras — pytest-timeout missing, make test fails for new contributors

2 participants