Unverified Commit fed73318 authored by natsukium's avatar natsukium
Browse files

python310Packages.rabbitpy: remove

rabbitpy is unmaintained and broken
parent 1353de59
Loading
Loading
Loading
Loading
+0 −47
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, nose
, pamqp
}:

buildPythonPackage rec {
  version = "2.0.1";
  pname = "rabbitpy";

  # No tests in the pypi tarball, so we directly fetch from git
  src = fetchFromGitHub {
    owner = "gmr";
    repo = pname;
    rev = version;
    sha256 = "0m5z3i3d5adrz1wh6y35xjlls3cq6p4y9p1mzghw3k7hdvg26cck";
  };

  propagatedBuildInputs = [ pamqp ];
  nativeCheckInputs = [ mock nose ];

  checkPhase = ''
    runHook preCheck
    rm tests/integration_tests.py # Impure tests requiring network
    nosetests tests
    runHook postCheck
  '';

  postPatch = ''
    # See: https://github.com/gmr/rabbitpy/issues/118
    substituteInPlace setup.py \
      --replace 'pamqp>=2,<3' 'pamqp'
  '';

  meta = with lib; {
    description = "A pure python, thread-safe, minimalistic and pythonic RabbitMQ client library";
    homepage = "https://pypi.python.org/pypi/rabbitpy";
    license = licenses.bsd3;

    # broken by pamqp==3, tracked in
    # https://github.com/gmr/rabbitpy/issues/125
    broken = true;
  };

}
+1 −0
Original line number Diff line number Diff line
@@ -283,6 +283,7 @@ mapAliases ({
  qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
  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
  rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
  retworkx = rustworkx; # added 2023-05-14
  repeated_test = repeated-test; # added 2022-11-15
+0 −2
Original line number Diff line number Diff line
@@ -10498,8 +10498,6 @@ self: super: with self; {

  r2pipe = callPackage ../development/python-modules/r2pipe { };

  rabbitpy = callPackage ../development/python-modules/rabbitpy { };

  rachiopy = callPackage ../development/python-modules/rachiopy { };

  radicale_infcloud = callPackage ../development/python-modules/radicale_infcloud {