Hello community, here is the log from the commit of package python-validators for openSUSE:Factory checked in at 2020-01-30 09:32:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-validators (Old) and /work/SRC/openSUSE:Factory/.python-validators.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-validators" Thu Jan 30 09:32:53 2020 rev:9 rq:766993 version:0.14.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-validators/python-validators.changes 2019-12-11 12:11:27.476580524 +0100 +++ /work/SRC/openSUSE:Factory/.python-validators.new.26092/python-validators.changes 2020-01-30 09:33:27.653235160 +0100 @@ -1,0 +2,6 @@ +Fri Jan 24 21:49:23 UTC 2020 - Martin Herkt <[email protected]> + +- Update to 0.14.2: + * Made domain validation case-insensitive + +------------------------------------------------------------------- Old: ---- validators-0.14.1.tar.gz New: ---- validators-0.14.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-validators.spec ++++++ --- /var/tmp/diff_new_pack.qAOTgm/_old 2020-01-30 09:33:30.161236502 +0100 +++ /var/tmp/diff_new_pack.qAOTgm/_new 2020-01-30 09:33:30.165236503 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-validators # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-validators -Version: 0.14.1 +Version: 0.14.2 Release: 0 Summary: Python Data Validation License: MIT ++++++ validators-0.14.1.tar.gz -> validators-0.14.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/validators-0.14.1/CHANGES.rst new/validators-0.14.2/CHANGES.rst --- old/validators-0.14.1/CHANGES.rst 2019-12-04 18:50:10.000000000 +0100 +++ new/validators-0.14.2/CHANGES.rst 2020-01-24 10:58:05.000000000 +0100 @@ -2,6 +2,12 @@ --------- +0.14.2 (2020-01-24) +^^^^^^^^^^^^^^^^^^^ + +- Made domain validation case-insensitive (#136, pull request courtesy ehmkah) + + 0.14.1 (2019-12-04) ^^^^^^^^^^^^^^^^^^^ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/validators-0.14.1/PKG-INFO new/validators-0.14.2/PKG-INFO --- old/validators-0.14.1/PKG-INFO 2019-12-04 18:55:00.000000000 +0100 +++ new/validators-0.14.2/PKG-INFO 2020-01-24 11:01:48.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: validators -Version: 0.14.1 +Version: 0.14.2 Summary: Python Data Validation for Humans™. Home-page: https://github.com/kvesteri/validators Author: Konsta Vesterinen diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/validators-0.14.1/tests/test_domain.py new/validators-0.14.2/tests/test_domain.py --- old/validators-0.14.1/tests/test_domain.py 2019-12-04 12:06:42.000000000 +0100 +++ new/validators-0.14.2/tests/test_domain.py 2020-01-24 10:56:27.000000000 +0100 @@ -9,6 +9,7 @@ 'xn----gtbspbbmkef.xn--p1ai', 'underscore_subdomain.example.com', 'something.versicherung', + 'someThing.versicherung', '11.com', '3.cn', 'a.cn', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/validators-0.14.1/validators/__init__.py new/validators-0.14.2/validators/__init__.py --- old/validators-0.14.1/validators/__init__.py 2019-12-04 18:49:36.000000000 +0100 +++ new/validators-0.14.2/validators/__init__.py 2020-01-24 10:58:09.000000000 +0100 @@ -19,4 +19,4 @@ 'ipv4_cidr', 'ipv6', 'ipv6_cidr', 'length', 'mac_address', 'slug', 'truthy', 'url', 'ValidationFailure', 'validator', 'uuid') -__version__ = '0.14.1' +__version__ = '0.14.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/validators-0.14.1/validators/domain.py new/validators-0.14.2/validators/domain.py --- old/validators-0.14.1/validators/domain.py 2019-12-04 12:06:42.000000000 +0100 +++ new/validators-0.14.2/validators/domain.py 2020-01-24 10:56:27.000000000 +0100 @@ -11,10 +11,10 @@ text_type = unicode pattern = re.compile( - r'^(?:[a-z0-9]' # First character of the domain - r'(?:[a-z0-9-_]{0,61}[a-z0-9])?\.)' # Sub domain + hostname - r'+[a-z0-9][a-z0-9-_]{0,61}' # First 61 characters of the gTLD - r'[a-z]$' # Last character of the gTLD + r'^(?:[a-zA-Z0-9]' # First character of the domain + r'(?:[a-zA-Z0-9-_]{0,61}[A-Za-z0-9])?\.)' # Sub domain + hostname + r'+[A-Za-z0-9][A-Za-z0-9-_]{0,61}' # First 61 characters of the gTLD + r'[A-Za-z]$' # Last character of the gTLD ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/validators-0.14.1/validators.egg-info/PKG-INFO new/validators-0.14.2/validators.egg-info/PKG-INFO --- old/validators-0.14.1/validators.egg-info/PKG-INFO 2019-12-04 18:55:00.000000000 +0100 +++ new/validators-0.14.2/validators.egg-info/PKG-INFO 2020-01-24 11:01:48.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: validators -Version: 0.14.1 +Version: 0.14.2 Summary: Python Data Validation for Humans™. Home-page: https://github.com/kvesteri/validators Author: Konsta Vesterinen
