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

Ruby versions for CI visibility #8

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

anmarchenko
Copy link
Member

@anmarchenko anmarchenko commented Aug 18, 2023

Dropped support for rubies older than 2.7 (including jruby 9.2).

Added tests that this gem works with Ruby 3.3 (rc).

@anmarchenko anmarchenko force-pushed the anmarchenko/drop_ruby_26_support branch from 07f1038 to 145b324 Compare August 18, 2023 12:24
@anmarchenko anmarchenko marked this pull request as ready for review August 18, 2023 13:04
@anmarchenko anmarchenko requested review from a team August 18, 2023 13:04
@@ -236,6 +141,7 @@ volumes:
bundle-3.0:
bundle-3.1:
bundle-3.2:
bundle-3.3:
Copy link
Contributor

Choose a reason for hiding this comment

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

Some volumes for old rubies could be gone as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, thank you

@@ -236,6 +141,7 @@ volumes:
bundle-3.0:
bundle-3.1:
bundle-3.2:
bundle-3.3:
# ADD NEW RUBIES HERE
bundle-jruby-9.2:
bundle-jruby-9.3:
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably worth checking those jrubies.

I think jruby-9.2.21.0 -> ruby 2.5.x, jruby-9.3.9.0 -> ruby 2.6.x and jruby:9.4.0.0 -> ruby 2.7.x.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, jruby 9.4 is ruby 2.7+, so I guess I would need to replace 9.3 with 9.4 here

@@ -2,14 +2,6 @@
# Remove from this list as you refactor files.
---
ignore:
- lib/datadog/ci/contrib/minitest/integration.rb:
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be a bit tricky during the migration. Where user is installing ddtrace with older rubies where safe operator could be a breaking change.

Copy link
Member Author

Choose a reason for hiding this comment

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

true, given that we decided to invert dependency for now I need to keep this to make ddtrace-rb specs pass

@anmarchenko anmarchenko merged commit 4e07eb1 into main Aug 21, 2023
4 checks passed
@anmarchenko anmarchenko deleted the anmarchenko/drop_ruby_26_support branch September 6, 2023 08:14
@anmarchenko anmarchenko added this to the 0.1.0 milestone Sep 8, 2023
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.

2 participants