From e735d61f7a68a0423d8bf5e9cbf61ddd31582caa Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 5 Oct 2025 10:01:43 -0400 Subject: [PATCH 1/3] Fix changelog typo --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 45e882190..2e115045c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -84,7 +84,7 @@ Release date: TBA * Add basic support for ``ast.TemplateStr`` and ``ast.Interpolation``added in Python 3.14. - refs #2789 + Refs #2789 * Add support for type parameter defaults added in Python 3.13. From 596bf5c9965df34fef3ca5575ccd4e482b867c03 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 5 Oct 2025 10:11:28 -0400 Subject: [PATCH 2/3] Bump astroid to 4.0.0, update changelog --- CONTRIBUTORS.txt | 8 ++++++-- ChangeLog | 14 +++++++++++++- astroid/__pkginfo__.py | 2 +- script/.contributors_aliases.json | 12 ++++++++---- tbump.toml | 2 +- 5 files changed, 29 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 393b38b60..7d7b867e0 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -14,8 +14,8 @@ Ex-maintainers Maintainers ----------- - Pierre Sassoulas -- Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> - Jacob Walls +- Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> - Marc Mueller <30130371+cdce8p@users.noreply.github.com> - Hippo91 - Bryce Guinta @@ -47,6 +47,7 @@ Contributors - Calen Pennington - Antonio - Akhil Kamat +- Zen Lee <53538590+zenlyj@users.noreply.github.com> - Tim Martin - Phil Schaf - Alex Hall @@ -78,13 +79,13 @@ Contributors - emile@crater.logilab.fr - doranid - brendanator -- Zen Lee <53538590+zenlyj@users.noreply.github.com> - Tomas Gavenciak - Tim Paine - Thomas Hisch - Stefan Scherfke - Sergei Lebedev <185856+superbobry@users.noreply.github.com> - Saugat Pachhai (सौगात) +- Robert Hofer <1058012+hofrob@users.noreply.github.com> - Ram Rachum - Pierre-Yves David - Peter Pentchev @@ -100,6 +101,7 @@ Contributors - John Vandenberg - Jacob Bogdanov - Google, Inc. +- Emmanuel Ferdman - David Euresti - David Douard - David Cain @@ -222,3 +224,5 @@ under this name, or we did not manage to find their commits in the history. - carl - alain lefroy - Mark Gius +- Robert Hofer <1058012+hofrob@users.noreply.github.com> +- Emmanuel Ferdman diff --git a/ChangeLog b/ChangeLog index 2e115045c..3e4af6e9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,10 +3,22 @@ astroid's ChangeLog =================== -What's New in astroid 4.0.0? +What's New in astroid 4.1.0? +============================ +Release date: TBA + + + +What's New in astroid 4.0.1? ============================ Release date: TBA + + +What's New in astroid 4.0.0? +============================ +Release date: 2025-10-05 + * Support constraints from ternary expressions in inference. Closes pylint-dev/pylint#9729 diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index 0146d7cb1..9af7a2c82 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -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__ = "4.0.0rc1-dev0" +__version__ = "4.0.0" version = __version__ diff --git a/script/.contributors_aliases.json b/script/.contributors_aliases.json index 5f3b835ea..833e3e46a 100644 --- a/script/.contributors_aliases.json +++ b/script/.contributors_aliases.json @@ -29,6 +29,10 @@ ], "name": "Artem Yurchenko" }, + "53538590+zenlyj@users.noreply.github.com": { + "mails": ["53538590+zenlyj@users.noreply.github.com", "zenlyj97@gmail.com"], + "name": "Zen Lee" + }, "55152140+jayaddison@users.noreply.github.com": { "mails": ["55152140+jayaddison@users.noreply.github.com", "jay@jp-hosting.net"], "name": "James Addison" @@ -86,10 +90,6 @@ "mails": ["c.ringstrom@gmail.com"], "name": "Charlie Ringström" }, - "matusvalo@users.noreply.github.com": { - "mails": ["matusvalo@users.noreply.github.com"], - "name": "Matus Valo" - }, "calen.pennington@gmail.com": { "mails": ["cale@edx.org", "calen.pennington@gmail.com"], "name": "Calen Pennington" @@ -149,6 +149,10 @@ "mails": ["mcorcherojim@bloomberg.net", "mariocj89@gmail.com"], "name": "Mario Corchero" }, + "matusvalo@users.noreply.github.com": { + "mails": ["matusvalo@users.noreply.github.com"], + "name": "Matus Valo" + }, "me@the-compiler.org": { "mails": ["me@the-compiler.org"], "name": "Florian Bruhin", diff --git a/tbump.toml b/tbump.toml index 85b03f65c..5e4ec8221 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/astroid" [version] -current = "4.0.0rc1-dev0" +current = "4.0.0" regex = ''' ^(?P0|[1-9]\d*) \. From f50dc56ee7cd4b0ed1d980c84a7f93dae8bce011 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 5 Oct 2025 10:17:42 -0400 Subject: [PATCH 3/3] Bump astroid to 4.1.0-dev0, update changelog --- astroid/__pkginfo__.py | 2 +- tbump.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index 9af7a2c82..dfe71c36c 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -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__ = "4.0.0" +__version__ = "4.1.0-dev0" version = __version__ diff --git a/tbump.toml b/tbump.toml index 5e4ec8221..42dcf8828 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/astroid" [version] -current = "4.0.0" +current = "4.1.0-dev0" regex = ''' ^(?P0|[1-9]\d*) \.