Unverified Commit 3260b8cc authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #313505 from mweinelt/limits-3.12.0

python312Packages.limits: 3.10.1 -> 3.12.0
parents cc27efa5 59f2b793
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

buildPythonPackage rec {
  pname = "limits";
  version = "3.10.1";
  version = "3.12.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -37,7 +37,7 @@ buildPythonPackage rec {
    postFetch = ''
      rm "$out/limits/_version.py"
    '';
    hash = "sha256-Ax0P9rYTPOrhtOw7FLElSNTGQ3WWCboM3FodTOGZWu8=";
    hash = "sha256-EH2/75tcKuS11XKuo4lCQrFe4/XJZpcWhuGlSuhIk18=";
  };

  postPatch = ''
@@ -93,12 +93,14 @@ buildPythonPackage rec {
    ];
  };

  doCheck = pythonOlder "3.12"; # SystemError in protobuf

  nativeCheckInputs = [
    hiro
    pytest-asyncio
    pytest-lazy-fixture
    pytestCheckHook
  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
  ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);

  pythonImportsCheck = [
    "limits"