datadog-api-client-ruby icon indicating copy to clipboard operation
datadog-api-client-ruby copied to clipboard

uuid frozen string warnings with ruby 3.4

Open mscoutermarsh opened this issue 10 months ago • 8 comments

We're running:

  • 2.29.1 and Ruby 3.4.1

And our logs are filled with:

uuidtools.rb:700: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)

I realize this isn't technically an issue with the Datadog client. But, since uuidtools has not been updated in 5 years. It seems most likely the fix would be using something from Ruby's standard library to replace the functionality.

mscoutermarsh avatar Jan 28 '25 19:01 mscoutermarsh

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

github-actions[bot] avatar Feb 28 '25 00:02 github-actions[bot]

We're also seeing this. We patched it upstream. That change is merged but not in a real release yet, so we tried to vendor uuidtools latest in our app (2.2.0.GIT_SHA) and were blocked on the fact that this DataDog gem depends on < 2.2.0.

issyl0 avatar Mar 10 '25 14:03 issyl0

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

github-actions[bot] avatar Apr 10 '25 00:04 github-actions[bot]

Also seeing this. uuidtools now has a v3 which claims to fix the frozen literals, so it should be a simple case of upgrading the gem dependency

asilano avatar Apr 11 '25 12:04 asilano

#2320 would fix this... be good to get it through if possible

asilano avatar Apr 17 '25 14:04 asilano

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

github-actions[bot] avatar May 18 '25 00:05 github-actions[bot]

Fixed by #2320

Just noting for anyone searching later.

asilano avatar May 19 '25 14:05 asilano

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.

If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

github-actions[bot] avatar Jun 19 '25 00:06 github-actions[bot]