Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-soupsieve for openSUSE:Factory checked in at 2021-05-12 19:31:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-soupsieve (Old) and /work/SRC/openSUSE:Factory/.python-soupsieve.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-soupsieve" Wed May 12 19:31:20 2021 rev:13 rq:891894 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-soupsieve/python-soupsieve.changes 2021-03-12 13:31:19.426157863 +0100 +++ /work/SRC/openSUSE:Factory/.python-soupsieve.new.2988/python-soupsieve.changes 2021-05-12 19:31:27.747225988 +0200 @@ -1,0 +2,6 @@ +Sun May 9 17:07:24 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- udpate to 2.2.1: + - **FIX**: Fix an issue with namespaces when one of the keys is `self`. + +------------------------------------------------------------------- Old: ---- soupsieve-2.2.tar.gz New: ---- soupsieve-2.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-soupsieve.spec ++++++ --- /var/tmp/diff_new_pack.7dHtzm/_old 2021-05-12 19:31:28.239223801 +0200 +++ /var/tmp/diff_new_pack.7dHtzm/_new 2021-05-12 19:31:28.243223784 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-soupsieve +# spec file for package python-soupsieve-test # # Copyright (c) 2021 SUSE LLC # @@ -27,7 +27,7 @@ %endif %define skip_python2 1 Name: python-soupsieve%{psuffix} -Version: 2.2 +Version: 2.2.1 Release: 0 Summary: A modern CSS selector implementation for BeautifulSoup License: MIT ++++++ soupsieve-2.2.tar.gz -> soupsieve-2.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/PKG-INFO new/soupsieve-2.2.1/PKG-INFO --- old/soupsieve-2.2/PKG-INFO 2021-02-09 20:57:13.208084600 +0100 +++ new/soupsieve-2.2.1/PKG-INFO 2021-03-19 05:59:30.715582600 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: soupsieve -Version: 2.2 +Version: 2.2.1 Summary: A modern CSS selector implementation for Beautiful Soup. Home-page: https://github.com/facelessuser/soupsieve Author: Isaac Muse diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/docs/src/markdown/about/changelog.md new/soupsieve-2.2.1/docs/src/markdown/about/changelog.md --- old/soupsieve-2.2/docs/src/markdown/about/changelog.md 2021-02-09 20:57:00.000000000 +0100 +++ new/soupsieve-2.2.1/docs/src/markdown/about/changelog.md 2021-03-19 05:59:26.000000000 +0100 @@ -1,5 +1,9 @@ # Changelog +## 2.2.1 + +- **FIX**: Fix an issue with namespaces when one of the keys is `self`. + ## 2.2 - **NEW**: `:link` and `:any-link` no longer include `#!html <link>` due to a change in the level 4 selector diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/docs/src/markdown/selectors/pseudo-classes.md new/soupsieve-2.2.1/docs/src/markdown/selectors/pseudo-classes.md --- old/soupsieve-2.2/docs/src/markdown/selectors/pseudo-classes.md 2021-02-09 20:57:00.000000000 +0100 +++ new/soupsieve-2.2.1/docs/src/markdown/selectors/pseudo-classes.md 2021-03-19 05:59:26.000000000 +0100 @@ -867,7 +867,7 @@ Level 4 CSS adds the additional pattern in the form `an+b of S` where `S` represents a selector list. `an+b` can also be substituted with `even` or `odd`. - Wen using the pattern `an+b of S`, the pattern will select elements from a sub-group of sibling elements that all + When using the pattern `an+b of S`, the pattern will select elements from a sub-group of sibling elements that all match the selector list (`[of S]?`), based on their position within that sub-group, using the pattern `an+b`, for every positive integer or zero value of `n`. The index of the first element is `1`. The values `a` and `b` must both be integers. @@ -961,7 +961,7 @@ Level 4 CSS adds the additional pattern in the form `an+b of S` where `S` represents a selector list. `an+b` can also be substituted with `even` or `odd`. - Wen using the pattern `an+b of S`, the pattern will select elements from a sub-group of sibling elements that all + When using the pattern `an+b of S`, the pattern will select elements from a sub-group of sibling elements that all match the selector list (`[of S]?`), based on their position within that sub-group, using the pattern `an+b`, for every positive integer or zero value of `n`. The index of the first element is `1`. The values `a` and `b` must both be integers. Elements will be counted from the end. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/requirements/docs.txt new/soupsieve-2.2.1/requirements/docs.txt --- old/soupsieve-2.2/requirements/docs.txt 2021-02-09 20:57:00.000000000 +0100 +++ new/soupsieve-2.2.1/requirements/docs.txt 2021-03-19 05:59:26.000000000 +0100 @@ -1,4 +1,4 @@ -mkdocs_pymdownx_material_extras==1.1.3 +mkdocs_pymdownx_material_extras==1.2.2 mkdocs-git-revision-date-localized-plugin mkdocs-minify-plugin pyspelling diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/soupsieve/__init__.py new/soupsieve-2.2.1/soupsieve/__init__.py --- old/soupsieve-2.2/soupsieve/__init__.py 2021-02-09 20:57:00.000000000 +0100 +++ new/soupsieve-2.2.1/soupsieve/__init__.py 2021-03-19 05:59:26.000000000 +0100 @@ -44,11 +44,11 @@ """Compile CSS pattern.""" if namespaces is not None: - namespaces = ct.Namespaces(**namespaces) + namespaces = ct.Namespaces(namespaces) custom = kwargs.get('custom') if custom is not None: - custom = ct.CustomSelectors(**custom) + custom = ct.CustomSelectors(custom) if isinstance(pattern, SoupSieve): if flags: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/soupsieve/__meta__.py new/soupsieve-2.2.1/soupsieve/__meta__.py --- old/soupsieve-2.2/soupsieve/__meta__.py 2021-02-09 20:57:00.000000000 +0100 +++ new/soupsieve-2.2.1/soupsieve/__meta__.py 2021-03-19 05:59:26.000000000 +0100 @@ -188,5 +188,5 @@ return Version(major, minor, micro, release, pre, post, dev) -__version_info__ = Version(2, 2, 0, "final") +__version_info__ = Version(2, 2, 1, "final") __version__ = __version_info__._get_canonical() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/soupsieve/css_types.py new/soupsieve-2.2.1/soupsieve/css_types.py --- old/soupsieve-2.2/soupsieve/css_types.py 2021-02-09 20:57:00.000000000 +0100 +++ new/soupsieve-2.2.1/soupsieve/css_types.py 2021-03-19 05:59:26.000000000 +0100 @@ -89,10 +89,10 @@ class ImmutableDict(Mapping): """Hashable, immutable dictionary.""" - def __init__(self, *args, **kwargs): + def __init__(self, arg): """Initialize.""" - arg = args[0] if args else kwargs + arg is_dict = isinstance(arg, dict) if ( is_dict and not all([isinstance(v, Hashable) for v in arg.values()]) or @@ -100,7 +100,7 @@ ): raise TypeError('All values must be hashable') - self._d = dict(*args, **kwargs) + self._d = dict(arg) self._hash = hash(tuple([(type(x), x, type(y), y) for x, y in sorted(self._d.items())])) def __iter__(self): @@ -133,39 +133,37 @@ class Namespaces(ImmutableDict): """Namespaces.""" - def __init__(self, *args, **kwargs): + def __init__(self, arg): """Initialize.""" # If there are arguments, check the first index. # `super` should fail if the user gave multiple arguments, # so don't bother checking that. - arg = args[0] if args else kwargs is_dict = isinstance(arg, dict) if is_dict and not all([isinstance(k, str) and isinstance(v, str) for k, v in arg.items()]): raise TypeError('Namespace keys and values must be Unicode strings') elif not is_dict and not all([isinstance(k, str) and isinstance(v, str) for k, v in arg]): raise TypeError('Namespace keys and values must be Unicode strings') - super(Namespaces, self).__init__(*args, **kwargs) + super(Namespaces, self).__init__(arg) class CustomSelectors(ImmutableDict): """Custom selectors.""" - def __init__(self, *args, **kwargs): + def __init__(self, arg): """Initialize.""" # If there are arguments, check the first index. # `super` should fail if the user gave multiple arguments, # so don't bother checking that. - arg = args[0] if args else kwargs is_dict = isinstance(arg, dict) if is_dict and not all([isinstance(k, str) and isinstance(v, str) for k, v in arg.items()]): raise TypeError('CustomSelectors keys and values must be Unicode strings') elif not is_dict and not all([isinstance(k, str) and isinstance(v, str) for k, v in arg]): raise TypeError('CustomSelectors keys and values must be Unicode strings') - super(CustomSelectors, self).__init__(*args, **kwargs) + super(CustomSelectors, self).__init__(arg) class Selector(Immutable): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/soupsieve.egg-info/PKG-INFO new/soupsieve-2.2.1/soupsieve.egg-info/PKG-INFO --- old/soupsieve-2.2/soupsieve.egg-info/PKG-INFO 2021-02-09 20:57:12.000000000 +0100 +++ new/soupsieve-2.2.1/soupsieve.egg-info/PKG-INFO 2021-03-19 05:59:30.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: soupsieve -Version: 2.2 +Version: 2.2.1 Summary: A modern CSS selector implementation for Beautiful Soup. Home-page: https://github.com/facelessuser/soupsieve Author: Isaac Muse diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/soupsieve-2.2/tests/test_level3/test_not.py new/soupsieve-2.2.1/tests/test_level3/test_not.py --- old/soupsieve-2.2/tests/test_level3/test_not.py 2021-02-09 20:57:00.000000000 +0100 +++ new/soupsieve-2.2.1/tests/test_level3/test_not.py 2021-03-19 05:59:26.000000000 +0100 @@ -52,6 +52,6 @@ def test_none_inputs(self): """Test weird inputs.""" - soup = BS('<span foo-"something">text</span>', 'html.parser') + soup = BS('<span foo="something">text</span>', 'html.parser') soup.span['foo'] = None self.assertEqual(len(soup.select('span:not([foo])')), 0)