-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Breaking Change from Minor Release in aws-sdk-core
from 3.198.0 to latest
#3060
Comments
I'm not able to reproduce this. My script output is:
(minor ruby version shouldn't matter here) and my script is:
Based on a warning I see running this in Ruby 3+, is it possible that you don't have bigdecimal available? Try adding bigdecimal to your gemfile? |
Tried this but still fails |
Can you try upgrading your ruby version or cleaning your gem environment? |
The code it's ultimately failing on is this:
This file should exist in the latest core - it should look for "cbor_engine". My best guess is that maybe you are monkey patching or messing with load paths and it can't find this? Is Another thing to try is change the gem source code locally to do a print statement or byebug statement here and check the load paths and presence of this file. Since you are the only one to report this and I can't reproduce it, it's likely something environment related. |
I tried executing the same script with the official ruby 2.7 Docker image and it showed no errors. I guess it has to be something to do with the packages in our image but I'm not exactly sure why it is failing with the SDK version. we are building the Docker file similar to this
Then at the runtime run In this environment the SDK fails with the cbor lib location error. Appreciate if you can point out anything we are doing wrong here @mullermp. But I'll be closing this issue for now and thank you for the support given. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
We are using inline bundler with the following gems
The
aws-sdk-core
gem version later than 3.198.0 there is a CBOR library compatibility error.Expected Behavior
There shouldn't be any breaking changes from
3.198.0
to later minor releasesCurrent Behavior
When the inline script is executed it generates the following error
Reproduction Steps
Run a inline script with both
aws-sdk-core
aws-sdk-ssm
in bundler 2.1.4Possible Solution
We temporarily fixed this by locking the version on the script. But this is causing some other BAU to not function as expected.
Additional Information/Context
We expect to have a minor release compatibility over the versions
Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version
aws-sdk-core
Environment details (Version of Ruby, OS environment)
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux-musl]
The text was updated successfully, but these errors were encountered: