Package Details: python-chromadb 1.0.4-1

Git Clone URL: https://aur.archlinux.org/python-chromadb.git (read-only, click to copy)
Package Base: python-chromadb
Description: the AI-native open-source embedding database
Upstream URL: https://github.com/chroma-core/chroma
Licenses: Apache-2.0
Submitter: evine
Maintainer: None
Last Packager: evine
Votes: 0
Popularity: 0.000000
First Submitted: 2024-11-03 07:15 (UTC)
Last Updated: 2025-04-10 03:20 (UTC)

Latest Comments

haxibami commented on 2025-04-08 02:42 (UTC) (edited on 2025-04-08 02:43 (UTC) by haxibami)

Build fails with these errors:

   Compiling sqlx v0.8.3
error: /build/python-chromadb/src/chromadb-1.0.3/target/release/deps/libsqlx_macros-e91c82a550a181d2.so: undefined symbol: sqlite3_close
  --> /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.3/src/lib.rs:64:1
   |
64 | pub extern crate sqlx_macros;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0432]: unresolved imports `self::encode::Encode`, `self::decode::Decode`, `super::Decode`, `super::Encode`, `super::FromRow`, `super::Type`
   --> /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sqlx-0.8.3/src/lib.rs:133:9
    |
133 | pub use self::encode::Encode;
    |         ^^^^^^^^^^^^^^^^^^^^
...
144 | pub use self::decode::Decode;
    |         ^^^^^^^^^^^^^^^^^^^^
...
158 |     pub use super::Decode;
    |             ^^^^^^^^^^^^^
159 |     pub use super::Encode;
    |             ^^^^^^^^^^^^^
160 |     pub use super::Executor;
161 |     pub use super::FromRow;
    |             ^^^^^^^^^^^^^^
...
165 |     pub use super::Type;
    |             ^^^^^^^^^^^

For more information about this error, try `rustc --explain E0432`.
error: could not compile `sqlx` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Using mold linker (export RUSTFLAGS="$RUSTFLAGS -Clink-arg=-fuse-ld=mold") or disabilng LTO will solve the problem.

Ember2528 commented on 2025-04-04 17:53 (UTC)

The package needs python-maturin now

haxibami commented on 2025-03-17 14:29 (UTC)

This needs python-setuptools-scm in makedepends for building in a clean chroot.

Davidyz commented on 2025-01-22 17:18 (UTC)

Hi @evine yes it'll work, it's not necessary (at least for me) though, since a user systemd unit is simple enough to write and there's a good starting point on chromadb's documentation. I commented because I didn't know about the "no python- prefix" thing. Thanks for the clarification.

evine commented on 2025-01-21 16:32 (UTC) (edited on 2025-01-21 16:37 (UTC) by evine)

@Davidyz If add a systemd unit, the package name cannot include the python- prefix. If it's really necessary, I can create an additional package named chromadb that depends on python-chromadb and includes the systemd unit. Would that work?

Davidyz commented on 2025-01-21 16:26 (UTC)

Hi, thanks for maintaining this package! Could you consider adding a systemd unit file to the package? This will make deployment as a standalone server easier.