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: python312Packages.chromadb (dependency of open-webui) #392640

Closed
3 tasks done
weiren2 opened this issue Mar 24, 2025 · 0 comments · Fixed by #392768
Closed
3 tasks done

Build failure: python312Packages.chromadb (dependency of open-webui) #392640

weiren2 opened this issue Mar 24, 2025 · 0 comments · Fixed by #392768
Labels
0.kind: build failure A package fails to build

Comments

@weiren2
Copy link
Contributor

weiren2 commented Mar 24, 2025

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

Run nix build github:NixOS/nixpkgs/nixos-unstable#python312Packages.chromadb.

Or try to build open-webui, which needs this package.

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/292971555/nixlog/1

Relevant log output

error: builder for '/nix/store/98h3ychdf4w6v592lgf88ws1lmbqr0lj-python3.12-chromadb-0.5.20.drv' failed with exit code 1;
       last 25 log lines:
       >     return func(*args, **kwargs)
       >            ^^^^^^^^^^^^^^^^^^^^^
       >   File "/build/source/chromadb/api/segment.py", line 226, in create_collection
       >     coll, created = self._sysdb.create_collection(
       >                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >   File "/build/source/chromadb/telemetry/opentelemetry/__init__.py", line 150, in wrapper
       >     return f(*args, **kwargs)
       >            ^^^^^^^^^^^^^^^^^^
       >   File "/build/source/chromadb/db/mixins/sysdb.py", line 241, in create_collection
       >     raise UniqueConstraintError(f"Collection {name} already exists")
       > chromadb.errors.UniqueConstraintError: Collection test already exists
       > =============================== warnings summary ===============================
       > chromadb/test/configurations/test_configurations.py:13
       >   /build/source/chromadb/test/configurations/test_configurations.py:13: PytestCollectionWarning: cannot collect test class 'TestConfiguration' because it has a __init__ constructor (from: chromadb/test/configurations/test_configurations.py)
       >     class TestConfiguration(ConfigurationInternal):
       >
       > chromadb/test/api/test_collection.py::test_duplicate_collection_create[async_fastapi]
       >   /build/source/chromadb/utils/async_to_sync.py:20: DeprecationWarning: There is no current event loop
       >     loop = asyncio.get_event_loop()
       >
       > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
       > =========================== short test summary info ============================
       > ERROR chromadb/test/api/test_collection.py::test_not_existing_collection_delete[async_fastapi] - httpx.ReadError
       > !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
       > ============ 3 passed, 3 deselected, 2 warnings, 1 error in 10.96s =============
       For full logs, run 'nix log /nix/store/98h3ychdf4w6v592lgf88ws1lmbqr0lj-python3.12-chromadb-0.5.20.drv'.
error: 1 dependencies of derivation '/nix/store/74lkp5md8b5id2yg3ca4hjzfks0bzv4a-open-webui-0.5.20.drv' failed to build

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.18, NixOS, 24.11 (Vicuna), 24.11.20250320.7105ae3
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • nixpkgs: /nix/store/qjmsdak7fhqc7pi922i2mgm45f7af9h8-source

Notify maintainers

@drupol @shivaraj-bh @fabaff


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@weiren2 weiren2 added the 0.kind: build failure A package fails to build label Mar 24, 2025
@FliegendeWurst FliegendeWurst changed the title Build failure: open-webui Build failure: python312Packages.chromadb Mar 24, 2025
@FliegendeWurst FliegendeWurst changed the title Build failure: python312Packages.chromadb Build failure: python312Packages.chromadb (dependency of open-webui) Mar 24, 2025
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.

1 participant