Merge pull request #155221 from gador/wtforms-update

This commit is contained in:
Sandro 2022-01-17 00:16:20 +01:00 committed by GitHub
commit b1021ac29a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";