Skip to content

Commit 0883b04

Browse files
Merge release branch for astroid 3.0.0
2 parents 1f0f2f8 + 0ea6d86 commit 0883b04

File tree

5 files changed

+30
-24
lines changed

5 files changed

+30
-24
lines changed

ChangeLog

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,22 @@
22
astroid's ChangeLog
33
===================
44

5+
6+
What's New in astroid 3.1.0?
7+
============================
8+
Release date: TBA
9+
10+
11+
12+
What's New in astroid 3.0.1?
13+
============================
14+
Release date: TBA
15+
16+
17+
518
What's New in astroid 3.0.0?
619
=============================
7-
Release date: TBA
20+
Release date: 2023-09-25
821

922
* Add support for Python 3.12, including PEP 695 type parameter syntax.
1023

@@ -14,6 +27,14 @@ Release date: TBA
1427

1528
Refs #2137
1629

30+
* Use the global inference cache when inferring, even without an explicit
31+
``InferenceContext``. This is a significant performance improvement given how
32+
often methods default to ``None`` for the context argument. (Linting ``astroid``
33+
itself now takes ~5% less time on Python 3.12; other projects requiring more
34+
complex inference calculations will see greater speedups.)
35+
36+
Refs #529
37+
1738
* Following a deprecation period starting in astroid 2.7.0, the ``astroid.node_classes``
1839
and ``astroid.scoped_nodes`` modules have been removed in favor of ``astroid.nodes.node_classes``
1940
and ``astroid.nodes.scoped_nodes``.
@@ -72,14 +93,6 @@ Release date: TBA
7293
Closes pylint-dev/pylint#7464
7394
Closes pylint-dev/pylint#8074
7495

75-
* Use the global inference cache when inferring, even without an explicit
76-
``InferenceContext``. This is a significant performance improvement given how
77-
often methods default to ``None`` for the context argument. (Linting ``astroid``
78-
itself now takes ~5% less time on Python 3.12; other projects requiring more
79-
complex inference calculations will see greater speedups.)
80-
81-
Refs #529
82-
8396
* Fix interrupted ``InferenceContext`` call chains, thereby addressing performance
8497
problems when linting ``sqlalchemy``.
8598

@@ -225,7 +238,12 @@ Release date: TBA
225238

226239
What's New in astroid 2.15.8?
227240
=============================
228-
Release date: TBA
241+
Release date: 2023-09-26
242+
243+
* Fix a regression in 2.15.7 for ``unsubscriptable-object``.
244+
245+
Closes #2305
246+
Closes pylint-dev/pylint#9069
229247

230248
* Fix a regression in 2.15.7 for ``unsubscriptable-object``.
231249

astroid/__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
33
# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
44

5-
__version__ = "3.0.0b1-dev0"
5+
__version__ = "3.1.0-dev0"
66
version = __version__

doc/upgrade_guide.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/whatsnew.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ The "Changelog" contains *all* nontrivial changes to astroid for the current ver
88
.. toctree::
99
:maxdepth: 2
1010

11-
upgrade_guide
1211
changelog

tbump.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/pylint-dev/astroid"
22

33
[version]
4-
current = "3.0.0b1-dev0"
4+
current = "3.1.0-dev0"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)