python310Packages.rabbitpy: remove

rabbitpy is unmaintained and broken
This commit is contained in:
natsukium 2023-07-01 14:31:30 +09:00
parent 1353de5923
commit fed733188d
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53
3 changed files with 1 additions and 49 deletions

View File

@ -1,47 +0,0 @@
{ 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;
};
}

View File

@ -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

View File

@ -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 {