python312Packages.imagehash: 4.3.1 -> 4.3.2 (#352313)

This commit is contained in:
Fabian Affolter 2024-10-30 17:11:01 +01:00 committed by GitHub
commit 4aaf664459
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 61 additions and 45 deletions

View File

@ -2,41 +2,52 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
numpy,
six,
scipy,
pillow,
pytestCheckHook,
pythonOlder,
pywavelets,
scipy,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "imagehash";
version = "4.3.1";
format = "setuptools";
version = "4.3.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "JohannesBuchner";
repo = "imagehash";
rev = "v${version}";
hash = "sha256-Tsq10TZqnzNTuO4goKjdylN4Eqy7DNbHLjr5n3+nidM=";
rev = "refs/tags/v${version}";
hash = "sha256-/kYINT26ROlB3fIcyyR79nHKg9FsJRQsXQx0Bvl14ec=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
numpy
six
scipy
pillow
pywavelets
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
six
];
pythonImportsCheck = [ "imagehash" ];
meta = with lib; {
description = "Python Perceptual Image Hashing Module";
mainProgram = "find_similar_images.py";
homepage = "https://github.com/JohannesBuchner/imagehash";
changelog = "https://github.com/JohannesBuchner/imagehash/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ e1mo ];
mainProgram = "find_similar_images.py";
};
}

View File

@ -1,54 +1,59 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, dacite
, htmlmin
, imagehash
, jinja2
, matplotlib
, multimethod
, numba
, numpy
, pandas
, phik
, pyarrow
, pydantic
, pyyaml
, requests
, scipy
, seaborn
, statsmodels
, tqdm
, typeguard
, visions
, wordcloud
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
dacite,
htmlmin,
imagehash,
jinja2,
matplotlib,
multimethod,
numba,
numpy,
pandas,
phik,
pyarrow,
pydantic,
pyyaml,
requests,
scipy,
setuptools,
seaborn,
statsmodels,
tqdm,
typeguard,
visions,
wordcloud,
}:
buildPythonPackage rec {
pname = "ydata-profiling";
version = "4.11.0";
version = "4.12.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ydataai";
repo = pname;
repo = "ydata-profiling";
rev = "refs/tags/v${version}";
hash = "sha256-3bgFPPGgLCcJfYr9vmwnHFwz3/zybRI8Aiu5VoOPsNA=";
hash = "sha256-G1qW6HcJi176nfxOBGBK2tLyY/Nnz9STYpZWluWvhP0=";
};
preBuild = ''
echo ${version} > VERSION
'';
build-system = [ setuptools ];
pythonRelaxDeps = [
"imagehash"
"scipy"
];
propagatedBuildInputs = [
dependencies = [
dacite
htmlmin
imagehash
@ -72,9 +77,10 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
pytestCheckHook
pyarrow
pytestCheckHook
];
disabledTestPaths = [
# needs Spark:
"tests/backends/spark_backend"
@ -84,6 +90,7 @@ buildPythonPackage rec {
"tests/unit/test_dataset_schema.py"
"tests/unit/test_modular.py"
];
disabledTests = [
# try to download data:
"test_decorator"
@ -92,9 +99,7 @@ buildPythonPackage rec {
"test_urls"
];
pythonImportsCheck = [
"ydata_profiling"
];
pythonImportsCheck = [ "ydata_profiling" ];
meta = with lib; {
description = "Create HTML profiling reports from Pandas DataFrames";