Commit 8d3ab4e5 authored by Fabian Affolter's avatar Fabian Affolter Committed by Anderson Torres
Browse files

python311Packages.ratelimiter: remove

ratelimiter has been removed, since it is unmaintained and broken
parent d48d2962
Loading
Loading
Loading
Loading
+0 −43
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pytest-asyncio
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "ratelimiter";
  version = "1.2.0.post0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-XDldyr273i5ReO8/ibVoowZkVKbdwiO3ZHPawi+JtPc=";
  };

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "ratelimiter"
  ];

  preCheck = ''
    # Uses out-dated options
    rm tests/conftest.py
  '';

  disabledTests = [
    # TypeError: object Lock can't be used in 'await' expression
    "test_alock"
  ];

  meta = with lib; {
    description = "Simple python rate limiting object";
    homepage = "https://github.com/RazerM/ratelimiter";
    license = licenses.asl20;
    maintainers = with maintainers; [ helkafen ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -354,6 +354,7 @@ mapAliases ({
  Quandl = quandl; # added 2023-02-19
  qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
  rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01
  ratelimiter = throw "ratelimiter has been removed, since it is unmaintained and broken"; # added 2023-10-21
  rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
  recaptcha_client = throw "recaptcha_client has been removed since it is no longer maintained"; # added 2023-10-20
  rednose = throw "rednose is no longer maintained (since February 2018)"; # added 2023-08-06
+0 −2
Original line number Diff line number Diff line
@@ -11995,8 +11995,6 @@ self: super: with self; {
  ratelimit = callPackage ../development/python-modules/ratelimit { };
  ratelimiter = callPackage ../development/python-modules/ratelimiter { };
  rauth = callPackage ../development/python-modules/rauth { };
  raven = callPackage ../development/python-modules/raven { };