Merge pull request #308469 from fabaff/llama-index-bump

python312Packages.llama-index-core: 0.10.32 -> 0.10.33
This commit is contained in:
Fabian Affolter 2024-05-02 15:45:07 +02:00 committed by GitHub
commit 33c29dd164
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 64 additions and 69 deletions

View file

@ -1,55 +1,56 @@
{ lib
, stdenv
, bcrypt
, build
, buildPythonPackage
, cargo
, chroma-hnswlib
, darwin
, fastapi
, fetchFromGitHub
, grpcio
, hypothesis
, importlib-resources
, kubernetes
, mmh3
, numpy
, onnxruntime
, openssl
, opentelemetry-api
, opentelemetry-exporter-otlp-proto-grpc
, opentelemetry-instrumentation-fastapi
, opentelemetry-sdk
, orjson
, overrides
, pkg-config
, posthog
, protobuf
, pulsar-client
, pydantic
, pypika
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, pyyaml
, requests
, rustc
, rustPlatform
, setuptools
, setuptools-scm
, tenacity
, tokenizers
, tqdm
, typer
, typing-extensions
, uvicorn
, zstd
{
lib,
stdenv,
bcrypt,
build,
buildPythonPackage,
cargo,
chroma-hnswlib,
darwin,
fastapi,
fetchFromGitHub,
grpcio,
hypothesis,
importlib-resources,
kubernetes,
mmh3,
numpy,
onnxruntime,
openssl,
opentelemetry-api,
opentelemetry-exporter-otlp-proto-grpc,
opentelemetry-instrumentation-fastapi,
opentelemetry-sdk,
orjson,
overrides,
pkg-config,
posthog,
protobuf,
pulsar-client,
pydantic,
pypika,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
pyyaml,
requests,
rustc,
rustPlatform,
setuptools,
setuptools-scm,
tenacity,
tokenizers,
tqdm,
typer,
typing-extensions,
uvicorn,
zstd,
}:
buildPythonPackage rec {
pname = "chromadb";
version = "0.4.23";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.9";
@ -58,18 +59,16 @@ buildPythonPackage rec {
owner = "chroma-core";
repo = "chroma";
rev = "refs/tags/${version}";
hash = "sha256-5gI+FE2jx4G/qahATLcYsONfPZZkk1RFFYK5nrpE0Ug=";
hash = "sha256-gM+fexjwifF3evR8jZvMbIDz655RFKPUizrsB2q5tbw=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-glItbT8gg5SAySnfx3A9TaPyFmd1R46JpAB1JnjBE5M=";
hash = "sha256-zyiFv/gswGupm7Y8BhviklqJzM914v0QyUsRwbGKZ48=";
};
pythonRelaxDeps = [
"orjson"
];
pythonRelaxDeps = [ "orjson" ];
nativeBuildInputs = [
cargo
@ -85,9 +84,7 @@ buildPythonPackage rec {
buildInputs = [
openssl
zstd
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
propagatedBuildInputs = [
bcrypt
@ -126,9 +123,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"chromadb"
];
pythonImportsCheck = [ "chromadb" ];
env = {
ZSTD_SYS_USE_PKG_CONFIG = true;

View file

@ -44,7 +44,7 @@ in
buildPythonPackage rec {
pname = "llama-index-core";
version = "0.10.32";
version = "0.10.33";
pyproject = true;
disabled = pythonOlder "3.8";
@ -53,7 +53,7 @@ buildPythonPackage rec {
owner = "run-llama";
repo = "llama_index";
rev = "refs/tags/v${version}";
hash = "sha256-p+ye8o+paA6L8f1DiiiFJufyEqRn+ERNBWuhkoWfZb8=";
hash = "sha256-UlKZX7qWb8/XeqxNTW9PawKauwZRsMjsFP+xXI1CyeE=";
};
sourceRoot = "${src.name}/${pname}";

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "llama-index-llms-ollama";
version = "0.1.2";
version = "0.1.3";
pyproject = true;
disabled = pythonOlder "3.8";
@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "llama_index_llms_ollama";
inherit version;
hash = "sha256-GexyfQSMhzkV1bA32aL+lWUgwBmxHXq4w8QG3RHzTks=";
hash = "sha256-x5ZlS3PRA/kyTtTFXHbEm3NzirxuUNAllu1eKxxm3sU=";
};
build-system = [

View file

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "llama-index-vector-stores-chroma";
version = "0.1.6";
version = "0.1.7";
pyproject = true;
disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "llama_index_vector_stores_chroma";
inherit version;
hash = "sha256-bf89ydecQDn6Rs1Sjl5Lbe1kc+XvYyQkE0SRAH2k69s=";
hash = "sha256-E7DXWubBvMhru31XmNva6iPm2adJKmmt5pFqKZ8fquk=";
};
build-system = [

View file

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "llama-index-vector-stores-postgres";
version = "0.1.5";
version = "0.1.7";
pyproject = true;
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "llama_index_vector_stores_postgres";
inherit version;
hash = "sha256-9jE+1Gbx2y/CSqkpSfuYqgyX49yZwhwmJbiG/EHwTLw=";
hash = "sha256-00ccEfjYY8qrNYymHQ5w43w8zAHUAntO6oiwYUwaOVw=";
};
pythonRemoveDeps = [ "psycopg2-binary" ];

View file

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "nebula3-python";
version = "3.5.1";
version = "3.8.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "vesoft-inc";
repo = "nebula-python";
rev = "refs/tags/v${version}";
hash = "sha256-9JpdCR8ewOJcvJ3fAg/AcMKtSz7NBIqWAuG9cofv0Ak=";
hash = "sha256-tpMm13iixtg3ZF4g7YgRLyd/VqJba51QPGPmFRpy0wA=";
};
build-system = [ pdm-backend ];