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 required ruby version #4745

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Bump required ruby version #4745

merged 1 commit into from
Jan 16, 2025

Conversation

kenhys
Copy link
Contributor

@kenhys kenhys commented Dec 26, 2024

Which issue(s) this PR fixes:

Fixes #

What this PR does / why we need it:

Raise baseline version of Ruby to 3.2.
fluent-package v5 (LTS) adopts ruby 3.2, so it is reasonable to set minimum version to Ruby 3.2.

NOTE: these kind of changes might be better to apply in v1.19.0

Docs Changes:

https://docs.fluentd.org/quickstart/faq

fluent/fluentd-docs-gitbook#524

Release Note:

N/A

@kenhys kenhys added the pending To be done in the future label Dec 26, 2024
@kenhys kenhys added this to the v1.19.0 milestone Dec 26, 2024
@kenhys
Copy link
Contributor Author

kenhys commented Dec 26, 2024

FYI: related PR.

fluent/fluentd-docs-gitbook#524

@kenhys kenhys changed the title Bump ruby version Bump required ruby version Dec 26, 2024
@kenhys kenhys force-pushed the bump-ruby-version branch 3 times, most recently from ed5ebca to c9a96f6 Compare December 26, 2024 08:46
@Watson1978
Copy link
Contributor

Can you update the version in README ?

- Ruby 2.7 or later

Even though it still actually work with older version of ruby,
it might be better recommending supported Ruby version.

* Ruby 2.7 EOL: 2023-03-31
* Ruby 3.0 EOL: 2024-04-23
* Ruby 3.1 EOL: 2025-03-31

Signed-off-by: Kentaro Hayashi <[email protected]>
@kenhys kenhys force-pushed the bump-ruby-version branch from c9a96f6 to ba5b32f Compare January 16, 2025 02:31
@kenhys
Copy link
Contributor Author

kenhys commented Jan 16, 2025

Thanks, I've fixed it.

Copy link
Contributor

@daipom daipom left a comment

Choose a reason for hiding this comment

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

Thanks!

@daipom daipom removed the pending To be done in the future label Jan 16, 2025
@daipom daipom merged commit b58c3f0 into fluent:master Jan 16, 2025
9 of 10 checks passed
daipom pushed a commit that referenced this pull request Jan 16, 2025
**Which issue(s) this PR fixes**: 
Fixes #

**What this PR does / why we need it**: 
Async v2.0 just supports Ruby 3.1 or above.
When we had been supporting Ruby 2.7 and 3.0, we need async v1.x and
v2.x both.
Related to #4619

Next fluentd version will drop support of Ruby 3.1 or below.
So, now we can remove the codes for async v1.x
Ref. #4745

**Docs Changes**:

**Release Note**:

Signed-off-by: Shizuo Fujita <[email protected]>
daipom pushed a commit that referenced this pull request Jan 16, 2025
**Which issue(s) this PR fixes**: 
Fixes #

**What this PR does / why we need it**: 
Next fluentd version will drop support of Ruby 3.1 or below.
Ref. #4745

So, we can remove the workaround for Ruby 2.7 and 3.0 on macOS that
added at #3579

**Docs Changes**:

**Release Note**:

Signed-off-by: Shizuo Fujita <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants