Unverified Commit fe75cd04 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.rising: remove at 0.3.0 (#356312)

parents a24d1afc 53c25a89
Loading
Loading
Loading
Loading
+0 −78
Original line number Diff line number Diff line
{
  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -14146,8 +14146,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 {