python3Packages.crewai: fix build issue (#511862)

This commit is contained in:
Gaétan Lepage 2026-04-29 07:52:22 +00:00 committed by GitHub
commit 8604cc5ec2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
nix-update-script,
# build-system
hatchling,
@ -534,6 +535,9 @@ buildPythonPackage (finalAttrs: {
"test_azure_agent_with_native_tool_calling"
"test_azure_agent_kickoff_with_tools_mocked"
"test_azure_streaming_emits_tool_call_events"
# Tests time dependent
"test_older_than"
];
nativeCheckInputs = [
@ -556,6 +560,13 @@ buildPythonPackage (finalAttrs: {
"--override-ini=addopts="
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^([0-9]+\\.[0-9]+\\.[0-9]+)$"
];
};
meta = {
description = "Framework for orchestrating role-playing, autonomous AI agents";
homepage = "https://github.com/crewAIInc/crewAI";