lol

python312Packages.tornado_{4,5}: remove (#373365)

authored by

Arne Keller and committed by
GitHub
74dbb1b3 196febc2

+4 -93
+2 -3
pkgs/development/python-modules/lomond/default.nix
··· 12 12 freezegun, 13 13 pytest-mock, 14 14 pytestCheckHook, 15 - tornado_4, 16 15 }: 17 16 18 17 buildPythonPackage rec { ··· 38 37 freezegun 39 38 pytest-mock 40 39 pytestCheckHook 41 - ] ++ lib.optionals (pythonOlder "3.10") [ tornado_4 ]; 40 + ]; 42 41 43 42 disabledTests = 44 43 [ ··· 51 50 "test_that_on_ping_responds_with_pong" 52 51 ]; 53 52 54 - disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [ 53 + disabledTestPaths = [ 55 54 # requires tornado_4, which is not compatible with python3.10 56 55 "tests/test_integration.py" 57 56 ];
-42
pkgs/development/python-modules/tornado/4.nix
··· 1 - { 2 - lib, 3 - unittestCheckHook, 4 - buildPythonPackage, 5 - fetchPypi, 6 - fetchpatch, 7 - isPy27, 8 - pythonAtLeast, 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "tornado"; 13 - version = "4.5.3"; 14 - disabled = isPy27 || pythonAtLeast "3.10"; 15 - 16 - src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "02jzd23l4r6fswmwxaica9ldlyc2p6q8dk6dyff7j58fmdzf853d"; 19 - }; 20 - 21 - patches = [ 22 - (fetchpatch { 23 - name = "CVE-2023-28370.patch"; 24 - url = "https://github.com/tornadoweb/tornado/commit/32ad07c54e607839273b4e1819c347f5c8976b2f.patch"; 25 - hash = "sha256-2dpPHkNThOaZD8T2g1vb/I5WYZ/vy/t690539uprJyc="; 26 - }) 27 - ]; 28 - 29 - nativeCheckInputs = [ unittestCheckHook ]; 30 - 31 - # We specify the name of the test files to prevent 32 - # https://github.com/NixOS/nixpkgs/issues/14634 33 - unittestFlagsArray = [ "*_test.py" ]; 34 - 35 - __darwinAllowLocalNetworking = true; 36 - 37 - meta = { 38 - description = "Web framework and asynchronous networking library"; 39 - homepage = "https://www.tornadoweb.org/"; 40 - license = lib.licenses.asl20; 41 - }; 42 - }
-42
pkgs/development/python-modules/tornado/5.nix
··· 1 - { 2 - lib, 3 - unittestCheckHook, 4 - buildPythonPackage, 5 - fetchPypi, 6 - fetchpatch, 7 - isPy27, 8 - pythonAtLeast, 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "tornado"; 13 - version = "5.1.1"; 14 - disabled = isPy27 || pythonAtLeast "3.10"; 15 - 16 - src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409"; 19 - }; 20 - 21 - patches = [ 22 - (fetchpatch { 23 - name = "CVE-2023-28370.patch"; 24 - url = "https://github.com/tornadoweb/tornado/commit/32ad07c54e607839273b4e1819c347f5c8976b2f.patch"; 25 - hash = "sha256-2dpPHkNThOaZD8T2g1vb/I5WYZ/vy/t690539uprJyc="; 26 - }) 27 - ]; 28 - 29 - nativeCheckInputs = [ unittestCheckHook ]; 30 - 31 - # We specify the name of the test files to prevent 32 - # https://github.com/NixOS/nixpkgs/issues/14634 33 - unittestFlagsArray = [ "*_test.py" ]; 34 - 35 - __darwinAllowLocalNetworking = true; 36 - 37 - meta = { 38 - description = "Web framework and asynchronous networking library"; 39 - homepage = "https://www.tornadoweb.org/"; 40 - license = lib.licenses.asl20; 41 - }; 42 - }
+2
pkgs/top-level/python-aliases.nix
··· 691 691 thumborPexif = throw "thumborPexif has been removed, because it was unused."; # added 2024-01-07 692 692 tissue = throw "tissue has been removed, because it is archived since October 2022"; # added 2024-07-27 693 693 torchgpipe = throw "torchgpipe has been removed, because it appears unmaintained and Pytorch now includes pipeline parallelism support"; # added 2024-05-18 694 + tornado_4 = throw "tornado_4 has been removed, use tornado instead"; # added 2025-01-13 695 + tornado_5 = throw "tornado_5 has been removed, use tornado instead"; # added 2025-01-13 694 696 torrent_parser = torrent-parser; # added 2023-11-04 695 697 transip = throw "transip has been removed because it is no longer maintained. TransIP SOAP V5 API was marked as deprecated"; # added 2023-02-27 696 698 py-tree-sitter = throw "Was merged with tree-sitter."; # added 2024-03-20
-6
pkgs/top-level/python-packages.nix
··· 16323 16323 16324 16324 tornado = callPackage ../development/python-modules/tornado { }; 16325 16325 16326 - # Used by circus and grab-site, 2020-08-29 16327 - tornado_4 = callPackage ../development/python-modules/tornado/4.nix { }; 16328 - 16329 - # Used by streamlit, 2021-01-29 16330 - tornado_5 = callPackage ../development/python-modules/tornado/5.nix { }; 16331 - 16332 16326 torchprofile = callPackage ../development/python-modules/torchprofile { }; 16333 16327 16334 16328 torpy = callPackage ../development/python-modules/torpy { };