python312Packages.albumentations: 1.4.20 -> 1.4.22 (#363443)
This commit is contained in:
@@ -7,12 +7,13 @@
|
||||
pytestCheckHook,
|
||||
numpy,
|
||||
opencv-python,
|
||||
simsimd,
|
||||
stringzilla,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "albucore";
|
||||
version = "0.0.19";
|
||||
version = "0.0.21";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -21,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "albumentations-team";
|
||||
repo = "albucore";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-GwT7Py7pKbpHxx4avj37/hRjSJXdH5uBU11nCITysVw=";
|
||||
hash = "sha256-bIsJ9o1gPCGJZXrzZbRXzS3ZQURcRaWmGBQZsAdX0eg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "opencv-python" ];
|
||||
@@ -31,6 +32,7 @@ buildPythonPackage rec {
|
||||
dependencies = [
|
||||
numpy
|
||||
opencv-python
|
||||
simsimd
|
||||
stringzilla
|
||||
];
|
||||
|
||||
|
||||
@@ -31,16 +31,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "albumentations";
|
||||
version = "1.4.20";
|
||||
version = "1.4.22";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albumentations-team";
|
||||
repo = "albumentations";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-lyYbkO2J3kpZGk8Q3FYfRiQh+BdolCfeEcjlI3W/rIw=";
|
||||
hash = "sha256-kRf8LhRWtzGnhPrQo5aT/4a2sNQCdwAmFFzwcE0QnxM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
numpy,
|
||||
pytest-repeat,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
tabulate,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simsimd";
|
||||
version = "6.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ashvardanian";
|
||||
repo = "simsimd";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Poe0NtDPhQ08V8/bMsZrTFDEIKTi5wTII7UBnJn0msw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"simsimd"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
numpy
|
||||
pytest-repeat
|
||||
pytestCheckHook
|
||||
tabulate
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"scripts/test.py"
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/ashvardanian/SimSIMD/releases/tag/v${version}";
|
||||
description = "Portable mixed-precision BLAS-like vector math library for x86 and ARM";
|
||||
homepage = "https://github.com/ashvardanian/simsimd";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -14705,6 +14705,8 @@ self: super: with self; {
|
||||
|
||||
simpy = callPackage ../development/python-modules/simpy { };
|
||||
|
||||
simsimd = callPackage ../development/python-modules/simsimd { };
|
||||
|
||||
single-source = callPackage ../development/python-modules/single-source { };
|
||||
|
||||
single-version = callPackage ../development/python-modules/single-version { };
|
||||
|
||||
Reference in New Issue
Block a user