mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 05:29:20 +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,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
freezegun,
|
|
||||||
|
# build-system
|
||||||
|
poetry-core,
|
||||||
|
|
||||||
|
# dependencies
|
||||||
huggingface-hub,
|
huggingface-hub,
|
||||||
langchain-core,
|
langchain-core,
|
||||||
sentence-transformers,
|
sentence-transformers,
|
||||||
tokenizers,
|
tokenizers,
|
||||||
transformers,
|
transformers,
|
||||||
|
|
||||||
|
# tests
|
||||||
|
freezegun,
|
||||||
|
httpx,
|
||||||
lark,
|
lark,
|
||||||
pandas,
|
pandas,
|
||||||
poetry-core,
|
|
||||||
pytest-asyncio,
|
pytest-asyncio,
|
||||||
pytest-mock,
|
pytest-mock,
|
||||||
pytest-socket,
|
pytest-socket,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
|
||||||
requests-mock,
|
requests-mock,
|
||||||
responses,
|
responses,
|
||||||
syrupy,
|
syrupy,
|
||||||
toml,
|
toml,
|
||||||
|
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "langchain-huggingface";
|
pname = "langchain-huggingface";
|
||||||
version = "0.0.3";
|
version = "0.1.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "langchain-ai";
|
owner = "langchain-ai";
|
||||||
repo = "langchain";
|
repo = "langchain";
|
||||||
rev = "refs/tags/langchain-huggingface==${version}";
|
rev = "refs/tags/langchain-huggingface==${version}";
|
||||||
hash = "sha256-4k3C6T2N7SBM/wP8KAwMQqt9DkXDdYNt2i/OkZilWw0=";
|
hash = "sha256-ESWhhjWjCbBV/3KjeSwEQzvK6os1mmc3at+8gonfGt4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/libs/partners/huggingface";
|
sourceRoot = "${src.name}/libs/partners/huggingface";
|
||||||
|
@ -51,6 +56,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
freezegun
|
freezegun
|
||||||
|
httpx
|
||||||
lark
|
lark
|
||||||
pandas
|
pandas
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue