langchain-ai / langsmith-sdk

LangSmith Client SDK Implementations
https://docs.smith.langchain.com/
MIT License
421 stars 80 forks source link

Issue: ModuleNotFoundError: No module named 'six' #1195

Closed imaxmelnyk closed 2 weeks ago

imaxmelnyk commented 2 weeks ago

Issue you'd like to raise.

from langchain_core.language_models.chat_models import LangSmithParams
venv/lib/python3.9/site-packages/langchain_core/language_models/__init__.py:50: in <module>
    from langchain_core.language_models.chat_models import BaseChatModel, SimpleChatModel
venv/lib/python3.9/site-packages/langchain_core/language_models/chat_models.py:33: in <module>
    from langchain_core.callbacks import (
venv/lib/python3.9/site-packages/langchain_core/callbacks/__init__.py:23: in <module>
    from langchain_core.callbacks.manager import (
venv/lib/python3.9/site-packages/langchain_core/callbacks/manager.py:23: in <module>
    from langsmith.run_helpers import get_tracing_context
venv/lib/python3.9/site-packages/langsmith/run_helpers.py:44: in <module>
    from langsmith import client as ls_client
venv/lib/python3.9/site-packages/langsmith/client.py:69: in <module>
    from langsmith import env as ls_env
venv/lib/python3.9/site-packages/langsmith/env/__init__.py:3: in <module>
    from langsmith.env._runtime_env import (
venv/lib/python3.9/site-packages/langsmith/env/_runtime_env.py:10: in <module>
    from langsmith.utils import get_docker_compose_command
venv/lib/python3.9/site-packages/langsmith/utils.py:43: in <module>
    from langsmith._internal import _patch as patch_urllib3
venv/lib/python3.9/site-packages/langsmith/_internal/_patch.py:4: in <module>
    import six  # noqa
E   ModuleNotFoundError: No module named 'six'

version: 0.1.141 was ok on 0.1.140

Suggestion:

No response

nachonavarro commented 2 weeks ago

This is urgent, it breaks langchain as well (e.g. when using a JsonOutputParser).

efriis commented 2 weeks ago

fixed in #1197

hinthornw commented 2 weeks ago

Yanked release