Skip to content

Commit

Permalink
python3Packages.wtforms: 2.3.3 -> 3.0.1
Browse files Browse the repository at this point in the history
needed for pgadmin4 init
NixOS#154764
  • Loading branch information
gador committed Jan 16, 2022
1 parent 2dd5461 commit 0d2fa1e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions pkgs/development/python-modules/wtforms/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,29 @@
, buildPythonPackage
, fetchPypi
, markupsafe
, Babel
, pytestCheckHook
, email_validator
}:

buildPythonPackage rec {
version = "2.3.3";
version = "3.0.1";
pname = "WTForms";

src = fetchPypi {
inherit pname version;
sha256 = "81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c";
sha256 = "1g654ghavds387hqxmhg9s8x222x89wbq1ggzxbsyn6x2axindbb";
};

propagatedBuildInputs = [ markupsafe ];
propagatedBuildInputs = [ markupsafe Babel ];

# Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
doCheck = false;

checkInputs = [
pytestCheckHook
email_validator
];

pythonImportsCheck = [ "wtforms" ];

meta = with lib; {
description = "A flexible forms validation and rendering library for Python";
Expand Down

0 comments on commit 0d2fa1e

Please sign in to comment.