python3Packages.langchain*: standardize inputs structure

This commit is contained in:
Sarah Clark
2025-06-11 17:10:41 -07:00
parent c4b51eb779
commit 298d649cdf
19 changed files with 65 additions and 21 deletions
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -16,6 +15,9 @@
langchain-tests,
pytest-asyncio,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
poetry-core,
@@ -17,6 +16,9 @@
langchain-tests,
pytest-asyncio,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
poetry-core,
@@ -24,6 +23,9 @@
responses,
syrupy,
toml,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,14 +2,22 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
# dependencies
chromadb,
langchain-core,
langchain-tests,
numpy,
pdm-backend,
# tests
langchain-tests,
pytestCheckHook,
pytest-asyncio,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -36,6 +35,9 @@
responses,
syrupy,
toml,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -3,7 +3,6 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -30,6 +29,9 @@
pytest-xdist,
pytestCheckHook,
syrupy,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -17,6 +16,9 @@
pytestCheckHook,
pytest-asyncio,
syrupy,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -18,6 +17,9 @@
langchain-tests,
pytest-asyncio,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -14,6 +13,9 @@
# tests
langchain-tests,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -27,6 +26,9 @@
responses,
syrupy,
toml,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -18,6 +17,9 @@
langchain-tests,
pytest-asyncio,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
poetry-core,
@@ -19,6 +18,9 @@
pytestCheckHook,
pytest-mock,
syrupy,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -16,6 +15,9 @@
pytestCheckHook,
pytest-asyncio,
syrupy,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -25,6 +24,9 @@
responses,
syrupy,
toml,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -17,6 +16,9 @@
pytest-cov,
pytest-mock,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -24,6 +23,9 @@
pytest-asyncio,
pytest-socket,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -14,6 +13,9 @@
httpx,
pytest-asyncio,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
# build-system
pdm-backend,
@@ -18,6 +17,9 @@
pytest-asyncio,
pytest-mock,
pytestCheckHook,
# passthru
gitUpdater,
}:
buildPythonPackage rec {
@@ -3,7 +3,6 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
gitUpdater,
# build-system
pdm-backend,
@@ -38,6 +37,9 @@
responses,
syrupy,
toml,
# passthru
gitUpdater,
}:
buildPythonPackage rec {