-
Notifications
You must be signed in to change notification settings - Fork 293
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
Can't use Poetry in mixed runtime #832
Comments
Hey @yusukegoto 👋 Thanks for reporting. Could you provide a minimal reproducible example that I could try testing out on my side? It would be really helpful 🙇 |
@pgrzesik And I found out this happens at least with nodejs18.x. If I update two |
Thanks a lot @yusukegoto 🙇 I'll try to reproduce with your example and will report back 👍 |
Thanks again @yusukegoto. I managed to reproduce the issue and understand what is causing it. The issue stems from the fact that when you don't use I'm honestly not sure about the resolution here. The options I see:
All of these solutions do not sound amazing to be fair, I'm leaning towards checking if all Python functions have the same runtime and if yes, then using that one and erroring out only in case of a mismatch. Of course that would only apply if provider-level runtime is non-python. What do you think @yusukegoto ? |
Are you certain it's a bug?
Are you using the latest plugin release?
Is there an existing issue for this?
Issue description
I got an error from
sls package
command when I mixed runtimes and enabled dockerizePip.This happens with poetry.
Service configuration (serverless.yml) content
I'm using27b70f4d6a7e43fd0e9711bbb56752fee2762901 to get a fixed patch for mixed runtimes.
The text was updated successfully, but these errors were encountered: