python3Packages.openinference-semantic-conventions: init at 0.1.30

OpenTelemetry Semantic Conventions for AI Observability

https://github.com/Arize-ai/openinference
This commit is contained in:
Fabian Affolter
2026-06-16 12:29:31 +02:00
parent 62b5023893
commit 9bee562b8c
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
nix-update-script,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "openinference-semantic-conventions";
version = "0.1.30";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "Arize-ai";
repo = "openinference";
tag = "python-openinference-semantic-conventions-v${finalAttrs.version}";
hash = "sha256-MkgajZknHOw4/qra6uZ99rtpiylpHhOj8tDfLGUSU74=";
};
sourceRoot = "${finalAttrs.src.name}/python/${finalAttrs.pname}";
build-system = [ hatchling ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "openinference.semconv" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "OpenTelemetry Semantic Conventions for AI Observability";
homepage = "https://github.com/Arize-ai/openinference";
changelog = "https://github.com/Arize-ai/openinference/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})
+4
View File
@@ -11834,6 +11834,10 @@ self: super: with self; {
}
);
openinference-semantic-conventions =
callPackage ../development/python-modules/openinference-semantic-conventions
{ };
openmm = toPythonModule (
pkgs.openmm.override {
python3Packages = self;