pythonPackages.wtforms: 2.1 -> 2.3.1

2.1 is from 2015!
https://github.com/wtforms/wtforms/blob/master/CHANGES.rst
This commit is contained in:
Benjamin Hipple 2020-06-04 17:24:31 -04:00 committed by Jon
parent 9ef0636f15
commit 86990d6007

View File

@ -1,29 +1,29 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, Babel , markupsafe
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2.1"; version = "2.3.1";
pname = "wtforms"; pname = "WTForms";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; sha256 = "0whrd9cqhlibm31yqhvhp9illddxf0cpgcn3v806f7ajmsri66l6";
sha256 = "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz";
}; };
propagatedBuildInputs = [ markupsafe ];
# Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet." # Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
# This is fixed in master I believe but not yet in 2.1;
doCheck = false; doCheck = false;
propagatedBuildInputs = [ Babel ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/wtforms/wtforms";
description = "A flexible forms validation and rendering library for Python"; description = "A flexible forms validation and rendering library for Python";
homepage = "https://github.com/wtforms/wtforms";
changelog = "https://github.com/wtforms/wtforms/blob/${version}/CHANGES.rst";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.bhipple ];
}; };
} }