- Initial packaging (v0.1.2), needed by AI stack

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-langchain-chroma?expand=0&rev=2
This commit is contained in:
Markéta Machová 2024-09-05 09:15:57 +00:00 committed by Git OBS Bridge
parent 54683d21a2
commit 7ecdad2761
2 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Sep 5 09:14:31 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Initial packaging (v0.1.2), needed by AI stack

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-langchain-chroma
Version: 0.1.2
@ -23,10 +24,10 @@ Summary: An integration package connecting Chroma and LangChain
License: MIT
URL: https://github.com/langchain-ai/langchain
Source: https://files.pythonhosted.org/packages/source/l/langchain-chroma/langchain_chroma-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.0.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@ -53,8 +54,6 @@ embeddings = ... # use a LangChain Embeddings class
vectorstore = Chroma(embeddings=embeddings)
```
%prep
%autosetup -p1 -n langchain_chroma-%{version}