python3Packages.langchain-tests: review pyproject and update derivation

This commit is contained in:
Sarah Clark
2026-01-30 08:45:20 -08:00
parent cee1d56daf
commit 760296fce4
@@ -9,20 +9,18 @@
# dependencies
httpx,
langchain-core,
syrupy,
pytest-benchmark,
pytest-codspeed,
numpy,
pytest-asyncio,
pytest-recording,
pytest-socket,
syrupy,
vcrpy,
# buildInputs
pytest,
pytestCheckHook,
# tests
numpy,
pytest-asyncio_0,
pytest-socket,
pytestCheckHook,
pytest-benchmark,
# passthru
gitUpdater,
@@ -44,35 +42,37 @@ buildPythonPackage rec {
build-system = [ hatchling ];
pythonRemoveDeps = [
"pytest-benchmark"
"pytest-codspeed"
];
pythonRelaxDeps = [
# Each component release requests the exact latest core.
# That prevents us from updating individual components.
"langchain-core"
"numpy"
"syrupy"
];
dependencies = [
httpx
langchain-core
pytest-asyncio_0
numpy
pytest-asyncio
pytest-benchmark
pytest-codspeed
pytest-recording
pytest-socket
syrupy
vcrpy
];
buildInputs = [ pytest ];
pythonImportsCheck = [ "langchain_tests" ];
nativeBuildInputs = [
numpy
pytestCheckHook
];
disabledTestMarks = [
"benchmark"
];
passthru = {
# python updater script sets the wrong tag
skipBulkUpdate = true;