From 53c25a89d5dbfbe77d7559dbcb03738cd13c9813 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Fri, 15 Nov 2024 18:42:45 -0500 Subject: [PATCH] python312Packages.rising: remove at 0.3.0 --- .../python-modules/rising/default.nix | 78 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 pkgs/development/python-modules/rising/default.nix diff --git a/pkgs/development/python-modules/rising/default.nix b/pkgs/development/python-modules/rising/default.nix deleted file mode 100644 index 204e71ace948..000000000000 --- a/pkgs/development/python-modules/rising/default.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - - # build-system - versioneer, - - # dependencies - lightning-utilities, - numpy, - torch, - threadpoolctl, - tqdm, - - # tests - dill, - pytestCheckHook, - - stdenv, -}: - -buildPythonPackage rec { - pname = "rising"; - version = "0.3.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "PhoenixDL"; - repo = "rising"; - tag = "v${version}"; - hash = "sha256-sBzVTst5Tp2oZZ+Xsg3M7uAMbucL6idlpYwHvib3EaY="; - }; - - pythonRelaxDeps = [ "lightning-utilities" ]; - - # Remove vendorized versioneer (incompatible with python 3.12) - postPatch = '' - rm versioneer.py - ''; - - build-system = [ versioneer ]; - - dependencies = [ - lightning-utilities - numpy - torch - threadpoolctl - tqdm - ]; - - nativeCheckInputs = [ - dill - pytestCheckHook - ]; - - disabledTests = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ - # RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly: - "test_progressive_resize_integration" - ]; - - pythonImportsCheck = [ - "rising" - "rising.loading" - "rising.ops" - "rising.random" - "rising.transforms" - "rising.transforms.functional" - "rising.utils" - ]; - - meta = { - description = "High-performance data loading and augmentation library in PyTorch"; - homepage = "https://rising.rtfd.io"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ bcdarwin ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index f83c53188c61..63ce8623c688 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -618,6 +618,7 @@ mapAliases ({ retry_decorator = retry-decorator; # added 2024-01-07 retworkx = rustworkx; # added 2023-05-14 rig = throw "rig has been removed because it was pinned to python 2.7 and 3.5, failed to build and is otherwise unmaintained"; # added 2022-11-28 + rising = throw "rising has been removed because it was abandoned and archived by upstream"; # added 2024-11-15 rl-coach = "rl-coach was removed because the project is discontinued and was archived by upstream"; # added 2023-05-03 roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15 ronin = throw "ronin has been removed because it was unmaintained since 2018"; # added 2024-08-21 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e547fca55516..2cbbddc67841 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14140,8 +14140,6 @@ self: super: with self; { riscv-isac = callPackage ../development/python-modules/riscv-isac { }; - rising = callPackage ../development/python-modules/rising { }; - ritassist = callPackage ../development/python-modules/ritassist { }; rivet = toPythonModule (pkgs.rivet.override {