diff --git a/pkgs/development/python-modules/tornado/5.nix b/pkgs/development/python-modules/tornado/5.nix deleted file mode 100644 index a1b0d8979e20..000000000000 --- a/pkgs/development/python-modules/tornado/5.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - unittestCheckHook, - buildPythonPackage, - fetchPypi, - fetchpatch, - isPy27, - pythonAtLeast, -}: - -buildPythonPackage rec { - pname = "tornado"; - version = "5.1.1"; - disabled = isPy27 || pythonAtLeast "3.10"; - - src = fetchPypi { - inherit pname version; - sha256 = "4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409"; - }; - - patches = [ - (fetchpatch { - name = "CVE-2023-28370.patch"; - url = "https://github.com/tornadoweb/tornado/commit/32ad07c54e607839273b4e1819c347f5c8976b2f.patch"; - hash = "sha256-2dpPHkNThOaZD8T2g1vb/I5WYZ/vy/t690539uprJyc="; - }) - ]; - - nativeCheckInputs = [ unittestCheckHook ]; - - # We specify the name of the test files to prevent - # https://github.com/NixOS/nixpkgs/issues/14634 - unittestFlagsArray = [ "*_test.py" ]; - - __darwinAllowLocalNetworking = true; - - meta = { - description = "Web framework and asynchronous networking library"; - homepage = "https://www.tornadoweb.org/"; - license = lib.licenses.asl20; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 514ce622aa28..13e45661376e 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -690,6 +690,7 @@ mapAliases ({ tissue = throw "tissue has been removed, because it is archived since October 2022"; # added 2024-07-27 torchgpipe = throw "torchgpipe has been removed, because it appears unmaintained and Pytorch now includes pipeline parallelism support"; # added 2024-05-18 tornado_4 = throw "tornado_4 has been removed, use tornado instead"; # added 2025-01-13 + tornado_5 = throw "tornado_5 has been removed, use tornado instead"; # added 2025-01-13 torrent_parser = torrent-parser; # added 2023-11-04 transip = throw "transip has been removed because it is no longer maintained. TransIP SOAP V5 API was marked as deprecated"; # added 2023-02-27 py-tree-sitter = throw "Was merged with tree-sitter."; # added 2024-03-20 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b02a0133252a..980ef4efa3aa 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16327,9 +16327,6 @@ self: super: with self; { tornado = callPackage ../development/python-modules/tornado { }; - # Used by streamlit, 2021-01-29 - tornado_5 = callPackage ../development/python-modules/tornado/5.nix { }; - torchprofile = callPackage ../development/python-modules/torchprofile { }; torpy = callPackage ../development/python-modules/torpy { };