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 is unsupported #1539

Open
martimlobao opened this issue Nov 26, 2024 · 0 comments · May be fixed by #1540
Open

Python 3.13 is unsupported #1539

martimlobao opened this issue Nov 26, 2024 · 0 comments · May be fixed by #1540

Comments

@martimlobao
Copy link

martimlobao commented Nov 26, 2024

Describe the bug

Python 3.13 does not seem to be supported by open-interpreter. Python 3.12 runs as expected.

Reproduce

❯ uvx --from open-interpreter --python 3.13 interpreter
  × Failed to download and build `tiktoken==0.7.0`
  ╰─▶ Build backend failed to build wheel through `build_wheel` (exit status: 1)

      ...

        --- stderr
        error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
        = help: please check if an updated version of PyO3 is available. Current version: 0.20.3
        = help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
      warning: build failed, waiting for other jobs to finish...
      error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release
      -v --features pyo3/extension-module --crate-type cdylib -- -C 'link-args=-undefined dynamic_lookup
      -Wl,-install_name,@rpath/_tiktoken.cpython-313-darwin.so'` failed with code 101

  help: `tiktoken` (v0.7.0) was included because `open-interpreter` (v0.4.3) depends on `tiktoken`

Expected behavior

Running open-interpreter using uvx should work as expected. Instead, uv fails to build open-interpreter. Note that Python 3.12 works normally: uvx --from open-interpreter --python 3.12 interpreter

Screenshots

No response

Open Interpreter version

n/a

Python version

3.13

Operating System name and version

macOS 15.1.1

Additional context

Restricting the python version here to >=3.9,<3.13 should resolve the issue.

martimlobao added a commit to martimlobao/open-interpreter that referenced this issue Nov 26, 2024
@martimlobao martimlobao linked a pull request Nov 26, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant