Skip to content
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

Python 3.13 compatibility for extras. #176

Open
lazToum opened this issue Dec 10, 2024 · 0 comments
Open

Python 3.13 compatibility for extras. #176

lazToum opened this issue Dec 10, 2024 · 0 comments

Comments

@lazToum
Copy link
Collaborator

lazToum commented Dec 10, 2024

Describe the issue

  1. pyautogen[retrievechat]
    numpy>=2.1 is needed for pyautogen with python 3.13:
    https://github.com/ag2ai/ag2/blob/main/setup.py#L33
    But the pinned chromadb version (0.5.3) needs numpy >= 1.22.5, < 2.0.0:
    https://github.com/ag2ai/ag2/blob/main/setup.py#L51-L59
    https://github.com/chroma-core/chroma/blob/0.5.3/pyproject.toml#L24C3-L24C30
    So, pyautogen[retrievechat] cannot be installed on python 3.13

    ERROR: Cannot install chromadb==0.5.3 and numpy>=2.1 because these package versions have conflicting dependencies.
    
    The conflict is caused by:
       The user requested numpy>=2.1
       chromadb 0.5.3 depends on numpy<2.0.0 and >=1.22.5
    
  2. pyautogen[retrievechat-qdrant]
    fastembed is not yet available for python 3.13:
    https://github.com/qdrant/qdrant-client/blob/master/pyproject.toml#L28-L33
    So, pyautogen[retrievechat-qdrant] cannot be installed on python 3.13:
    https://github.com/ag2ai/ag2/blob/main/setup.py#L95

    ERROR: Could not find a version that satisfies the requirement fastembed (from versions: none)
    ERROR: No matching distribution found for fastembed
    

Steps to reproduce

Try installing pyautogen with the retrievechat and/or retrievechat-qdrant extras with python 3.13.

Screenshots and logs

No response

Additional Information

  • ag2 Version: 0.5.0
  • Operating System: Fedora Linux 41(x86_64)
  • Python Version: Python 3.13.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant