Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-astroid for openSUSE:Factory checked in at 2023-05-16 14:16:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-astroid (Old) and /work/SRC/openSUSE:Factory/.python-astroid.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-astroid" Tue May 16 14:16:04 2023 rev:46 rq:1087263 version:2.15.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-astroid/python-astroid.changes 2023-04-29 17:27:52.230474325 +0200 +++ /work/SRC/openSUSE:Factory/.python-astroid.new.1533/python-astroid.changes 2023-05-16 14:27:10.543655961 +0200 @@ -1,0 +2,6 @@ +Mon May 15 16:15:33 UTC 2023 - Dirk Müller <[email protected]> + +- update to 2.15.5: + * Handle ``objects.Super`` in ``helpers.object_type()``. + +------------------------------------------------------------------- Old: ---- astroid-2.15.4-gh.tar.gz New: ---- astroid-2.15.5-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-astroid.spec ++++++ --- /var/tmp/diff_new_pack.bWxjcg/_old 2023-05-16 14:27:11.199659712 +0200 +++ /var/tmp/diff_new_pack.bWxjcg/_new 2023-05-16 14:27:11.203659735 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-astroid -Version: 2.15.4 +Version: 2.15.5 Release: 0 Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later ++++++ astroid-2.15.4-gh.tar.gz -> astroid-2.15.5-gh.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/astroid-2.15.4/ChangeLog new/astroid-2.15.5/ChangeLog --- old/astroid-2.15.4/ChangeLog 2023-04-24 10:51:12.000000000 +0200 +++ new/astroid-2.15.5/ChangeLog 2023-05-14 19:31:36.000000000 +0200 @@ -8,12 +8,21 @@ -What's New in astroid 2.15.5? +What's New in astroid 2.15.6? ============================= Release date: TBA +What's New in astroid 2.15.5? +============================= +Release date: 2023-05-14 + +* Handle ``objects.Super`` in ``helpers.object_type()``. + + Refs pylint-dev/pylint#8554 + + What's New in astroid 2.15.4? ============================= Release date: 2023-04-24 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/astroid-2.15.4/astroid/__pkginfo__.py new/astroid-2.15.5/astroid/__pkginfo__.py --- old/astroid-2.15.4/astroid/__pkginfo__.py 2023-04-24 10:51:12.000000000 +0200 +++ new/astroid-2.15.5/astroid/__pkginfo__.py 2023-05-14 19:31:36.000000000 +0200 @@ -2,5 +2,5 @@ # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt -__version__ = "2.15.4" +__version__ = "2.15.5" version = __version__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/astroid-2.15.4/astroid/helpers.py new/astroid-2.15.5/astroid/helpers.py --- old/astroid-2.15.4/astroid/helpers.py 2023-04-24 10:51:12.000000000 +0200 +++ new/astroid-2.15.5/astroid/helpers.py 2023-05-14 19:31:36.000000000 +0200 @@ -8,7 +8,7 @@ from collections.abc import Generator -from astroid import bases, manager, nodes, raw_building, util +from astroid import bases, manager, nodes, objects, raw_building, util from astroid.context import CallContext, InferenceContext from astroid.exceptions import ( AstroidTypeError, @@ -65,7 +65,7 @@ raise InferenceError elif isinstance(inferred, util.UninferableBase): yield inferred - elif isinstance(inferred, (bases.Proxy, nodes.Slice)): + elif isinstance(inferred, (bases.Proxy, nodes.Slice, objects.Super)): yield inferred._proxied else: # pragma: no cover raise AssertionError(f"We don't handle {type(inferred)} currently") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/astroid-2.15.4/requirements_test_brain.txt new/astroid-2.15.5/requirements_test_brain.txt --- old/astroid-2.15.4/requirements_test_brain.txt 2023-04-24 10:51:12.000000000 +0200 +++ new/astroid-2.15.5/requirements_test_brain.txt 2023-05-14 19:31:36.000000000 +0200 @@ -8,5 +8,5 @@ types-python-dateutil six types-six -urllib3 +urllib3>1,<2 typing_extensions>=4.4.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/astroid-2.15.4/tbump.toml new/astroid-2.15.5/tbump.toml --- old/astroid-2.15.4/tbump.toml 2023-04-24 10:51:12.000000000 +0200 +++ new/astroid-2.15.5/tbump.toml 2023-05-14 19:31:36.000000000 +0200 @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/astroid" [version] -current = "2.15.4" +current = "2.15.5" regex = ''' ^(?P<major>0|[1-9]\d*) \. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/astroid-2.15.4/tests/test_helpers.py new/astroid-2.15.5/tests/test_helpers.py --- old/astroid-2.15.4/tests/test_helpers.py 2023-04-24 10:51:12.000000000 +0200 +++ new/astroid-2.15.5/tests/test_helpers.py 2023-05-14 19:31:36.000000000 +0200 @@ -42,6 +42,7 @@ ("type", self._extract("type")), ("object", self._extract("type")), ("object()", self._extract("object")), + ("super()", self._extract("super")), ("lambda: None", self._build_custom_builtin("function")), ("len", self._build_custom_builtin("builtin_function_or_method")), ("None", self._build_custom_builtin("NoneType")), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/astroid-2.15.4/tests/test_modutils.py new/astroid-2.15.5/tests/test_modutils.py --- old/astroid-2.15.4/tests/test_modutils.py 2023-04-24 10:51:12.000000000 +0200 +++ new/astroid-2.15.5/tests/test_modutils.py 2023-05-14 19:31:36.000000000 +0200 @@ -28,9 +28,9 @@ try: import urllib3 # pylint: disable=unused-import - HAS_URLLIB3 = True + HAS_URLLIB3_V1 = urllib3.__version__.startswith("1") except ImportError: - HAS_URLLIB3 = False + HAS_URLLIB3_V1 = False def _get_file_from_object(obj) -> str: @@ -547,8 +547,9 @@ ) [email protected](not HAS_URLLIB3, reason="This test requires urllib3.") [email protected](not HAS_URLLIB3_V1, reason="This test requires urllib3 < 2.") def test_file_info_from_modpath__SixMetaPathImporter() -> None: + """Six is not backported anymore in urllib3 v2.0.0+""" assert modutils.file_info_from_modpath(["urllib3.packages.six.moves.http_client"])
