python312Packages.mcpadapt: 0.1.10 -> 0.1.12 (#425924)

This commit is contained in:
Fabian Affolter 2025-08-08 00:34:34 +02:00 committed by GitHub
commit 0a14677572
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 4 deletions

View File

@ -40,14 +40,14 @@
buildPythonPackage rec {
pname = "mcp";
version = "1.12.2";
version = "1.12.4";
pyproject = true;
src = fetchFromGitHub {
owner = "modelcontextprotocol";
repo = "python-sdk";
tag = "v${version}";
hash = "sha256-K3S+2Z4yuo8eAOo8gDhrI8OOfV6ADH4dAb1h8PqYntc=";
hash = "sha256-FHVhufv4O7vM/9fNHyDU4L15dNLFMmoVaYd98Iw6l2o=";
};
postPatch = ''

View File

@ -12,18 +12,20 @@
pytestCheckHook,
python-dotenv,
smolagents,
soundfile,
torchaudio,
}:
buildPythonPackage rec {
pname = "mcpadapt";
version = "0.1.10";
version = "0.1.12";
pyproject = true;
src = fetchFromGitHub {
owner = "grll";
repo = "mcpadapt";
tag = "v${version}";
hash = "sha256-605e28p1rlJ5teCLxL/Lh8p5zV7cPuSzZWwfkE1gM5I=";
hash = "sha256-mU/zcNEHmPfSMEMgjj4u0iwmXBH2cJzGEANPxyiR1l0=";
};
build-system = [ hatchling ];
@ -35,12 +37,18 @@ buildPythonPackage rec {
];
optional-dependencies = {
audio = [
torchaudio
soundfile
];
# crewai = [ crewai ];
langchain = [
langchain
# langchain-anthropic
langgraph
];
llamaindex = [ llama-index ];
smolagents = [ smolagents ];
};
pythonImportsCheck = [ "mcpadapt" ];