From 2c5918efbd54cec489c881de677c8c8abd84bfc25f6dcfab57e9e6267531cd85 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 3 Dec 2022 07:26:11 +0000 Subject: [PATCH] Accepting request 1039708 from home:yarunachalam:branches:devel:languages:python - Update to 2.12.13: * Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``. Refs PyCQA/pylint#5099 * Prevent a crash when inferring calls to ``str.format`` with inferred arguments that would be invalid. Closes #1856 * Infer the `length` argument of the ``random.sample`` function. Refs PyCQA/pylint#7706 * Catch ``ValueError`` when indexing some builtin containers and sequences during inference. Closes #1843 OBS-URL: https://build.opensuse.org/request/show/1039708 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=78 --- astroid-2.12.12-gh.tar.gz | 3 --- astroid-2.12.13-gh.tar.gz | 3 +++ python-astroid.changes | 17 +++++++++++++++++ python-astroid.spec | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 astroid-2.12.12-gh.tar.gz create mode 100644 astroid-2.12.13-gh.tar.gz diff --git a/astroid-2.12.12-gh.tar.gz b/astroid-2.12.12-gh.tar.gz deleted file mode 100644 index 5af5c05..0000000 --- a/astroid-2.12.12-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df8409e1aaa1119b1417b37aa5ec4987477730bdd7c132c51f650e34363b0418 -size 437277 diff --git a/astroid-2.12.13-gh.tar.gz b/astroid-2.12.13-gh.tar.gz new file mode 100644 index 0000000..3ea6dc7 --- /dev/null +++ b/astroid-2.12.13-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8002fe851dae5eea3d0e74be87bcb1ad6cd252277c713f0fe5d4f3564890a4c +size 437906 diff --git a/python-astroid.changes b/python-astroid.changes index 9e2cbe2..b4418f7 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sat Dec 3 03:46:28 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 2.12.13: + * Prevent returning an empty list for ``ClassDef.slots()`` when the mro list contains one class & it is not ``object``. + Refs PyCQA/pylint#5099 + + * Prevent a crash when inferring calls to ``str.format`` with inferred arguments + that would be invalid. + Closes #1856 + + * Infer the `length` argument of the ``random.sample`` function. + Refs PyCQA/pylint#7706 + + * Catch ``ValueError`` when indexing some builtin containers and sequences during inference. + Closes #1843 + ------------------------------------------------------------------- Thu Oct 27 21:41:48 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-astroid.spec b/python-astroid.spec index 76b6bbe..70c3bf9 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -17,7 +17,7 @@ Name: python-astroid -Version: 2.12.12 +Version: 2.12.13 Release: 0 Summary: Representation of Python source as an AST for pylint License: LGPL-2.1-or-later