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.2, update changelog #2343

Merged
merged 1 commit into from
Dec 12, 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
8 changes: 7 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ Release date: TBA



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



What's New in astroid 3.0.2?
============================
Release date: 2023-12-12

* Avoid duplicate inference results for some uses of ``typing.X`` constructs like
``Tuple[Optional[int], ...]``. This was causing pylint to occasionally omit
messages like ``deprecated-typing-alias``.
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.1.0-dev0"
__version__ = "3.0.2"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't worry; the tagged 3.0.1 went out with this correctly as 3.0.1. This was a mistake where instead of amending the merge commit to main, I added a commit to the maintenance branch as discussed here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be two commits one with each version then we rebase ? Approving because you probably also thougth of something that work :)

Copy link
Member Author

@jacobtylerwalls jacobtylerwalls Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mistake already happened two months ago. There shouldn't have been "3.1.0-dev0" on this branch at all, so this squash merge will fix a bug. You might be thinking of going from 3.0.2 -> 3.1.0-dev0 on the main branch.

version = __version__
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.1.0-dev0"
current = "3.0.2"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down