Unverified Commit 4b192e6f authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

python312Packages.albucore: 0.0.17 -> 0.0.19,...

python312Packages.albucore: 0.0.17 -> 0.0.19, python312Packages.albumentations: 1.4.18 -> 1.4.20 (#350066)
parents f6db280c 3a08e443
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -7,21 +7,21 @@
  pytestCheckHook,
  numpy,
  opencv4,
  typing-extensions,
  stringzilla,
}:

buildPythonPackage rec {
  pname = "albucore";
  version = "0.0.17";
  version = "0.0.19";
  pyproject = true;

  disabled = pythonOlder "3.8";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "albumentations-team";
    repo = "albucore";
    rev = "refs/tags/${version}";
    hash = "sha256-9fv5jewfL3JKhZyD0YS1WDNZ7wWt+8iF2DcygCOl168=";
    hash = "sha256-GwT7Py7pKbpHxx4avj37/hRjSJXdH5uBU11nCITysVw=";
  };

  pythonRemoveDeps = [ "opencv-python" ];
@@ -31,7 +31,7 @@ buildPythonPackage rec {
  dependencies = [
    numpy
    opencv4
    typing-extensions
    stringzilla
  ];

  pythonImportsCheck = [ "albucore" ];
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@

buildPythonPackage rec {
  pname = "albumentations";
  version = "1.4.18";
  version = "1.4.20";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -40,7 +40,7 @@ buildPythonPackage rec {
    owner = "albumentations-team";
    repo = "albumentations";
    rev = "refs/tags/${version}";
    hash = "sha256-uAYnbglBT1mduyRnsWWjZ8axG7DzZEVcgAVeMLF48oM=";
    hash = "sha256-lyYbkO2J3kpZGk8Q3FYfRiQh+BdolCfeEcjlI3W/rIw=";
  };

  patches = [
+59 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  cargo,
  fetchFromGitHub,
  lib,
  numpy,
  pytest-repeat,
  pytestCheckHook,
  rustPlatform,
  rustc,
  setuptools,
}:

buildPythonPackage rec {
  pname = "stringzilla";
  version = "3.10.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ashvardanian";
    repo = "stringzilla";
    rev = "refs/tags/v${version}";
    hash = "sha256-E7w6s813OGCld/GRTHMbjVAReTGb37HlB687gP9N9FA=";
  };

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit src;
    name = "${pname}-${version}";
    hash = "sha256-36LN9AoAWA//pldmQZtKMrck4EoGUW9G2vzdsRw08SA=";
  };

  build-system = [
    setuptools
  ];

  nativeBuildInputs = [
    cargo
    rustPlatform.cargoSetupHook
    rustc
  ];

  pythonImportsCheck = [ "stringzilla" ];

  nativeCheckInputs = [
    numpy
    pytest-repeat
    pytestCheckHook
  ];

  pytestFlagsArray = [ "scripts/test.py" ];

  meta = {
    changelog = "https://github.com/ashvardanian/StringZilla/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
    description = "SIMD-accelerated string search, sort, hashes, fingerprints, & edit distances";
    homepage = "https://github.com/ashvardanian/stringzilla";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -15145,6 +15145,8 @@ self: super: with self; {
  stringparser = callPackage ../development/python-modules/stringparser { };
  stringzilla = callPackage ../development/python-modules/stringzilla { };
  stripe = callPackage ../development/python-modules/stripe { };
  striprtf = callPackage ../development/python-modules/striprtf { };