From 13e7f693e8e4f93070285f9b5150f9802707a1c0 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 25 Apr 2023 13:34:36 +0200 Subject: [PATCH 1/4] Modify bump_changelog script --- script/bump_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bump_changelog.py b/script/bump_changelog.py index bfd73792dc..a08a1aef10 100644 --- a/script/bump_changelog.py +++ b/script/bump_changelog.py @@ -34,7 +34,7 @@ def main() -> None: if args.verbose: logging.basicConfig(level=logging.DEBUG) logging.debug(f"Launching bump_changelog with args: {args}") - if "dev" in args.version: + if any(s in args.version for s in ("dev", "a", "b")): return with open(DEFAULT_CHANGELOG_PATH, encoding="utf-8") as f: content = f.read() From c7e195e694ca730c0d1906ab23245ff82995f828 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 25 Apr 2023 13:38:24 +0200 Subject: [PATCH 2/4] Update contributors --- CONTRIBUTORS.txt | 3 ++- script/.contributors_aliases.json | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 685f8a0be5..3d6ea1fcb4 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -40,7 +40,7 @@ Contributors - David Gilman - Julien Jehannet - Calen Pennington -- Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> +- Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> - Hugo van Kemenade - Tim Martin - Phil Schaf @@ -186,6 +186,7 @@ Contributors - Alexander Scheel - Alexander Presnyakov - Ahmed Azzaoui +- alm Date: Tue, 25 Apr 2023 13:43:46 +0200 Subject: [PATCH 3/4] Bump astroid to 3.0.0a1, 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 c8bc8f5fb2..7225e76d08 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__ = "2.16.0dev0" +__version__ = "3.0.0a1" version = __version__ diff --git a/tbump.toml b/tbump.toml index 258aa63573..339cf83969 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/astroid" [version] -current = "2.16.0dev0" +current = "3.0.0a1" regex = ''' ^(?P0|[1-9]\d*) \. From 9483df19598343fd98e88f5504424f8981ed1a87 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 25 Apr 2023 13:52:18 +0200 Subject: [PATCH 4/4] Upgrade the version to 3.0.0a2-dev0 following the 3.0.0a1 release --- 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 7225e76d08..62c66e29d9 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__ = "3.0.0a1" +__version__ = "3.0.0a2-dev0" version = __version__ diff --git a/tbump.toml b/tbump.toml index 339cf83969..ed88145820 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/pylint-dev/astroid" [version] -current = "3.0.0a1" +current = "3.0.0a2-dev0" regex = ''' ^(?P0|[1-9]\d*) \.