From c27ac48c739489b51d3fd89e7470632503235d91 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 15 Jun 2024 11:39:33 +0200 Subject: [PATCH] python311Packages.txtai: mark as broken on python 3.12 --- pkgs/development/python-modules/txtai/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/txtai/default.nix b/pkgs/development/python-modules/txtai/default.nix index 143650d2ee50..a689f4381d6c 100644 --- a/pkgs/development/python-modules/txtai/default.nix +++ b/pkgs/development/python-modules/txtai/default.nix @@ -50,6 +50,8 @@ xmltodict, # native check inputs unittestCheckHook, + + pythonAtLeast, }: let version = "7.2.0"; @@ -195,11 +197,13 @@ buildPythonPackage { "-v" ]; - meta = with lib; { + meta = { description = "Semantic search and workflows powered by language models"; changelog = "https://github.com/neuml/txtai/releases/tag/v${version}"; homepage = "https://github.com/neuml/txtai"; - license = licenses.asl20; - maintainers = with maintainers; [ happysalada ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ happysalada ]; + # This should be addressed in a newer version, but we first need to wait for python311Packages.faiss to be updated + broken = pythonAtLeast "3.12"; }; }