python313Packages.langchain-openai: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:30 +02:00
parent 78b6096c0c
commit 6b460e9e9b

View file

@ -17,6 +17,7 @@
lark, lark,
pandas, pandas,
pytest-asyncio, pytest-asyncio,
pytest-cov-stub,
pytestCheckHook, pytestCheckHook,
pytest-mock, pytest-mock,
pytest-socket, pytest-socket,
@ -43,11 +44,6 @@ buildPythonPackage rec {
sourceRoot = "${src.name}/libs/partners/openai"; sourceRoot = "${src.name}/libs/partners/openai";
preConfigure = ''
substituteInPlace pyproject.toml \
--replace-fail "--cov=langchain_openai" ""
'';
build-system = [ pdm-backend ]; build-system = [ pdm-backend ];
pythonRelaxDeps = [ pythonRelaxDeps = [
@ -68,6 +64,7 @@ buildPythonPackage rec {
lark lark
pandas pandas
pytest-asyncio pytest-asyncio
pytest-cov-stub
pytestCheckHook pytestCheckHook
pytest-mock pytest-mock
pytest-socket pytest-socket