mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
python312Packages.langchain-huggingface: 0.0.3 -> 0.1.0
Diff: https://github.com/langchain-ai/langchain/compare/refs/tags/langchain-huggingface==0.0.3...langchain-huggingface==0.1.0 Changelog: https://github.com/langchain-ai/langchain/releases/tag/langchain-huggingface==0.1.0
This commit is contained in:
parent
f7d7fdc911
commit
5d4a97b025
1 changed files with 13 additions and 7 deletions
|
@ -2,39 +2,44 @@
|
|||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
freezegun,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
huggingface-hub,
|
||||
langchain-core,
|
||||
sentence-transformers,
|
||||
tokenizers,
|
||||
transformers,
|
||||
|
||||
# tests
|
||||
freezegun,
|
||||
httpx,
|
||||
lark,
|
||||
pandas,
|
||||
poetry-core,
|
||||
pytest-asyncio,
|
||||
pytest-mock,
|
||||
pytest-socket,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests-mock,
|
||||
responses,
|
||||
syrupy,
|
||||
toml,
|
||||
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-huggingface";
|
||||
version = "0.0.3";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
rev = "refs/tags/langchain-huggingface==${version}";
|
||||
hash = "sha256-4k3C6T2N7SBM/wP8KAwMQqt9DkXDdYNt2i/OkZilWw0=";
|
||||
hash = "sha256-ESWhhjWjCbBV/3KjeSwEQzvK6os1mmc3at+8gonfGt4=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/partners/huggingface";
|
||||
|
@ -51,6 +56,7 @@ buildPythonPackage rec {
|
|||
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
httpx
|
||||
lark
|
||||
pandas
|
||||
pytest-asyncio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue