Unverified Commit fc52af53 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.array-api-strict: 2.2 -> 2.4 (#420258)

parents fa0c8e3d 8500e20d
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -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 ];