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
prepare for supporting Ruby 3.2 runtime coming end of Q2 2023 #12004
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @theRocket 👍
Support for Ruby 3.2 was added to the AWS Lambda SDKs in the last few hours aws/aws-sdk-php@499e7d4#diff-fdc52ad29302e54a531771d88ac2c6c4b9f505cfc3d9b581ed9107032e8fc8c1. I assume CloudFormation is to come next, then they will push out a blog post. |
Ah, now I see that issue #12025 is already addressed in this PR. (It apparently didn't show up when I searched for the issue.) Close that dupe issue just now. Thanks for including this. |
I'm a bit confused. I'm running version 3.33.0 which includes this, but there's no change. I still get warned about unsupported runtime of
Shouldn't ruby3.2 be in the allowed values list now and this warning be gone? |
@belucid see:
It means that global installation of the Framework falls back into one locally installed in folder in which you run command. And you can see that over there it's quite outdated version installed (v2.25.2) |
Yep @medikoo I had this hanging around in my ENV: |
I tested deploying with this version today, before and after updating serverless to latest, and the warning went away. |
I also had a positive test after fixing my upgrade. All seems well with this patch. |
@medikoo Can I ask, I have a serverless version installed like this:
However, when running it still shows this error
I don't understand why, please help me :( |
@namdv-1375 It's also not clear for me why you get this error. Please report a bug providing full information as requested in issue template. (still note I'm not longer at Serverless Inc, and I don't have any possibilities to accept new fixes for the framework, but hopefully current maintainers will resolve it for you shortly) |
Ruby 2.7 went EOL in the ruby community on March 30, 2023. AWS has already announced deprecation for Ruby 2.7 on November 15, 2023.
According to this comment from March 28th, 2023 on the AWS Lambda Base Images repo, Ruby 3.2 support is coming the end of this month:
I have been deploying an image-based solution to test my lambdas. As soon at this runtime is supported, the Serverless framework will throw a warning if I try to deploy this runtime.
Can we prep this MR to be ready for that day?