Bump astroid to 4.0.0, update changelog
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 393b38b..7d7b867 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt
@@ -14,8 +14,8 @@ Maintainers ----------- - Pierre Sassoulas <pierre.sassoulas@gmail.com> -- Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> - Jacob Walls <jacobtylerwalls@gmail.com> +- Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> - Marc Mueller <30130371+cdce8p@users.noreply.github.com> - Hippo91 <guillaume.peillex@gmail.com> - Bryce Guinta <bryce.paul.guinta@gmail.com> @@ -47,6 +47,7 @@ - Calen Pennington <calen.pennington@gmail.com> - Antonio <antonio@zoftko.com> - Akhil Kamat <akhil.kamat@gmail.com> +- Zen Lee <53538590+zenlyj@users.noreply.github.com> - Tim Martin <tim@asymptotic.co.uk> - Phil Schaf <flying-sheep@web.de> - Alex Hall <alex.mojaki@gmail.com> @@ -78,13 +79,13 @@ - emile@crater.logilab.fr <emile@crater.logilab.fr> - doranid <ddandd@gmail.com> - brendanator <brendan.maginnis@gmail.com> -- Zen Lee <53538590+zenlyj@users.noreply.github.com> - Tomas Gavenciak <gavento@ucw.cz> - Tim Paine <t.paine154@gmail.com> - Thomas Hisch <t.hisch@gmail.com> - Stefan Scherfke <stefan@sofa-rockers.org> - Sergei Lebedev <185856+superbobry@users.noreply.github.com> - Saugat Pachhai (सौगात) <suagatchhetri@outlook.com> +- Robert Hofer <1058012+hofrob@users.noreply.github.com> - Ram Rachum <ram@rachum.com> - Pierre-Yves David <pierre-yves.david@logilab.fr> - Peter Pentchev <roam@ringlet.net> @@ -100,6 +101,7 @@ - John Vandenberg <jayvdb@gmail.com> - Jacob Bogdanov <jacob@bogdanov.dev> - Google, Inc. <no-reply@google.com> +- Emmanuel Ferdman <emmanuelferdman@gmail.com> - David Euresti <github@euresti.com> - David Douard <david.douard@logilab.fr> - David Cain <davidjosephcain@gmail.com> @@ -222,3 +224,5 @@ - carl - alain lefroy - Mark Gius +- Robert Hofer <1058012+hofrob@users.noreply.github.com> +- Emmanuel Ferdman <emmanuelferdman@gmail.com>
diff --git a/ChangeLog b/ChangeLog index 2e11504..3e4af6e 100644 --- a/ChangeLog +++ b/ChangeLog
@@ -3,10 +3,22 @@ =================== -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 0146d7c..9af7a2c 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 5f3b835..833e3e4 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 85b03f6..5e4ec82 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 = ''' ^(?P<major>0|[1-9]\d*) \.