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

Remove now unused year member from version.py #87543

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Jan 24, 2024

We changed copyright to use "present" for the current year, so we no longer need to hardcode this and (like now) forget to bump it yearly.

Technically it breaks compat by removing year from the Engine.get_version_info() dictionary.
I think it's in the scope of acceptable changes for 4.3, but shouldn't be cherry-picked to 4.2.x (instead, we'll just bump the year to 2024).

Non-compat breaking version for 3.x: #87579

@akien-mga akien-mga force-pushed the version-remove-year branch from 6aeb73c to fe7832e Compare January 24, 2024 20:15
@akien-mga akien-mga requested a review from a team as a code owner January 24, 2024 20:15
@akien-mga akien-mga force-pushed the version-remove-year branch 3 times, most recently from 53be582 to ee2e45e Compare January 24, 2024 22:02
@akien-mga akien-mga force-pushed the version-remove-year branch 2 times, most recently from 0cc49e9 to 72f64dd Compare January 24, 2024 22:18
akien-mga added a commit to akien-mga/godot that referenced this pull request Jan 25, 2024
Seems like we missed this one when changing the copyright statements
to use `present` instead of the hardcoded `year`.

And backport other minor improvements from godotengine#87543.
@akien-mga akien-mga requested a review from YuriSizov January 25, 2024 12:39
Copy link
Contributor

@YuriSizov YuriSizov left a comment

Choose a reason for hiding this comment

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

I support the removal, and I think this covers everything that needed to be updated.

We changed copyright to use "present" for the current year, so we no
longer need to hardcode this and (like now) forget to bump it yearly.
@akien-mga akien-mga force-pushed the version-remove-year branch from 72f64dd to e0dc233 Compare January 25, 2024 14:08
@YuriSizov YuriSizov merged commit 474011a into godotengine:master Jan 25, 2024
16 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

akien-mga added a commit to akien-mga/godot that referenced this pull request Jan 30, 2024
Seems like we missed this one when changing the copyright statements
to use `present` instead of the hardcoded `year`.

And backport other minor improvements from godotengine#87543.

(cherry picked from commit f61e249)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants