Hello community, here is the log from the commit of package python-rfc3986 for openSUSE:Factory checked in at 2019-05-20 13:17:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rfc3986 (Old) and /work/SRC/openSUSE:Factory/.python-rfc3986.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rfc3986" Mon May 20 13:17:48 2019 rev:9 rq:703750 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-rfc3986/python-rfc3986.changes 2019-05-07 23:18:44.100890073 +0200 +++ /work/SRC/openSUSE:Factory/.python-rfc3986.new.5148/python-rfc3986.changes 2019-05-20 13:17:49.835932257 +0200 @@ -1,0 +2,8 @@ +Fri May 17 17:14:08 UTC 2019 - Hardik Italia <[email protected]> + +- version update to 1.3.2 + * Remove unnecessary IRI-flavored matchers from rfc3986.misc to speed up + import time on resource-constrained systems. + See also `GitHub #55`_ + +------------------------------------------------------------------- Old: ---- rfc3986-1.3.1.tar.gz New: ---- rfc3986-1.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rfc3986.spec ++++++ --- /var/tmp/diff_new_pack.Fw92d7/_old 2019-05-20 13:17:50.931931685 +0200 +++ /var/tmp/diff_new_pack.Fw92d7/_new 2019-05-20 13:17:50.931931685 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rfc3986 -Version: 1.3.1 +Version: 1.3.2 Release: 0 Summary: Python module for validating URI references per RFC 3986 License: Apache-2.0 ++++++ rfc3986-1.3.1.tar.gz -> rfc3986-1.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/PKG-INFO new/rfc3986-1.3.2/PKG-INFO --- old/rfc3986-1.3.1/PKG-INFO 2019-04-24 02:25:21.745440500 +0200 +++ new/rfc3986-1.3.2/PKG-INFO 2019-05-13 17:58:07.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: rfc3986 -Version: 1.3.1 +Version: 1.3.2 Summary: Validating URI References per RFC 3986 Home-page: http://rfc3986.readthedocs.io Author: Ian Stapleton Cordasco diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/docs/source/release-notes/1.3.2.rst new/rfc3986-1.3.2/docs/source/release-notes/1.3.2.rst --- old/rfc3986-1.3.1/docs/source/release-notes/1.3.2.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/rfc3986-1.3.2/docs/source/release-notes/1.3.2.rst 2019-05-13 17:56:16.000000000 +0200 @@ -0,0 +1,12 @@ +1.3.2 -- 2019-05-13 +------------------- + +- Remove unnecessary IRI-flavored matchers from ``rfc3986.misc`` to + speed up import time on resource-constrained systems. + + See also `GitHub #55`_ + +.. links + +.. _GitHub #55: + https://github.com/python-hyper/rfc3986/pull/55 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/docs/source/release-notes/index.rst new/rfc3986-1.3.2/docs/source/release-notes/index.rst --- old/rfc3986-1.3.1/docs/source/release-notes/index.rst 2019-04-24 02:13:33.000000000 +0200 +++ new/rfc3986-1.3.2/docs/source/release-notes/index.rst 2019-05-13 17:56:16.000000000 +0200 @@ -10,6 +10,7 @@ .. toctree:: + 1.3.2 1.3.1 1.3.0 1.2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/src/rfc3986/__init__.py new/rfc3986-1.3.2/src/rfc3986/__init__.py --- old/rfc3986-1.3.1/src/rfc3986/__init__.py 2019-04-24 02:13:22.000000000 +0200 +++ new/rfc3986-1.3.2/src/rfc3986/__init__.py 2019-05-13 17:56:16.000000000 +0200 @@ -36,7 +36,7 @@ __author_email__ = '[email protected]' __license__ = 'Apache v2.0' __copyright__ = 'Copyright 2014 Rackspace' -__version__ = '1.3.1' +__version__ = '1.3.2' __all__ = ( 'ParseResult', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/src/rfc3986/misc.py new/rfc3986-1.3.2/src/rfc3986/misc.py --- old/rfc3986-1.3.1/src/rfc3986/misc.py 2019-04-23 14:11:21.000000000 +0200 +++ new/rfc3986-1.3.2/src/rfc3986/misc.py 2019-05-13 17:56:16.000000000 +0200 @@ -110,28 +110,6 @@ abnf_regexp.PORT_RE), re.UNICODE) -IHOST_MATCHER = re.compile('^' + abnf_regexp.IHOST_RE + '$', re.UNICODE) - -IPATH_MATCHER = re.compile(abnf_regexp.IPATH_RE, re.UNICODE) - -IQUERY_MATCHER = re.compile(abnf_regexp.IQUERY_RE, re.UNICODE) - -IFRAGMENT_MATCHER = re.compile(abnf_regexp.IFRAGMENT_RE, re.UNICODE) - - -RELATIVE_IRI_MATCHER = re.compile(u'^%s(?:\\?%s)?(?:%s)?$' % ( - abnf_regexp.IRELATIVE_PART_RE, - abnf_regexp.IQUERY_RE, - abnf_regexp.IFRAGMENT_RE -), re.UNICODE) - -ABSOLUTE_IRI_MATCHER = re.compile(u'^%s:%s(?:\\?%s)?$' % ( - abnf_regexp.COMPONENT_PATTERN_DICT['scheme'], - abnf_regexp.IHIER_PART_RE, - abnf_regexp.IQUERY_RE[1:-1] -), re.UNICODE) - - # Path merger as defined in http://tools.ietf.org/html/rfc3986#section-5.2.3 def merge_paths(base_uri, relative_path): """Merge a base URI's path with a relative URI's path.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/src/rfc3986.egg-info/PKG-INFO new/rfc3986-1.3.2/src/rfc3986.egg-info/PKG-INFO --- old/rfc3986-1.3.1/src/rfc3986.egg-info/PKG-INFO 2019-04-24 02:25:21.000000000 +0200 +++ new/rfc3986-1.3.2/src/rfc3986.egg-info/PKG-INFO 2019-05-13 17:58:07.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: rfc3986 -Version: 1.3.1 +Version: 1.3.2 Summary: Validating URI References per RFC 3986 Home-page: http://rfc3986.readthedocs.io Author: Ian Stapleton Cordasco diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/src/rfc3986.egg-info/SOURCES.txt new/rfc3986-1.3.2/src/rfc3986.egg-info/SOURCES.txt --- old/rfc3986-1.3.1/src/rfc3986.egg-info/SOURCES.txt 2019-04-24 02:25:21.000000000 +0200 +++ new/rfc3986-1.3.2/src/rfc3986.egg-info/SOURCES.txt 2019-05-13 17:58:07.000000000 +0200 @@ -28,6 +28,7 @@ docs/source/release-notes/1.2.0.rst docs/source/release-notes/1.3.0.rst docs/source/release-notes/1.3.1.rst +docs/source/release-notes/1.3.2.rst docs/source/release-notes/index.rst docs/source/user/building.rst docs/source/user/parsing.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rfc3986-1.3.1/tests/test_iri.py new/rfc3986-1.3.2/tests/test_iri.py --- old/rfc3986-1.3.1/tests/test_iri.py 2019-04-24 02:13:11.000000000 +0200 +++ new/rfc3986-1.3.2/tests/test_iri.py 2019-05-13 17:56:16.000000000 +0200 @@ -2,6 +2,7 @@ import pytest import rfc3986 +import sys from rfc3986.exceptions import InvalidAuthority try: @@ -51,7 +52,13 @@ @pytest.mark.parametrize("iri", [ u'http://♥.net', u'http://\u0378.net', - u'http://㛼.com' + pytest.param( + u'http://㛼.com', + marks=pytest.mark.skipif( + sys.version_info < (3, 3) and sys.maxunicode <= 0xFFFF, + reason="Python configured without UCS-4 support" + ) + ), ]) def test_encode_invalid_iri(iri): iri_ref = rfc3986.iri_reference(iri)
