From 8500e20d5fd04edfb7595bac40c614b98323665e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 26 Jun 2025 16:16:34 +0200 Subject: [PATCH] python3Packages.array-api-strict: 2.2 -> 2.4 Diff: https://github.com/data-apis/array-api-strict/compare/refs/tags/2.2...refs/tags/2.4 Changelog: https://github.com/data-apis/array-api-strict/releases/tag/2.4 --- .../python-modules/array-api-strict/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/array-api-strict/default.nix b/pkgs/development/python-modules/array-api-strict/default.nix index c86a1d23667b..297a9780a07c 100644 --- a/pkgs/development/python-modules/array-api-strict/default.nix +++ b/pkgs/development/python-modules/array-api-strict/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchFromGitHub, setuptools, + setuptools-scm, numpy, pytestCheckHook, hypothesis, @@ -10,17 +11,25 @@ buildPythonPackage rec { pname = "array-api-strict"; - version = "2.2"; + version = "2.4"; pyproject = true; src = fetchFromGitHub { owner = "data-apis"; repo = "array-api-strict"; tag = version; - hash = "sha256-9WIKN2mekJIOD076946xkNqMlfeTaLuuB9qqAJN8Xwc="; + hash = "sha256-NofL9F3pQSKN9RpOlHPigLadIu5ELokwUuUMCZyhr3s="; }; - build-system = [ setuptools ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools >= 61.0,<=75" "setuptools" + ''; + + build-system = [ + setuptools + setuptools-scm + ]; dependencies = [ numpy ];