-
-
Notifications
You must be signed in to change notification settings - Fork 747
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
Remove pyinotify dependency #3942
Conversation
What's our plan for this? Just removing this dependency without any other changes will break linux pack (file watch sensor) out of the box, so we shouldn't do that, imo. |
If we want to remove it "correctly", we need to update installer scripts / package post install script to correctly create virtual environment for those packages (IIRC, we don't do that right now). We have also been going back and forth on this for a while now - at first, core and linux packages were not part of standard installation package and they were installed from Exchange, now they are. In theory, it shouldn't matter how those core / default packages are installed, as long as it's transparent to the end user and packages are always installed no matter what installation method user uses. In short - I am for removing this dependency, but only if and when we found better way to mange installation of it (e.g. virtualenv creation for {core,linux} in post install or similar). /cc @LindsayHill |
I should have pointed out that the only reason for this PR was to check if the change triggers something in our CI process.
yep, we need to. I don't really see why core or linux packs should be any different from other packs. |
Actually, in light of recent discussion in regards to the future of pack management, I'd say that core and linux pack should be also installed via pack management routine i.e. via API. This would ensure that venv of all the packs is in order and will allow a user to depend on a particular version of core pack if the need arise. |
Running
Disagree. Add here air-gapped installation requirements, where users don't have immediate access to StackStorm exchange-like resources. In short, the easy check is if it's done right: installing (BTW think about our friends who ship a product that has pack install in postinst which requires 6GB of memory for pip compilation, - that's a classic example of doing it wrong in product deployment design). |
Superceded by #4145. |
👍 |
Resolves #3934