Conversation
alexrashed
left a comment
There was a problem hiding this comment.
Thanks for jumping on this and updating this proactively! The pipeline is still red, and I think that's because with your changes you are dropping a hidden import that is necessary.
alexrashed
left a comment
There was a problem hiding this comment.
Nice, thanks for fixing the imports!
| @@ -1,3 +1,3 @@ | |||
| pyinstaller | |||
| localstack==4.13.1 | |||
| localstack==4.13.2.dev36 | |||
There was a problem hiding this comment.
question: How do you plan to get rid of this exact pin here to make sure that this is using the proper version after the next release of localstack?
There was a problem hiding this comment.
I'll change the release pipeline in pro to publish the standalone cli + make the pyinstaller build depend on it.
For this change we'd have two options: revert this to 4.13.1, but then the build will fail on main, or keep this change until the actual next localstack release comes out.
There was a problem hiding this comment.
But wouldn't this break the pipeline here in main after the merge of this PR?
There was a problem hiding this comment.
I've edited the message before I got your response. Is this a response to what I planned before (reverting) or to what I've changed it to?
There was a problem hiding this comment.
If it's to the new one, how would it break on main if we keep the PR as-is? 🤔
There was a problem hiding this comment.
I am confused by your message edits to be honest. So will this PR be merged at the time of the release? If so how does this play in the grand scheme of our release action?
If the PR is merged now, are you okay with breaking main?
Up to you, just want to make sure you are aware of the consequences / have a plan. 😛
There was a problem hiding this comment.
I'll merge this now to match up with the latest dev release state of localstack. The next release will automatically change this to not be on the dev release anymore 👍🏼
Motivation
The pyinstaller build needs some changes to work with the new standalone cli. The old build referenced
localstack_extandlocalstack.pro.coremodules that no longer exist in the newlocalstack_clinamespace.Changes
main.pyentry point to importlocalstack_cliMakefilepyinstaller arguments to uselocalstack_clilocalstack_extandlocalstack.pro.corehooks/hook-localstack_core.pywithhooks/hook-localstack.py