Skip to content

Commit

Permalink
Bump astroid to 2.6.6, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Aug 3, 2021
1 parent d5dd575 commit 74adc86
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 17 deletions.
15 changes: 10 additions & 5 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ What's New in astroid 2.7.0?
Release date: TBA


What's New in astroid 2.6.6?
What's New in astroid 2.6.7?
============================
Release date: TBA



What's New in astroid 2.6.6?
============================
Release date: 2021-08-03

* Added support to infer return type of ``typing.cast()``

* Fix variable lookup's handling of exclusive statements
Expand All @@ -23,6 +29,9 @@ Release date: TBA

* Fix variable lookup's handling of except clause variables

* Fix handling of classes with duplicated bases with the same name

Closes PyCQA/astroid#1088

What's New in astroid 2.6.5?
============================
Expand Down Expand Up @@ -54,10 +63,6 @@ Release date: 2021-07-19

* Added ``If.is_sys_guard`` and ``If.is_typing_guard`` helper methods

* Fix handling of classes with duplicated bases with the same name

Closes PyCQA/astroid#1088

* Fix a bad inferenece type for yield values inside of a derived class.

Closes PyCQA/astroid#1090
Expand Down
2 changes: 1 addition & 1 deletion astroid/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE

__version__ = "2.6.6-dev0"
__version__ = "2.6.6"
version = __version__
1 change: 1 addition & 0 deletions astroid/brain/brain_functools.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) 2016, 2018-2020 Claudiu Popa <[email protected]>
# Copyright (c) 2018 hippo91 <[email protected]>
# Copyright (c) 2018 Bryce Guinta <[email protected]>
# Copyright (c) 2021 Alphadelta14 <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>

"""Astroid hooks for understanding functools library module."""
Expand Down
1 change: 1 addition & 0 deletions astroid/brain/brain_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# Copyright (c) 2017 Łukasz Rogalski <[email protected]>
# Copyright (c) 2017 David Euresti <[email protected]>
# Copyright (c) 2018 Bryce Guinta <[email protected]>
# Copyright (c) 2021 Tim Martin <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 hippo91 <[email protected]>
Expand Down
4 changes: 3 additions & 1 deletion astroid/node_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
# Copyright (c) 2019 kavins14 <[email protected]>
# Copyright (c) 2020 Raphael Gaschignard <[email protected]>
# Copyright (c) 2020 Bryce Guinta <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 David Liu <[email protected]>
# Copyright (c) 2021 Alphadelta14 <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Andrew Haigh <[email protected]>
# Copyright (c) 2021 Federico Bond <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions astroid/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Copyright (c) 2016 Derek Gustafson <[email protected]>
# Copyright (c) 2018 hippo91 <[email protected]>
# Copyright (c) 2018 Bryce Guinta <[email protected]>
# Copyright (c) 2021 Alphadelta14 <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion astroid/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
# Copyright (c) 2020-2021 hippo91 <[email protected]>
# Copyright (c) 2020 Vilnis Termanis <[email protected]>
# Copyright (c) 2020 Ram Rachum <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 doranid <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>

# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion astroid/rebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# Copyright (c) 2019-2021 Ashley Whetter <[email protected]>
# Copyright (c) 2019 Hugo van Kemenade <[email protected]>
# Copyright (c) 2019 Zbigniew Jędrzejewski-Szmek <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Federico Bond <[email protected]>
# Copyright (c) 2021 hippo91 <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion astroid/scoped_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
# Copyright (c) 2020 Peter Kolbus <[email protected]>
# Copyright (c) 2020 Tim Martin <[email protected]>
# Copyright (c) 2020 Ram Rachum <[email protected]>
# Copyright (c) 2021 doranid <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 David Liu <[email protected]>
# Copyright (c) 2021 doranid <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Andrew Haigh <[email protected]>
# Copyright (c) 2021 pre-commit-ci[bot] <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ So, you want to release the `X.Y.Z` version of astroid ?
1. Check if the dependencies of the package are correct
2. Install the release dependencies `pip3 install pre-commit tbump`
3. Bump the version and release by using `tbump X.Y.Z --no-push`.
4. Check the result.
4. Check the result (Do `git diff vX.Y.Z-1 ChangeLog` in particular).
5. Push the tag.
6. Release the version on GitHub with the same name as the tag and copy and paste the
appropriate changelog in the description. This trigger the pypi release.
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/astroid"

[version]
current = "2.6.6-dev0"
current = "2.6.6"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down
2 changes: 2 additions & 0 deletions tests/unittest_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
# Copyright (c) 2019 Grygorii Iermolenko <[email protected]>
# Copyright (c) 2020 David Gilman <[email protected]>
# Copyright (c) 2020 Peter Kolbus <[email protected]>
# Copyright (c) 2021 Alphadelta14 <[email protected]>
# Copyright (c) 2021 Tim Martin <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Andrew Haigh <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion tests/unittest_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
# Copyright (c) 2018 Daniel Martin <[email protected]>
# Copyright (c) 2018 Ville Skyttä <[email protected]>
# Copyright (c) 2018 Anthony Sottile <[email protected]>
# Copyright (c) 2019, 2021 David Liu <[email protected]>
# Copyright (c) 2019-2021 hippo91 <[email protected]>
# Copyright (c) 2019 Stanislav Levin <[email protected]>
# Copyright (c) 2019 David Liu <[email protected]>
# Copyright (c) 2019 Ashley Whetter <[email protected]>
# Copyright (c) 2019 Hugo van Kemenade <[email protected]>
# Copyright (c) 2020 David Gilman <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion tests/unittest_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# Copyright (c) 2019 Ashley Whetter <[email protected]>
# Copyright (c) 2019 Hugo van Kemenade <[email protected]>
# Copyright (c) 2020-2021 hippo91 <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 David Liu <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>

# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
Expand Down
2 changes: 1 addition & 1 deletion tests/unittest_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# Copyright (c) 2020-2021 hippo91 <[email protected]>
# Copyright (c) 2020 David Gilman <[email protected]>
# Copyright (c) 2020 Anubhav <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Andrew Haigh <[email protected]>

# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
Expand Down
2 changes: 1 addition & 1 deletion tests/unittest_modutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# Copyright (c) 2019 markmcclain <[email protected]>
# Copyright (c) 2020-2021 hippo91 <[email protected]>
# Copyright (c) 2020 Peter Kolbus <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 DudeNr33 <[email protected]>
# Copyright (c) 2021 pre-commit-ci[bot] <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion tests/unittest_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# Copyright (c) 2019 Alex Hall <[email protected]>
# Copyright (c) 2019 Hugo van Kemenade <[email protected]>
# Copyright (c) 2020 David Gilman <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Federico Bond <[email protected]>
# Copyright (c) 2021 hippo91 <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions tests/unittest_scoped_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# Copyright (c) 2019 Peter de Blanc <[email protected]>
# Copyright (c) 2020 David Gilman <[email protected]>
# Copyright (c) 2020 Tim Martin <[email protected]>
# Copyright (c) 2021 doranid <[email protected]>
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
# Copyright (c) 2021 Marc Mueller <[email protected]>
# Copyright (c) 2021 Andrew Haigh <[email protected]>
Expand Down

0 comments on commit 74adc86

Please sign in to comment.