Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump astroid to 3.0.0, update changelog #2303

Merged
merged 6 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 28 additions & 10 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,22 @@
astroid's ChangeLog
===================


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



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



What's New in astroid 3.0.0?
=============================
Release date: TBA
Release date: 2023-09-25
jacobtylerwalls marked this conversation as resolved.
Show resolved Hide resolved

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

Expand All @@ -14,6 +27,14 @@ Release date: TBA

Refs #2137

* Use the global inference cache when inferring, even without an explicit
``InferenceContext``. This is a significant performance improvement given how
often methods default to ``None`` for the context argument. (Linting ``astroid``
itself now takes ~5% less time on Python 3.12; other projects requiring more
complex inference calculations will see greater speedups.)

Refs #529

* Following a deprecation period starting in astroid 2.7.0, the ``astroid.node_classes``
and ``astroid.scoped_nodes`` modules have been removed in favor of ``astroid.nodes.node_classes``
and ``astroid.nodes.scoped_nodes``.
Expand Down Expand Up @@ -72,14 +93,6 @@ Release date: TBA
Closes pylint-dev/pylint#7464
Closes pylint-dev/pylint#8074

* Use the global inference cache when inferring, even without an explicit
``InferenceContext``. This is a significant performance improvement given how
often methods default to ``None`` for the context argument. (Linting ``astroid``
itself now takes ~5% less time on Python 3.12; other projects requiring more
complex inference calculations will see greater speedups.)

Refs #529

* Fix interrupted ``InferenceContext`` call chains, thereby addressing performance
problems when linting ``sqlalchemy``.

Expand Down Expand Up @@ -225,7 +238,12 @@ Release date: TBA

What's New in astroid 2.15.8?
=============================
Release date: TBA
Release date: 2023-09-26

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

Closes #2305
Closes pylint-dev/pylint#9069

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

Expand Down
2 changes: 1 addition & 1 deletion astroid/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt

__version__ = "3.0.0b1-dev0"
__version__ = "3.1.0-dev0"
version = __version__
11 changes: 0 additions & 11 deletions doc/upgrade_guide.rst

This file was deleted.

1 change: 0 additions & 1 deletion doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ The "Changelog" contains *all* nontrivial changes to astroid for the current ver
.. toctree::
:maxdepth: 2

upgrade_guide
changelog
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/pylint-dev/astroid"

[version]
current = "3.0.0b1-dev0"
current = "3.1.0-dev0"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down