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 Version Compatibility #4278

Open
arthaszyb opened this issue Nov 20, 2024 · 1 comment
Open

Python Version Compatibility #4278

arthaszyb opened this issue Nov 20, 2024 · 1 comment
Assignees
Milestone

Comments

@arthaszyb
Copy link

What happened?

There is a fault while pip installs autoGen with the Python versions higher than 3.12. But the current reminder only point to the versions below 3.10.

File "/private/var/folders/0d/ftmmyfbs25g4t_4p7lhn3j3c0000gq/T/pip-build-env-q3_t8ewn/overlay/lib/python3.13/site-packages/setuptools/_distutils/unixccompiler.py", line 202, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/clang++' failed with exit code 1

  [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for grpcio
Failed to build grpcio
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (grpcio)

What did you expect to happen?

Python version compatibility issue.

How can we reproduce it (as minimally and precisely as possible)?

  1. Remark the compatible Python version range in the README doc.
  2. Ensure compatibility with future major versions of Python.

AutoGen version

0.4

Which package was this bug in

AgentChat

Model used

No response

Python version

3.13 and above

Operating system

MacOS

Any additional info you think would be helpful for fixing this bug

No response

@jackgerrits
Copy link
Member

This is due to the grpcio dependency not having wheels built for 3.13 and the source build subsequently failing. To fix this we'll need to upgrade grpcio to at least 1.66. This is important but will need to be taken on as a task to ensure xlang is still working.

@jackgerrits jackgerrits added this to the 0.4.0 milestone Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants