From 49df97fd79787e8111190916e3d25590346c9697 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 28 Jul 2025 16:41:13 +0200 Subject: [PATCH] python3Packages.bytewax: disable on python3.13, cleanup --- pkgs/development/python-modules/bytewax/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/bytewax/default.nix b/pkgs/development/python-modules/bytewax/default.nix index af9d0540db5f..ac39958242fb 100644 --- a/pkgs/development/python-modules/bytewax/default.nix +++ b/pkgs/development/python-modules/bytewax/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, + pythonAtLeast, # build-system cmake, @@ -30,9 +30,10 @@ buildPythonPackage rec { pname = "bytewax"; version = "0.21.1"; - format = "pyproject"; + pyproject = true; - disabled = pythonOlder "3.7"; + # error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12) + disabled = pythonAtLeast "3.13"; src = fetchFromGitHub { owner = "bytewax"; @@ -100,12 +101,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "bytewax" ]; - meta = with lib; { + meta = { description = "Python Stream Processing"; homepage = "https://github.com/bytewax/bytewax"; changelog = "https://github.com/bytewax/bytewax/releases/tag/v${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ mslingsby kfollesdal ];