Files
Yash Pratap Solanky f641915db6 fix: resolve grpcio version conflict breaking CI tests (#7184)
## Summary

CI tests on `main` are failing with 137 import errors
(`ModuleNotFoundError` for `openai`, `sqlalchemy`, `fastapi`, etc.)
because the test dependency installation silently fails.

**Root cause:** `seltz>=0.2.0` (merged in #6891) requires
`grpcio>=1.76.0`, but the `tests` extra in `pyproject.toml` pins
`grpcio==1.74.0`. This version conflict causes `uv pip install -e
"agno[tests]"` to fail entirely during dependency resolution, leaving
all test dependencies uninstalled.

**Fix:**
1. Bump `grpcio==1.74.0` to `grpcio>=1.76.0` in the `tests` extra to
resolve the conflict
2. Add explicit `uv pip install pytest-cov` in CI as a safety net for
the `--cov` flags

## Type of change

- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Improvement
- [ ] Model update
- [ ] Other:

---

## Checklist

- [x] Code complies with style guidelines
- [ ] Ran format/validation scripts (`./scripts/format.sh` and
`./scripts/validate.sh`)
- [x] Self-review completed
- [ ] Documentation updated (comments, docstrings)
- [ ] Examples and guides: Relevant cookbook examples have been included
or updated (if applicable)
- [ ] Tested in clean environment
- [ ] Tests added/updated (if applicable)

### Duplicate and AI-Generated PR Check

- [x] I have searched existing [open pull requests](../../pulls) and
confirmed that no other PR already addresses this issue
- [ ] If a similar PR exists, I have explained below why this PR is a
better approach
- [x] Check if this PR was entirely AI-generated (by Copilot, Claude
Code, Cursor, etc.)

---

## Additional Notes

The last successful CI run was `c8b1b9a9c0`. The seltz SDK 0.2.0 update
(#6891) introduced the grpcio version conflict that broke all subsequent
CI runs.
2026-03-26 09:35:47 -04:00
..
2025-05-29 22:46:52 -04:00