Skip to content

Commit 74adc86

Browse files
Bump astroid to 2.6.6, update changelog
1 parent d5dd575 commit 74adc86

18 files changed

+30
-17
lines changed

ChangeLog

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ What's New in astroid 2.7.0?
77
Release date: TBA
88

99

10-
What's New in astroid 2.6.6?
10+
What's New in astroid 2.6.7?
1111
============================
1212
Release date: TBA
1313

14+
15+
16+
What's New in astroid 2.6.6?
17+
============================
18+
Release date: 2021-08-03
19+
1420
* Added support to infer return type of ``typing.cast()``
1521

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

2430
* Fix variable lookup's handling of except clause variables
2531

32+
* Fix handling of classes with duplicated bases with the same name
33+
34+
Closes PyCQA/astroid#1088
2635

2736
What's New in astroid 2.6.5?
2837
============================
@@ -54,10 +63,6 @@ Release date: 2021-07-19
5463

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

57-
* Fix handling of classes with duplicated bases with the same name
58-
59-
Closes PyCQA/astroid#1088
60-
6166
* Fix a bad inferenece type for yield values inside of a derived class.
6267

6368
Closes PyCQA/astroid#1090

astroid/__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
2525
# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
2626

27-
__version__ = "2.6.6-dev0"
27+
__version__ = "2.6.6"
2828
version = __version__

astroid/brain/brain_functools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) 2016, 2018-2020 Claudiu Popa <[email protected]>
22
# Copyright (c) 2018 hippo91 <[email protected]>
33
# Copyright (c) 2018 Bryce Guinta <[email protected]>
4+
# Copyright (c) 2021 Alphadelta14 <[email protected]>
45
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
56

67
"""Astroid hooks for understanding functools library module."""

astroid/brain/brain_typing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# Copyright (c) 2017 Łukasz Rogalski <[email protected]>
66
# Copyright (c) 2017 David Euresti <[email protected]>
77
# Copyright (c) 2018 Bryce Guinta <[email protected]>
8+
# Copyright (c) 2021 Tim Martin <[email protected]>
89
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
910
# Copyright (c) 2021 Marc Mueller <[email protected]>
1011
# Copyright (c) 2021 hippo91 <[email protected]>

astroid/node_classes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323
# Copyright (c) 2019 kavins14 <[email protected]>
2424
# Copyright (c) 2020 Raphael Gaschignard <[email protected]>
2525
# Copyright (c) 2020 Bryce Guinta <[email protected]>
26-
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
2726
# Copyright (c) 2021 Marc Mueller <[email protected]>
27+
# Copyright (c) 2021 David Liu <[email protected]>
28+
# Copyright (c) 2021 Alphadelta14 <[email protected]>
29+
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
2830
# Copyright (c) 2021 Andrew Haigh <[email protected]>
2931
# Copyright (c) 2021 Federico Bond <[email protected]>
3032

astroid/objects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Copyright (c) 2016 Derek Gustafson <[email protected]>
55
# Copyright (c) 2018 hippo91 <[email protected]>
66
# Copyright (c) 2018 Bryce Guinta <[email protected]>
7+
# Copyright (c) 2021 Alphadelta14 <[email protected]>
78
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
89
# Copyright (c) 2021 Marc Mueller <[email protected]>
910

astroid/protocols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
# Copyright (c) 2020-2021 hippo91 <[email protected]>
1717
# Copyright (c) 2020 Vilnis Termanis <[email protected]>
1818
# Copyright (c) 2020 Ram Rachum <[email protected]>
19+
# Copyright (c) 2021 Marc Mueller <[email protected]>
1920
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
2021
# Copyright (c) 2021 doranid <[email protected]>
21-
# Copyright (c) 2021 Marc Mueller <[email protected]>
2222

2323
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
2424
# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE

astroid/rebuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# Copyright (c) 2019-2021 Ashley Whetter <[email protected]>
1818
# Copyright (c) 2019 Hugo van Kemenade <[email protected]>
1919
# Copyright (c) 2019 Zbigniew Jędrzejewski-Szmek <[email protected]>
20-
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
2120
# Copyright (c) 2021 Marc Mueller <[email protected]>
21+
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
2222
# Copyright (c) 2021 Federico Bond <[email protected]>
2323
# Copyright (c) 2021 hippo91 <[email protected]>
2424

astroid/scoped_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
# Copyright (c) 2020 Peter Kolbus <[email protected]>
2424
# Copyright (c) 2020 Tim Martin <[email protected]>
2525
# Copyright (c) 2020 Ram Rachum <[email protected]>
26+
# Copyright (c) 2021 doranid <[email protected]>
2627
# Copyright (c) 2021 Pierre Sassoulas <[email protected]>
2728
# Copyright (c) 2021 David Liu <[email protected]>
28-
# Copyright (c) 2021 doranid <[email protected]>
2929
# Copyright (c) 2021 Marc Mueller <[email protected]>
3030
# Copyright (c) 2021 Andrew Haigh <[email protected]>
3131
# Copyright (c) 2021 pre-commit-ci[bot] <[email protected]>

doc/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ So, you want to release the `X.Y.Z` version of astroid ?
77
1. Check if the dependencies of the package are correct
88
2. Install the release dependencies `pip3 install pre-commit tbump`
99
3. Bump the version and release by using `tbump X.Y.Z --no-push`.
10-
4. Check the result.
10+
4. Check the result (Do `git diff vX.Y.Z-1 ChangeLog` in particular).
1111
5. Push the tag.
1212
6. Release the version on GitHub with the same name as the tag and copy and paste the
1313
appropriate changelog in the description. This trigger the pypi release.

0 commit comments

Comments
 (0)