-
Notifications
You must be signed in to change notification settings - Fork 120
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
🌱 Use pynotify instead of inotify-tools #607
Conversation
/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main |
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.
The change looks good. There are a few other places where inotify is used, could you update them as well?
Also note that pyinotify is even more ancient: its last release was in 2015. I guess it still works well if it's included in the repos.
yes, I will update the other places too |
The inotify-tools last release is from september 2023 and last update in the repo is 7 months old (May 2024). The inotify-tools package is not present in the EPEL10 repo anymore while python3-inotify is in a native repository. This change allows us to remove dependency from EPEL entirely. Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dtantsur The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main |
Good thing about Python inotify packages is that they all just implement ctypes wrappers for libc's functionality and do not try to reinvent the wheel. Hence most of the fixes, barring language incompatibilities down the road, are coming from OS packages, and it is not as relevant to have the python package updating all the time. |
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.
/lgtm
The inotify-tools last release is from september 2023
and last update in the repo is 7 months old (May 2024).
The inotify-tools package is not present in the EPEL10 repo
anymore while python3-inotify is in a native repository.
This change allows us to remove dependency from EPEL entirely.
Signed-off-by: Riccardo Pittau elfosardo@gmail.com
Closes #605