Skip to content

Commit

Permalink
Fix issue agentop poetry install issue (crewAIInc#863)
Browse files Browse the repository at this point in the history
* Fix issue agentop poetry install issue

* Updated install requirements tests to fail if .lock becomes out of sync with poetry install. Cleaned up old issues that were merged back in.
  • Loading branch information
bhancockio authored Jul 3, 2024
1 parent f479041 commit 844cc51
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:

- name: Install Requirements
run: |
set -e
pip install poetry
poetry lock &&
poetry install
- name: Run tests
Expand Down
69 changes: 59 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/crewai/utilities/evaluators/task_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

from crewai.utilities import Converter
from crewai.utilities.pydantic_schema_parser import PydanticSchemaParser

agentops = None
try:
import agentops
from agentops import track_agent
except ImportError:

Expand Down
2 changes: 1 addition & 1 deletion src/crewai/utilities/logger.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from datetime import datetime

from crewai.utilities.printer import Printer
from datetime import datetime


class Logger:
_printer = Printer()
Expand Down

0 comments on commit 844cc51

Please sign in to comment.