Unverified Commit f2457c63 authored by Jonas Heinrich's avatar Jonas Heinrich Committed by GitHub
Browse files

Merge pull request #175677 from dotlambda/wand-tests

python310Packages.wand: run tests
parents d7847617 86ccaac0
Loading
Loading
Loading
Loading
+15 −4
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ python3.pkgs.buildPythonApplication rec {
    sqlalchemy
    tornado
    unidecode
    Wand
    wand
    werkzeug
  ];

+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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 { };