-
Notifications
You must be signed in to change notification settings - Fork 510
Closed
Description
Error log in the CI -
Bytecode compiled 4831 files in 188ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.3.5, pluggy-1.5.0
rootdir: /home/runner/work/agentops/agentops
configfile: pyproject.toml
plugins: recording-0.13.2, cov-6.1.1, sugar-1.0.0, requests-mock-1.12.1, depends-1.0.1, asyncio-0.26.0, pyfakefs-5.8.0, anyio-4.9.0, mock-3.14.0
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=module, asyncio_default_test_loop_scope=function
----------------------------- live log collection ------------------------------
DEBUG urllib3.connectionpool:connectionpool.py:1049 Starting new HTTPS connection (1): api.agentops.ai:443
DEBUG urllib3.connectionpool:connectionpool.py:544 [https://api.agentops.ai:443](https://api.agentops.ai/) "POST /v3/auth/token HTTP/1.1" 200 343
collected 9 items / 2 errors
==================================== ERRORS ====================================
______ ERROR collecting tests/integration/test_openai_instrumentation.py _______
ImportError while importing test module '/home/runner/work/agentops/agentops/tests/integration/test_openai_instrumentation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/integration/test_openai_instrumentation.py:8: in <module>
from agentops import Config, Session
E ImportError: cannot import name 'Config' from 'agentops' (/home/runner/work/agentops/agentops/agentops/__init__.py). Did you mean: 'config'?
________ ERROR collecting tests/integration/test_session_concurrency.py ________
ImportError while importing test module '/home/runner/work/agentops/agentops/tests/integration/test_session_concurrency.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/integration/test_session_concurrency.py:6: in <module>
from agentops import record_tool
E ImportError: cannot import name 'record_tool' from 'agentops' (/home/runner/work/agentops/agentops/agentops/__init__.py)
=========================== short test summary info ============================
ERROR tests/integration/test_openai_instrumentation.py
ERROR tests/integration/test_session_concurrency.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 1.38s ===============================
Error: Process completed with exit code 2.Metadata
Metadata
Assignees
Labels
No labels