Merge pull request #175677 from dotlambda/wand-tests

python310Packages.wand: run tests
This commit is contained in:
Jonas Heinrich 2022-11-16 12:02:55 +01:00 committed by GitHub
commit f2457c637f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 6 deletions

View file

@ -2,14 +2,16 @@
, buildPythonPackage
, fetchPypi
, imagemagickBig
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Wand";
pname = "wand";
version = "0.6.10";
src = fetchPypi {
inherit pname version;
pname = "Wand";
inherit version;
sha256 = "sha256-Nz9KfyhmyGjDHOkQ4fmzapLRMmQKIAaOwXzqMoT+3Fc=";
};
@ -19,8 +21,17 @@ buildPythonPackage rec {
"magick_home = '${imagemagickBig}'"
'';
# tests not included with pypi release
doCheck = false;
checkInputs = [
pytestCheckHook
];
disabledTests = [
# https://github.com/emcconville/wand/issues/558
"test_forward_fourier_transform"
"test_inverse_fourier_transform"
# our imagemagick doesn't set MagickReleaseDate
"test_configure_options"
];
passthru.imagemagick = imagemagickBig;

View file

@ -31,7 +31,7 @@ python3.pkgs.buildPythonApplication rec {
sqlalchemy
tornado
unidecode
Wand
wand
werkzeug
];

View file

@ -208,6 +208,7 @@ mapAliases ({
tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
types-cryptography = throw "types-cryptography has been removed because it is obsolete since cryptography version 3.4.4."; # added 2022-05-30
types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
Wand = wand; # added 2022-11-13
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29
websocket_client = websocket-client; # added 2021-06-15

View file

@ -11786,7 +11786,7 @@ self: super: with self; {
wallbox = callPackage ../development/python-modules/wallbox { };
Wand = callPackage ../development/python-modules/Wand { };
wand = callPackage ../development/python-modules/wand { };
wandb = callPackage ../development/python-modules/wandb { };