From cd41374c679f0fc6a8778e993eda79caf0f2a6f6 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sat, 24 Apr 2021 15:06:46 +0200 Subject: [PATCH] Prepare for 2.5.4 release --- ChangeLog | 2 +- astroid/__init__.py | 1 + astroid/__pkginfo__.py | 4 ++-- astroid/arguments.py | 1 + astroid/brain/brain_builtin_inference.py | 2 +- astroid/brain/brain_namedtuple_enum.py | 1 + astroid/brain/brain_numpy_core_function_base.py | 1 + astroid/brain/brain_numpy_core_multiarray.py | 2 ++ astroid/brain/brain_numpy_core_numeric.py | 1 + astroid/brain/brain_numpy_core_numerictypes.py | 1 + astroid/brain/brain_numpy_ndarray.py | 1 + astroid/brain/brain_pkg_resources.py | 1 + astroid/brain/brain_scipy_signal.py | 8 ++++---- astroid/brain/brain_typing.py | 2 +- astroid/interpreter/_import/spec.py | 2 +- astroid/interpreter/dunder_lookup.py | 1 + astroid/nodes.py | 1 + astroid/objects.py | 1 + astroid/scoped_nodes.py | 2 +- astroid/transforms.py | 1 + tests/unittest_inference.py | 2 +- tests/unittest_scoped_nodes.py | 2 +- 22 files changed, 27 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 06d500b2a6..c679ef36b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,7 +9,7 @@ Release Date: TBA What's New in astroid 2.5.4? ============================ -Release Date: TBA +Release Date: 2021-04-24 * The packaging is now done via setuptools exclusively. ``doc``, ``tests``, and ``Changelog`` are not packaged anymore - reducing the size of the package greatly. diff --git a/astroid/__init__.py b/astroid/__init__.py index 17ea57ab3e..59c5b4686c 100644 --- a/astroid/__init__.py +++ b/astroid/__init__.py @@ -9,6 +9,7 @@ # Copyright (c) 2019 Nick Drozd # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index 09127c2105..a5fbf4f0bf 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -28,10 +28,10 @@ from typing import Optional -__version__ = "2.6.0" +__version__ = "2.5.4" # For an official release, use 'alpha_version = False' and 'dev_version = None' alpha_version: bool = False # Release will be an alpha version if True (ex: '1.2.3a6') -dev_version: Optional[int] = 1 +dev_version: Optional[int] = None if dev_version is not None: if alpha_version: diff --git a/astroid/arguments.py b/astroid/arguments.py index b9f18e3be2..f62803f4ad 100644 --- a/astroid/arguments.py +++ b/astroid/arguments.py @@ -4,6 +4,7 @@ # Copyright (c) 2018 Nick Drozd # Copyright (c) 2018 Anthony Sottile # Copyright (c) 2020 hippo91 +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_builtin_inference.py b/astroid/brain/brain_builtin_inference.py index 96bf902559..111d5fff4c 100644 --- a/astroid/brain/brain_builtin_inference.py +++ b/astroid/brain/brain_builtin_inference.py @@ -11,8 +11,8 @@ # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 David Gilman # Copyright (c) 2020 Ram Rachum -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_namedtuple_enum.py b/astroid/brain/brain_namedtuple_enum.py index 6adf3bce29..aa43250535 100644 --- a/astroid/brain/brain_namedtuple_enum.py +++ b/astroid/brain/brain_namedtuple_enum.py @@ -14,6 +14,7 @@ # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2020 hippo91 # Copyright (c) 2020 Ram Rachum +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/brain/brain_numpy_core_function_base.py b/astroid/brain/brain_numpy_core_function_base.py index 5901b068e8..3a74c97ff7 100644 --- a/astroid/brain/brain_numpy_core_function_base.py +++ b/astroid/brain/brain_numpy_core_function_base.py @@ -1,5 +1,6 @@ # Copyright (c) 2019-2021 hippo91 # Copyright (c) 2020 Claudiu Popa +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/brain/brain_numpy_core_multiarray.py b/astroid/brain/brain_numpy_core_multiarray.py index 2193c6732d..75def7482c 100644 --- a/astroid/brain/brain_numpy_core_multiarray.py +++ b/astroid/brain/brain_numpy_core_multiarray.py @@ -1,5 +1,7 @@ # Copyright (c) 2019-2020 hippo91 # Copyright (c) 2020 Claudiu Popa +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_numpy_core_numeric.py b/astroid/brain/brain_numpy_core_numeric.py index 4df1e9a919..726745836c 100644 --- a/astroid/brain/brain_numpy_core_numeric.py +++ b/astroid/brain/brain_numpy_core_numeric.py @@ -1,5 +1,6 @@ # Copyright (c) 2019-2021 hippo91 # Copyright (c) 2020 Claudiu Popa +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/brain/brain_numpy_core_numerictypes.py b/astroid/brain/brain_numpy_core_numerictypes.py index ecdabbffb7..d52367d275 100644 --- a/astroid/brain/brain_numpy_core_numerictypes.py +++ b/astroid/brain/brain_numpy_core_numerictypes.py @@ -1,5 +1,6 @@ # Copyright (c) 2019-2020 hippo91 # Copyright (c) 2020 Claudiu Popa +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_numpy_ndarray.py b/astroid/brain/brain_numpy_ndarray.py index c404c27f9e..2d0ad77a37 100644 --- a/astroid/brain/brain_numpy_ndarray.py +++ b/astroid/brain/brain_numpy_ndarray.py @@ -1,6 +1,7 @@ # Copyright (c) 2015-2016, 2018-2020 Claudiu Popa # Copyright (c) 2016 Ceridwen # Copyright (c) 2017-2020 hippo91 +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_pkg_resources.py b/astroid/brain/brain_pkg_resources.py index 08b6fc5310..524d15d320 100644 --- a/astroid/brain/brain_pkg_resources.py +++ b/astroid/brain/brain_pkg_resources.py @@ -1,5 +1,6 @@ # Copyright (c) 2016, 2018 Claudiu Popa # Copyright (c) 2016 Ceridwen +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_scipy_signal.py b/astroid/brain/brain_scipy_signal.py index 1425217ec2..5121073db2 100755 --- a/astroid/brain/brain_scipy_signal.py +++ b/astroid/brain/brain_scipy_signal.py @@ -1,7 +1,7 @@ -# Copyright (c) 2019 Valentin Valls -# Copyright (c) 2020-2021 hippo91 -# Copyright (c) 2020 Claudiu Popa -# Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2019 Valentin Valls +# Copyright (c) 2020-2021 hippo91 +# Copyright (c) 2020 Claudiu Popa +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_typing.py b/astroid/brain/brain_typing.py index cd4cd442c4..e5b68e64a6 100644 --- a/astroid/brain/brain_typing.py +++ b/astroid/brain/brain_typing.py @@ -3,8 +3,8 @@ # Copyright (c) 2017 David Euresti # Copyright (c) 2018 Bryce Guinta # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 hippo91 # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 hippo91 """Astroid hooks for typing.py support.""" import sys diff --git a/astroid/interpreter/_import/spec.py b/astroid/interpreter/_import/spec.py index 88ded050ad..7800af8765 100644 --- a/astroid/interpreter/_import/spec.py +++ b/astroid/interpreter/_import/spec.py @@ -10,8 +10,8 @@ # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2020 Raphael Gaschignard -# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2021 Pierre Sassoulas import abc import collections diff --git a/astroid/interpreter/dunder_lookup.py b/astroid/interpreter/dunder_lookup.py index 4d053d0619..b617edc7e3 100644 --- a/astroid/interpreter/dunder_lookup.py +++ b/astroid/interpreter/dunder_lookup.py @@ -1,4 +1,5 @@ # Copyright (c) 2016-2018 Claudiu Popa +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/nodes.py b/astroid/nodes.py index 310b594e8d..af915b0160 100644 --- a/astroid/nodes.py +++ b/astroid/nodes.py @@ -7,6 +7,7 @@ # Copyright (c) 2017 Ashley Whetter # Copyright (c) 2017 rr- # Copyright (c) 2018 Bryce Guinta +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/objects.py b/astroid/objects.py index f07b41fa99..21e033df03 100644 --- a/astroid/objects.py +++ b/astroid/objects.py @@ -4,6 +4,7 @@ # Copyright (c) 2016 Derek Gustafson # Copyright (c) 2018 hippo91 # Copyright (c) 2018 Bryce Guinta +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/scoped_nodes.py b/astroid/scoped_nodes.py index 801b55ee17..fa5655b733 100644 --- a/astroid/scoped_nodes.py +++ b/astroid/scoped_nodes.py @@ -23,8 +23,8 @@ # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2020 Tim Martin # Copyright (c) 2020 Ram Rachum -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/transforms.py b/astroid/transforms.py index 09fe1847de..1c4081cba0 100644 --- a/astroid/transforms.py +++ b/astroid/transforms.py @@ -1,6 +1,7 @@ # Copyright (c) 2015-2016, 2018 Claudiu Popa # Copyright (c) 2016 Ceridwen # Copyright (c) 2018 Nick Drozd +# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/tests/unittest_inference.py b/tests/unittest_inference.py index 5472a2b0b8..fb361f35f4 100644 --- a/tests/unittest_inference.py +++ b/tests/unittest_inference.py @@ -26,8 +26,8 @@ # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2020 Karthikeyan Singaravelan # Copyright (c) 2020 Bryce Guinta -# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Francis Charette Migneault # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/tests/unittest_scoped_nodes.py b/tests/unittest_scoped_nodes.py index c644080fec..dd6102c6ff 100644 --- a/tests/unittest_scoped_nodes.py +++ b/tests/unittest_scoped_nodes.py @@ -20,8 +20,8 @@ # Copyright (c) 2019 Peter de Blanc # Copyright (c) 2020 David Gilman # Copyright (c) 2020 Tim Martin -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE