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

Build failure: open-interpreter #369036

Open
phirsch opened this issue Dec 29, 2024 · 1 comment · May be fixed by #369798
Open

Build failure: open-interpreter #369036

phirsch opened this issue Dec 29, 2024 · 1 comment · May be fixed by #369798
Labels
0.kind: build failure A package fails to build

Comments

@phirsch
Copy link

phirsch commented Dec 29, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build nixpkgs/634fd46801442d760e09493a794c4f15db2d0cbb#open-interpreter (note: identical result if using nix build -option sandbox true)

Build log

Build Log
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/ckxk49ycd49grfcffs330qp8vynax55g-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_interpreter.py
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
Successfully built open_interpreter-0.3.6-py3-none-any.whl
Finished creating a wheel...
/tmp/nix-build-python3.12-open-interpreter-0.3.6.drv-0/source/dist /tmp/nix-build-python3.12-open-interpreter-0.3.6.drv-0/source
Unpacking to: unpacked/open_interpreter-0.3.6...OK
Repacking wheel as ./open_interpreter-0.3.6-py3-none-any.whl...OK
/tmp/nix-build-python3.12-open-interpreter-0.3.6.drv-0/source
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for open_interpreter-0.3.6-py3-none-any.whl
  - tiktoken<0.8.0,>=0.7.0 not satisfied by version 0.8.0

Additional context

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.8.0-50-generic, Ubuntu, 24.04.1 LTS (Noble Numbat), nobuild
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.24.11
  • nixpkgs: /nix/store/8fwsiv0hd7nw1brkvka0jf1frk3m7qkr-source

Notify maintainers

@happysalada


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@phirsch phirsch added the 0.kind: build failure A package fails to build label Dec 29, 2024
@paparodeo
Copy link
Contributor

probably just need to add tiktoken to the pythonRelaxDeps array in pkgs/development/python-modules/open-interpreter

untested.diff
diff --git a/pkgs/development/python-modules/open-interpreter/default.nix b/pkgs/development/python-modules/open-interpreter/default.nix
index d771128a7903..faa79c1ac59a 100644
--- a/pkgs/development/python-modules/open-interpreter/default.nix
+++ b/pkgs/development/python-modules/open-interpreter/default.nix
@@ -51,6 +51,7 @@ buildPythonPackage rec {
 
   pythonRelaxDeps = [
     "google-generativeai"
+    "tiktoken"
     "psutil"
     "pynput"
     "yaspin"

feel free to test and open a PR

@paparodeo paparodeo linked a pull request Dec 31, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants