Skip to content

Commit 74c5ac6

Browse files
committed
elaborate on the email-validator dependencies
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6102 b75ad72c-e7d7-11dd-a971-7dbc132099af
1 parent dab2486 commit 74c5ac6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,13 @@ sudo pip install pygdb
279279

280280
The optional but recommended email-validator module used for verification e.g.
281281
of user email addresses during sign up is available with pip. It relies on
282-
the similarly pip installable dnspython library, which migrated to python 3 in
283-
the 2.x versions. Thus, for it to work with older python versions the pip
284-
installation command requires an explicit 1.x version as in:
285-
sudo pip install dnspython==1.16.0 email-validator
286-
For python 3.x one can simply install with pip3 without such workarounds:
282+
the similarly pip installable dnspython library, which dropped python2 support
283+
in the 2.x series. Furthermore email-validator itself silently started
284+
migrating to python 3 in the 1.3.x and officially in 2.x version. Thus, for it
285+
to work with python2 versions the pip installation command requires quite
286+
explicit versions as in:
287+
sudo pip install 'dnspython<2.0' 'email-validator<1.3'
288+
For python 3 one can simply install with pip3 without such workarounds:
287289
sudo pip3 install email-validator
288290

289291
The optional workflows module relies on the python special modules

0 commit comments

Comments
 (0)