From 356187f8df4d3656c9dba98da086e8312c5d222d Mon Sep 17 00:00:00 2001 From: Guillaume Viger Date: Mon, 27 Apr 2020 14:13:25 -0500 Subject: [PATCH 1/2] dependencies: fix missing email_validator [more] This is a 'quick' fix for the 2.3.1 breaking change in wtforms that requires the email-validator library. WTForms is brought in from flask-security and flask-security is a dependency of invenio-accounts. The real fix would be switching to 'flask-security-too` since flask-security is not maintained anymore. However, a cursory attempt has generated more errors. So until we can address those errors, this fix can do. - also fixes pytest dependency issues --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1ace269f..13aed7b6 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ 'mock>=2.0.0', 'pydocstyle>=1.0.0', 'pytest-cov>=1.8.0', - 'pytest-flask>=0.10.0', + 'pytest-flask>=0.10.0,<1.0.0', 'pytest-pep8>=1.0.6', 'pytest>=4.0.0,<5.0.0', 'selenium>=3.0.1', @@ -72,6 +72,7 @@ 'Flask-Menu>=0.5.0', 'Flask-Security>=3.0.0', 'Flask-WTF>=0.14.3', + 'email-validator>=1.0.5', 'future>=0.16.0', 'invenio-base>=1.2.2', 'invenio-i18n>=1.2.0', @@ -85,7 +86,7 @@ # Not using 'ipaddress' extras for SQLALchemy-Utils in favor of # direct 'ipaddr' version marker (issues with Python3 builds on Travis). 'SQLAlchemy-Utils>=0.31.0', - 'ua-parser>=0.7.3', + 'ua-parser>=0.7.3' ] packages = find_packages() From 450175c37a890c3502b7ff4cd46974f858a8cf4c Mon Sep 17 00:00:00 2001 From: Lars Holm Nielsen Date: Tue, 28 Apr 2020 09:00:32 +0200 Subject: [PATCH 2/2] installation: changes for v1.1.3 and v1.2.1 --- CHANGES.rst | 10 ++++++++++ invenio_accounts/version.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 47a4f338..96fab3cb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,10 +8,20 @@ Changes ======= +Version 1.2.1 (released 2020-04-28) + +- Fixes issue with the latest WTForms v2.3.x release which now requires an + extra library for email validation. + Version 1.2.0 (released 2020-03-09) - Replaces Flask dependency with centrally managed invenio-base +Version 1.1.4 (released 2020-04-28) + +- Fixes issue with the latest WTForms v2.3.x release which now requires an + extra library for email validation. + Version 1.1.3 (released 2020-02-19) - Replaces Flask-CeleryExt to invenio-celery due to version incompatibilities diff --git a/invenio_accounts/version.py b/invenio_accounts/version.py index 64a34226..20c5652b 100644 --- a/invenio_accounts/version.py +++ b/invenio_accounts/version.py @@ -14,4 +14,4 @@ from __future__ import absolute_import, print_function -__version__ = '1.2.0' +__version__ = '1.2.1'