python313Packages.hug: drop
Marked broken since 2021, still pins falcon==2.0.0 and we are at falcon>4 now.
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
isPy27,
|
||||
falcon,
|
||||
requests,
|
||||
pytestCheckHook,
|
||||
marshmallow,
|
||||
mock,
|
||||
numpy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hug";
|
||||
version = "2.6.0";
|
||||
format = "setuptools";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hugapi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "05rsv16g7ph100p8kl4l2jba0y4wcpp3xblc02mfp67zp1279vaq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
falcon
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
marshmallow
|
||||
pytestCheckHook
|
||||
numpy
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace '"pytest-runner"' ""
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
# some tests need the `hug` CLI on the PATH
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# some tests attempt network access
|
||||
"test_datagram_request"
|
||||
"test_request"
|
||||
# these tests use an unstable test dependency (https://github.com/hugapi/hug/issues/859)
|
||||
"test_marshmallow_custom_context"
|
||||
"test_marshmallow_schema"
|
||||
"test_transform"
|
||||
"test_validate_route_args_negative_case"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python framework that makes developing APIs as simple as possible, but no simpler";
|
||||
homepage = "https://github.com/hugapi/hug";
|
||||
license = licenses.mit;
|
||||
# Missing support for later falcon releases
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
@@ -267,6 +267,7 @@ mapAliases ({
|
||||
homeassistant-pyozw = throw "homeassistant-pyozw has been removed, as it was packaged for home-assistant which has removed it as a dependency."; # added 2024-01-05
|
||||
htmllaundry = throw "htmllaundry has been removed because it is abandoned"; # added 2024-06-04
|
||||
HTSeq = htseq; # added 2023-02-19
|
||||
hug = throw "hug was marked broken since 2021 and has not established compatibility with newer dependency versions. It has therefore been removed."; # added 2024-11-15
|
||||
hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
|
||||
ihatemoney = throw "ihatemoney was removed because it is no longer maintained downstream"; # added 2023-04-08
|
||||
IMAPClient = imapclient; # added 2021-10-28
|
||||
|
||||
@@ -5976,8 +5976,6 @@ self: super: with self; {
|
||||
|
||||
huey = callPackage ../development/python-modules/huey { };
|
||||
|
||||
hug = callPackage ../development/python-modules/hug { };
|
||||
|
||||
huggingface-hub = callPackage ../development/python-modules/huggingface-hub { };
|
||||
|
||||
huisbaasje-client = callPackage ../development/python-modules/huisbaasje-client { };
|
||||
|
||||
Reference in New Issue
Block a user