-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crewai Integration Tests #665
Open
teocns
wants to merge
2
commits into
main
Choose a base branch
from
tests/crewai-basic
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Teo <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
areibman
approved these changes
Jan 30, 2025
areibman
requested changes
Jan 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(base) ➜ agentops git:(tests/crewai-basic) uv run --with=crewai pytest tests/integration/test_crewai.py
Using CPython 3.12.8
Creating virtual environment at: .venv
Updated https://github.com/kevin1024/vcrpy.git (5f1b20c)
Built agentops @ file:///Users/reibs/Projects/agentops-ai/agentops
Built vcrpy @ git+https://github.com/kevin1024/vcrpy.git@5f1b20c4ca4a18c1fc8cfe049d7df12ca0659c9b
Built pyrepl==0.9.0
Installed 138 packages in 315ms
Bytecode compiled 6633 files in 2.05s
Installed 147 packages in 544ms
Bytecode compiled 8718 files in 2.86s
Test session starts (platform: darwin, Python 3.12.8, pytest 8.3.4, pytest-sugar 1.0.0)
rootdir: /Users/reibs/Projects/agentops-ai/agentops
configfile: pyproject.toml
plugins: recording-0.13.2, cov-6.0.0, pyfakefs-5.7.4, asyncio-0.25.2, sugar-1.0.0, anyio-4.8.0, mock-3.14.0, depends-1.0.1, requests-mock-1.12.1
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=module
collecting ...
―――――――――――――――――――――――――――――――――― ERROR collecting tests/integration/test_crewai.py ――――――――――――――――――――――――――――――――――
ImportError while importing test module '/Users/reibs/Projects/agentops-ai/agentops/tests/integration/test_crewai.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/integration/test_crewai.py:2: in <module>
from crewai import Agent, Crew, Process, Task
E ModuleNotFoundError: No module named 'crewai'
--------------------------------------------------- Captured stderr ---------------------------------------------------
/Users/reibs/Projects/agentops-ai/agentops/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
warnings.warn(message, UserWarning)
collected 0 items / 1 error
=============================================== short test summary info ===============================================
FAILED tests/integration/test_crewai.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Results (0.14s):
(base) ➜ agentops git:(tests/crewai-basic) ✗
Nevermind
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
uv run --with=crewai pytest tests/integration/test_crewai.py